rs232toi2c 2.0.0.0
RS232 to I2C Registers Settings

Settings for registers of RS232 to I2C Click driver. More...

Macros

#define RS232TOI2C_GPIO_SUB_CMD_DIR   0x01
 RS232 to I2C GPIO config.
 
#define RS232TOI2C_GPIO_SUB_CMD_PULL_UP   0x02
 
#define RS232TOI2C_GPIO_SUB_CMD_OPEN_DRAIN   0x03
 
#define RS232TOI2C_GPIO_SUB_CMD_DEBOUNCE   0x04
 
#define RS232TOI2C_GPIO_SUB_CMD_INTERRUPT   0x05
 
#define RS232TOI2C_GPIO_SUB_CMD_RESET_DEFAULT   0x0A
 
#define RS232TOI2C_GPIO_MASK_NONE   0x00
 RS232 to I2C GPIO bit mask.
 
#define RS232TOI2C_GPIO_0_MASK   0x01
 
#define RS232TOI2C_GPIO_1_MASK   0x02
 
#define RS232TOI2C_GPIO_2_MASK   0x04
 
#define RS232TOI2C_GPIO_MASK_ALL   0x07
 
#define RS232TOI2C_UART_SUB_CMD_DATABITS   0x01
 RS232 to I2C UART config sub cmd.
 
#define RS232TOI2C_UART_SUB_CMD_PARITY   0x02
 
#define RS232TOI2C_UART_SUB_CMD_STOP_BITS   0x03
 
#define RS232TOI2C_UART_SUB_CMD_FLOW_CONTROL   0x04
 
#define RS232TOI2C_UART_SUB_CMD_RESET_FIFO   0x06
 
#define RS232TOI2C_UART_SUB_CMD_LOOPBACK   0x08
 
#define RS232TOI2C_UART_SUB_CMD_RESET_DEFAULT   0x0A
 
#define RS232TOI2C_UART_DATABITS_5   0x00
 RS232 to I2C UART config databits.
 
#define RS232TOI2C_UART_DATABITS_6   0x01
 
#define RS232TOI2C_UART_DATABITS_7   0x02
 
#define RS232TOI2C_UART_DATABITS_8   0x03
 
#define RS232TOI2C_UART_DATABITS_9   0x07
 
#define RS232TOI2C_UART_PARITY_NONE   0x00
 RS232 to I2C UART config parity.
 
#define RS232TOI2C_UART_PARITY_ODD   0x03
 
#define RS232TOI2C_UART_PARITY_EVEN   0x02
 
#define RS232TOI2C_UART_STOP_BIT_1   0x00
 RS232 to I2C UART config stop bit.
 
#define RS232TOI2C_UART_STOP_BIT_2   0x01
 
#define RS232TOI2C_UART_FLOW_CONTROL_NONE   0x00
 RS232 to I2C UART config flow control.
 
#define RS232TOI2C_UART_FLOW_CONTROL_HARDWARE   0x01
 
#define RS232TOI2C_UART_FLOW_CONTROL_SOFTWARE   0x02
 
#define RS232TOI2C_UART_RESET_TX_FIFO   0x01
 RS232 to I2C UART config reset fifo.
 
#define RS232TOI2C_UART_RESET_RX_FIFO   0x02
 
#define RS232TOI2C_UART_LOOPBACK_OFF   0x00
 RS232 to I2C UART config loopback.
 
#define RS232TOI2C_UART_LOOPBACK_ON   0x01
 
#define RS232TOI2C_UART_DISABLE_RX_TX   0x00
 RS232 to I2C UART enable bits.
 
#define RS232TOI2C_UART_ENABLE_RX   0x01
 
#define RS232TOI2C_UART_ENABLE_TX   0x02
 
#define RS232TOI2C_UART_ENABLE_RX_TX   0x03
 
#define RS232TOI2C_UART_STATUS_PARITY_ERROR   0x01
 RS232 to I2C uart status bit mask.
 
#define RS232TOI2C_UART_STATUS_FRAME_ERROR   0x02
 
#define RS232TOI2C_UART_STATUS_OVERRUN_ERROR   0x04
 
#define RS232TOI2C_UART_STATUS_BREAK_RECEIVED   0x08
 
#define RS232TOI2C_UART_STATUS_RX_EMPTY   0x20
 
#define RS232TOI2C_UART_STATUS_TX_FULL   0x40
 
#define RS232TOI2C_UART_STATUS_TX_EMPTY   0x80
 
#define RS232TOI2C_INTERRUPT_TX_RX_ERROR   0x01
 RS232 to I2C enable interrupt bit mask.
 
#define RS232TOI2C_INTERRUPT_RX_FULL   0x02
 
#define RS232TOI2C_INTERRUPT_RX_WATERMARK   0x04
 
#define RS232TOI2C_INTERRUPT_RX_DATA   0x08
 
#define RS232TOI2C_INTERRUPT_TX_FULL   0x20
 
#define RS232TOI2C_INTERRUPT_TX_WATERMARK   0x40
 
#define RS232TOI2C_INTERRUPT_TX_EMPTY   0x80
 
#define RS232TOI2C_EEPROM_PAGE_SIZE   32
 RS232 to I2C EEPROM range values.
 
#define RS232TOI2C_EEPROM_PAGE_NUM   16
 
#define RS232TOI2C_EEPROM_SIZE   512
 
#define RS232TOI2C_CMD_ACCESS_BIT   0x08
 RS232 to I2C CMD Access bit mask.
 
#define RS232TOI2C_SET_DEV_ADDR_A2_GND   0x53
 RS232 to I2C device address setting.
 
#define RS232TOI2C_SET_DEV_ADDR_A2_VCC   0x57
 

Detailed Description

Settings for registers of RS232 to I2C Click driver.

Macro Definition Documentation

◆ RS232TOI2C_CMD_ACCESS_BIT

#define RS232TOI2C_CMD_ACCESS_BIT   0x08

RS232 to I2C CMD Access bit mask.

Specified command access bit mask of RS232 to I2C Click driver.

◆ RS232TOI2C_EEPROM_PAGE_NUM

#define RS232TOI2C_EEPROM_PAGE_NUM   16

◆ RS232TOI2C_EEPROM_PAGE_SIZE

#define RS232TOI2C_EEPROM_PAGE_SIZE   32

RS232 to I2C EEPROM range values.

Specified EEPROM range values of RS232 to I2C Click driver.

◆ RS232TOI2C_EEPROM_SIZE

#define RS232TOI2C_EEPROM_SIZE   512

◆ RS232TOI2C_GPIO_0_MASK

#define RS232TOI2C_GPIO_0_MASK   0x01

◆ RS232TOI2C_GPIO_1_MASK

#define RS232TOI2C_GPIO_1_MASK   0x02

◆ RS232TOI2C_GPIO_2_MASK

#define RS232TOI2C_GPIO_2_MASK   0x04

◆ RS232TOI2C_GPIO_MASK_ALL

#define RS232TOI2C_GPIO_MASK_ALL   0x07

◆ RS232TOI2C_GPIO_MASK_NONE

#define RS232TOI2C_GPIO_MASK_NONE   0x00

RS232 to I2C GPIO bit mask.

Specified GPIO bit mask of RS232 to I2C Click driver.

◆ RS232TOI2C_GPIO_SUB_CMD_DEBOUNCE

#define RS232TOI2C_GPIO_SUB_CMD_DEBOUNCE   0x04

◆ RS232TOI2C_GPIO_SUB_CMD_DIR

#define RS232TOI2C_GPIO_SUB_CMD_DIR   0x01

RS232 to I2C GPIO config.

Specified GPIO config of RS232 to I2C Click driver.

◆ RS232TOI2C_GPIO_SUB_CMD_INTERRUPT

#define RS232TOI2C_GPIO_SUB_CMD_INTERRUPT   0x05

◆ RS232TOI2C_GPIO_SUB_CMD_OPEN_DRAIN

#define RS232TOI2C_GPIO_SUB_CMD_OPEN_DRAIN   0x03

◆ RS232TOI2C_GPIO_SUB_CMD_PULL_UP

#define RS232TOI2C_GPIO_SUB_CMD_PULL_UP   0x02

◆ RS232TOI2C_GPIO_SUB_CMD_RESET_DEFAULT

#define RS232TOI2C_GPIO_SUB_CMD_RESET_DEFAULT   0x0A

◆ RS232TOI2C_INTERRUPT_RX_DATA

#define RS232TOI2C_INTERRUPT_RX_DATA   0x08

◆ RS232TOI2C_INTERRUPT_RX_FULL

#define RS232TOI2C_INTERRUPT_RX_FULL   0x02

◆ RS232TOI2C_INTERRUPT_RX_WATERMARK

#define RS232TOI2C_INTERRUPT_RX_WATERMARK   0x04

◆ RS232TOI2C_INTERRUPT_TX_EMPTY

#define RS232TOI2C_INTERRUPT_TX_EMPTY   0x80

◆ RS232TOI2C_INTERRUPT_TX_FULL

#define RS232TOI2C_INTERRUPT_TX_FULL   0x20

◆ RS232TOI2C_INTERRUPT_TX_RX_ERROR

#define RS232TOI2C_INTERRUPT_TX_RX_ERROR   0x01

RS232 to I2C enable interrupt bit mask.

Specified enable interrupt bit mask of RS232 to I2C Click driver.

◆ RS232TOI2C_INTERRUPT_TX_WATERMARK

#define RS232TOI2C_INTERRUPT_TX_WATERMARK   0x40

◆ RS232TOI2C_SET_DEV_ADDR_A2_GND

#define RS232TOI2C_SET_DEV_ADDR_A2_GND   0x53

RS232 to I2C device address setting.

Specified setting for device slave address selection of RS232 to I2C Click driver.

◆ RS232TOI2C_SET_DEV_ADDR_A2_VCC

#define RS232TOI2C_SET_DEV_ADDR_A2_VCC   0x57

◆ RS232TOI2C_UART_DATABITS_5

#define RS232TOI2C_UART_DATABITS_5   0x00

RS232 to I2C UART config databits.

Specified UART config databits of RS232 to I2C Click driver.

◆ RS232TOI2C_UART_DATABITS_6

#define RS232TOI2C_UART_DATABITS_6   0x01

◆ RS232TOI2C_UART_DATABITS_7

#define RS232TOI2C_UART_DATABITS_7   0x02

◆ RS232TOI2C_UART_DATABITS_8

#define RS232TOI2C_UART_DATABITS_8   0x03

◆ RS232TOI2C_UART_DATABITS_9

#define RS232TOI2C_UART_DATABITS_9   0x07

◆ RS232TOI2C_UART_DISABLE_RX_TX

#define RS232TOI2C_UART_DISABLE_RX_TX   0x00

RS232 to I2C UART enable bits.

Specified UART enable bits of RS232 to I2C Click driver.

◆ RS232TOI2C_UART_ENABLE_RX

#define RS232TOI2C_UART_ENABLE_RX   0x01

◆ RS232TOI2C_UART_ENABLE_RX_TX

#define RS232TOI2C_UART_ENABLE_RX_TX   0x03

◆ RS232TOI2C_UART_ENABLE_TX

#define RS232TOI2C_UART_ENABLE_TX   0x02

◆ RS232TOI2C_UART_FLOW_CONTROL_HARDWARE

#define RS232TOI2C_UART_FLOW_CONTROL_HARDWARE   0x01

◆ RS232TOI2C_UART_FLOW_CONTROL_NONE

#define RS232TOI2C_UART_FLOW_CONTROL_NONE   0x00

RS232 to I2C UART config flow control.

Specified UART config flow control of RS232 to I2C Click driver.

◆ RS232TOI2C_UART_FLOW_CONTROL_SOFTWARE

#define RS232TOI2C_UART_FLOW_CONTROL_SOFTWARE   0x02

◆ RS232TOI2C_UART_LOOPBACK_OFF

#define RS232TOI2C_UART_LOOPBACK_OFF   0x00

RS232 to I2C UART config loopback.

Specified UART config loopback of RS232 to I2C Click driver.

◆ RS232TOI2C_UART_LOOPBACK_ON

#define RS232TOI2C_UART_LOOPBACK_ON   0x01

◆ RS232TOI2C_UART_PARITY_EVEN

#define RS232TOI2C_UART_PARITY_EVEN   0x02

◆ RS232TOI2C_UART_PARITY_NONE

#define RS232TOI2C_UART_PARITY_NONE   0x00

RS232 to I2C UART config parity.

Specified UART config parity of RS232 to I2C Click driver.

◆ RS232TOI2C_UART_PARITY_ODD

#define RS232TOI2C_UART_PARITY_ODD   0x03

◆ RS232TOI2C_UART_RESET_RX_FIFO

#define RS232TOI2C_UART_RESET_RX_FIFO   0x02

◆ RS232TOI2C_UART_RESET_TX_FIFO

#define RS232TOI2C_UART_RESET_TX_FIFO   0x01

RS232 to I2C UART config reset fifo.

Specified UART config reset fifo of RS232 to I2C Click driver.

◆ RS232TOI2C_UART_STATUS_BREAK_RECEIVED

#define RS232TOI2C_UART_STATUS_BREAK_RECEIVED   0x08

◆ RS232TOI2C_UART_STATUS_FRAME_ERROR

#define RS232TOI2C_UART_STATUS_FRAME_ERROR   0x02

◆ RS232TOI2C_UART_STATUS_OVERRUN_ERROR

#define RS232TOI2C_UART_STATUS_OVERRUN_ERROR   0x04

◆ RS232TOI2C_UART_STATUS_PARITY_ERROR

#define RS232TOI2C_UART_STATUS_PARITY_ERROR   0x01

RS232 to I2C uart status bit mask.

Specified uart status bit mask of RS232 to I2C Click driver.

◆ RS232TOI2C_UART_STATUS_RX_EMPTY

#define RS232TOI2C_UART_STATUS_RX_EMPTY   0x20

◆ RS232TOI2C_UART_STATUS_TX_EMPTY

#define RS232TOI2C_UART_STATUS_TX_EMPTY   0x80

◆ RS232TOI2C_UART_STATUS_TX_FULL

#define RS232TOI2C_UART_STATUS_TX_FULL   0x40

◆ RS232TOI2C_UART_STOP_BIT_1

#define RS232TOI2C_UART_STOP_BIT_1   0x00

RS232 to I2C UART config stop bit.

Specified UART config stop bit of RS232 to I2C Click driver.

◆ RS232TOI2C_UART_STOP_BIT_2

#define RS232TOI2C_UART_STOP_BIT_2   0x01

◆ RS232TOI2C_UART_SUB_CMD_DATABITS

#define RS232TOI2C_UART_SUB_CMD_DATABITS   0x01

RS232 to I2C UART config sub cmd.

Specified UART config sub cmd of RS232 to I2C Click driver.

◆ RS232TOI2C_UART_SUB_CMD_FLOW_CONTROL

#define RS232TOI2C_UART_SUB_CMD_FLOW_CONTROL   0x04

◆ RS232TOI2C_UART_SUB_CMD_LOOPBACK

#define RS232TOI2C_UART_SUB_CMD_LOOPBACK   0x08

◆ RS232TOI2C_UART_SUB_CMD_PARITY

#define RS232TOI2C_UART_SUB_CMD_PARITY   0x02

◆ RS232TOI2C_UART_SUB_CMD_RESET_DEFAULT

#define RS232TOI2C_UART_SUB_CMD_RESET_DEFAULT   0x0A

◆ RS232TOI2C_UART_SUB_CMD_RESET_FIFO

#define RS232TOI2C_UART_SUB_CMD_RESET_FIFO   0x06

◆ RS232TOI2C_UART_SUB_CMD_STOP_BITS

#define RS232TOI2C_UART_SUB_CMD_STOP_BITS   0x03