ACS ACR89U-A1 User Manual Page 32

  • Download
  • Add to my manuals
  • Print
  • Page
    / 78
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 31
ACR89U-A1 Application Programming Interface info@acs.com.hk
Version 1.01
www.acs.com.hk
Page 32 of 78
Data Member Value Description
TwoOrOneStopBit BOOLEAN
2 or 1 stop bit mode:
TRUE – 2 stop bit mode
FALSE 1 stop bit mode
Table 9: RS232_ParamDataType Data Structure
4.8.2. Functions
4.8.2.1. RS232_Config
This function sets the parameters of RS232 port. Before using this function to set parameter, the
RS232 port should be in the state of closed, if not RS232_Config will return false.
[RS232.h]
BOOLEAN RS232_Config (
const RS232_ParamDataType* Param );
Parameters:
Param [in] Storage space of the parameter data
Returns:
BOOLEAN This function returns TRUE/FALSE of the state of successfully setting parameter of
RS232.
4.8.2.2. RS232_OpenPort
This function opens RS232 port. Before using this function, the RS232 port should be in the state of
closed, if not RS232_OpenPort will return false.
[RS232.h]
BOOLEAN RS232_OpenPort (
UINT32* pulHandle );
Parameters:
pulHandle [out] Storage space of the handle for control RS232 port
Returns:
BOOLEAN This function returns TRUE/FALSE of the state of successfully open RS232 port.
4.8.2.3. RS232_ClosePort
This function closes RS232 port.
[RS232.h]
BOOLEAN RS232_ClosePort (
UINT32 ulHandle );
Parameters:
ulHandle [in] The handle value gets from RS232_OpenPort. If the value is not from
Page view 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 77 78

Comments to this Manuals

No comments