Hardware Module for SMDK412

73M1822/73M1922 Hardware Module for SMDK412 User Guide UG_1x22_054
10 Rev. 1.1
3.6.1 TSC_1X22_MAFE_GET_RS232
Description
Retrieves the current status of the RS232 RTS, DTS, CTR and DTR pins.
Prototype
int ioctl (
int fd,
int TSC_1X22_MAFE_GET_RS232,
void );
Parameters
Data Type Name Description
int
fd
Channel descriptor.
int
TSC_1X22_MAFE_GET_RS232
I/O control identifier for this operation.
void
NA
Return Values
Data Type Description
unsigned char
See RS232 #defines.
3.6.2 TSC_1X22_MAFE_SET_RS232
Description
Sets the current status of the RS232 RTS, DTS, CTR and DTR pins and then returns the resulting status
via call to TSC_1X22_MAFE_GET_RS232.
Prototype
int ioctl (
int fd,
int TSC_1X22_MAFE_SET_RS232,
unsigned char RS232);
Parameters
Data Type Name Description
int
fd
Channel descriptor.
int
TSC_1X22_MAFE_SET_RS232
I/O control identifier for this operation.
unsigned char
RS232
Bits to set. See RS232 #defines.
Return Values
Data Type Description
unsigned char
See
.