rstransceiver 2.1.0.0
RS Transceiver Registers Settings

Settings for registers of RS Transceiver Click driver. More...

Macros

#define RSTRANSCEIVER_NO_PIN_BIT_MASK   0x00
 RS Transceiver pin bit mask values.
 
#define RSTRANSCEIVER_PIN_0_BIT_MASK   0x01
 
#define RSTRANSCEIVER_PIN_1_BIT_MASK   0x02
 
#define RSTRANSCEIVER_PIN_2_BIT_MASK   0x04
 
#define RSTRANSCEIVER_PIN_3_BIT_MASK   0x08
 
#define RSTRANSCEIVER_ALL_PINS_BIT_MASK   0x0F
 
#define RSTRANSCEIVER_OUTPUT_DIRECTION   0x00
 RS Transceiver I/O pin direction values.
 
#define RSTRANSCEIVER_INPUT_DIRECTION   0x01
 
#define RSTRANSCEIVER_SPECIAL_FUNC_P3_AS_INT   0x80
 RS Transceiver special function values.
 
#define RSTRANSCEIVER_SPECIAL_FUNC_PU_DISABLED   0x40
 
#define RSTRANSCEIVER_SLEW_DISABLE   0x00
 RS Transceiver slew limiting values.
 
#define RSTRANSCEIVER_SLEW_ENABLE   0x01
 
#define RSTRANSCEIVER_OP_MODE_LOOPBACK   0x00
 RS Transceiver operation mode selection values.
 
#define RSTRANSCEIVER_OP_MODE_RS232   0x01
 
#define RSTRANSCEIVER_OP_MODE_HALF_DUPLEX   0x02
 
#define RSTRANSCEIVER_OP_MODE_FULL_DUPLEX   0x03
 
#define RSTRANSCEIVER_OP_MODE_PIN_BIT_MASK   0x09
 
#define RSTRANSCEIVER_DIR_DISABLE   0x00
 RS Transceiver DIR1 pin direction values.
 
#define RSTRANSCEIVER_DIR_T1_EN   0x01
 
#define RSTRANSCEIVER_DIR_T1_EN_R1_DIS   0x01
 
#define RSTRANSCEIVER_DIR_PIN_BIT_MASK   0x0E
 
#define RSTRANSCEIVER_TERM_DISABLE   0x00
 RS Transceiver receiver termination values.
 
#define RSTRANSCEIVER_TERM_ENABLE   0x01
 
#define RSTRANSCEIVER_TERM_DIS_PIN_BIT_MASK   0x07
 
#define RSTRANSCEIVER_TERM_EN_PIN_BIT_MASK   0x08
 
#define RSTRANSCEIVER_TX_DRV_BUFFER_SIZE   100
 RS Transceiver driver buffer size.
 
#define RSTRANSCEIVER_RX_DRV_BUFFER_SIZE   300
 
#define RSTRANSCEIVER_DEVICE_ADDRESS   0x41
 RS Transceiver device address setting.
 

Detailed Description

Settings for registers of RS Transceiver Click driver.

Macro Definition Documentation

◆ RSTRANSCEIVER_ALL_PINS_BIT_MASK

#define RSTRANSCEIVER_ALL_PINS_BIT_MASK   0x0F

◆ RSTRANSCEIVER_DEVICE_ADDRESS

#define RSTRANSCEIVER_DEVICE_ADDRESS   0x41

RS Transceiver device address setting.

Specified setting for device slave address selection of RS Transceiver Click driver.

◆ RSTRANSCEIVER_DIR_DISABLE

#define RSTRANSCEIVER_DIR_DISABLE   0x00

RS Transceiver DIR1 pin direction values.

Specified DIR1 pin direction values of RS Transceiver Click driver.

◆ RSTRANSCEIVER_DIR_PIN_BIT_MASK

#define RSTRANSCEIVER_DIR_PIN_BIT_MASK   0x0E

◆ RSTRANSCEIVER_DIR_T1_EN

#define RSTRANSCEIVER_DIR_T1_EN   0x01

◆ RSTRANSCEIVER_DIR_T1_EN_R1_DIS

#define RSTRANSCEIVER_DIR_T1_EN_R1_DIS   0x01

◆ RSTRANSCEIVER_INPUT_DIRECTION

#define RSTRANSCEIVER_INPUT_DIRECTION   0x01

◆ RSTRANSCEIVER_NO_PIN_BIT_MASK

#define RSTRANSCEIVER_NO_PIN_BIT_MASK   0x00

RS Transceiver pin bit mask values.

Specified pin bit mask values of RS Transceiver Click driver.

◆ RSTRANSCEIVER_OP_MODE_FULL_DUPLEX

#define RSTRANSCEIVER_OP_MODE_FULL_DUPLEX   0x03

◆ RSTRANSCEIVER_OP_MODE_HALF_DUPLEX

#define RSTRANSCEIVER_OP_MODE_HALF_DUPLEX   0x02

◆ RSTRANSCEIVER_OP_MODE_LOOPBACK

#define RSTRANSCEIVER_OP_MODE_LOOPBACK   0x00

RS Transceiver operation mode selection values.

Specified operation mode selection values of RS Transceiver Click driver.

◆ RSTRANSCEIVER_OP_MODE_PIN_BIT_MASK

#define RSTRANSCEIVER_OP_MODE_PIN_BIT_MASK   0x09

◆ RSTRANSCEIVER_OP_MODE_RS232

#define RSTRANSCEIVER_OP_MODE_RS232   0x01

◆ RSTRANSCEIVER_OUTPUT_DIRECTION

#define RSTRANSCEIVER_OUTPUT_DIRECTION   0x00

RS Transceiver I/O pin direction values.

Specified I/O pin direction values of RS Transceiver Click driver.

◆ RSTRANSCEIVER_PIN_0_BIT_MASK

#define RSTRANSCEIVER_PIN_0_BIT_MASK   0x01

◆ RSTRANSCEIVER_PIN_1_BIT_MASK

#define RSTRANSCEIVER_PIN_1_BIT_MASK   0x02

◆ RSTRANSCEIVER_PIN_2_BIT_MASK

#define RSTRANSCEIVER_PIN_2_BIT_MASK   0x04

◆ RSTRANSCEIVER_PIN_3_BIT_MASK

#define RSTRANSCEIVER_PIN_3_BIT_MASK   0x08

◆ RSTRANSCEIVER_RX_DRV_BUFFER_SIZE

#define RSTRANSCEIVER_RX_DRV_BUFFER_SIZE   300

◆ RSTRANSCEIVER_SLEW_DISABLE

#define RSTRANSCEIVER_SLEW_DISABLE   0x00

RS Transceiver slew limiting values.

Specified slew limiting values of RS Transceiver Click driver.

◆ RSTRANSCEIVER_SLEW_ENABLE

#define RSTRANSCEIVER_SLEW_ENABLE   0x01

◆ RSTRANSCEIVER_SPECIAL_FUNC_P3_AS_INT

#define RSTRANSCEIVER_SPECIAL_FUNC_P3_AS_INT   0x80

RS Transceiver special function values.

Specified special function values of RS Transceiver Click driver.

◆ RSTRANSCEIVER_SPECIAL_FUNC_PU_DISABLED

#define RSTRANSCEIVER_SPECIAL_FUNC_PU_DISABLED   0x40

◆ RSTRANSCEIVER_TERM_DIS_PIN_BIT_MASK

#define RSTRANSCEIVER_TERM_DIS_PIN_BIT_MASK   0x07

◆ RSTRANSCEIVER_TERM_DISABLE

#define RSTRANSCEIVER_TERM_DISABLE   0x00

RS Transceiver receiver termination values.

Specified receiver termination values of RS Transceiver Click driver.

◆ RSTRANSCEIVER_TERM_EN_PIN_BIT_MASK

#define RSTRANSCEIVER_TERM_EN_PIN_BIT_MASK   0x08

◆ RSTRANSCEIVER_TERM_ENABLE

#define RSTRANSCEIVER_TERM_ENABLE   0x01

◆ RSTRANSCEIVER_TX_DRV_BUFFER_SIZE

#define RSTRANSCEIVER_TX_DRV_BUFFER_SIZE   100

RS Transceiver driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.