Type and structure definition reference, Rs232 #defines, Rx and tx fifo status #defines – Maxim Integrated 73M1822/73M1922 Hardware Module for SMDK412 User Manual
Page 30: Tsc_1x22_reg_ioctl_t, 10 tsc_1x22_reg_t, Ee rs232 #defines, Tsc_1x22_reg_t

73M1822/73M1922 Hardware Module for SMDK412 User Guide
UG_1x22_054
30
Rev. 1.1
4.7 Type and Structure Definition Reference
This section contains the type definitions, reference of data type and structure used in the driver.
4.7.1 RS232 #defines
Description
#defines used in the TSC_1X22_MAFE_GET_RS232 and TSC_1X22_MAFE_SET_RS232 IOCTLs.
Prototype
#define RS232_DTR_O 0x40
#define RS232_RTS_O 0x02
#define RS232_DSR_I 0x80
#define RS232_CTS_I 0x01
4.8 Rx and Tx FIFO status #defines
Description
#defines used in the TSC_1X22_MAFE_GET_RX_STAT and TSC_1X22_MAFE_GET_TX_STAT IOCTLs.
Prototype
#define FIFO_FF 0x0008
#define FIFO_AF 0x0004
#define FIFO_AE 0x0002
#define FIFO_EE 0x0001
4.9 TSC_1X22_REG_IOCTL_t
Description
Structure used in the TSC_1X22_MAFE_RD_REG_NB, TSC_1X22_MAFE_RD_REG_BL,
TSC_1X22_MAFE_WR_REG_NB and TSC_1X22_MAFE_WR_REG_BL IOCTLs.
Prototype
typedef struct
{
unsigned char reg;
unsigned char dat;
} TSC_1X22_REG_IOCTL_t;
4.10 TSC_1X22_REG_t
Description
Structure used by the functions.
Prototype
typedef struct
{
unsigned char reg;
unsigned char dat;
} TSC_1X22_REG_t;