modes
Fork of mbed-rtos by
I2C_M_SETUP_Type Struct Reference
[I2C Public Types]
Master transfer setup data structure definitions. More...
#include <lpc17xx_i2c.h>
Data Fields | |
| uint32_t | sl_addr7bit |
| Slave address in 7bit mode. | |
| uint8_t * | tx_data |
| Pointer to Transmit data - NULL if data transmit is not used. | |
| uint32_t | tx_length |
| Transmit data length - 0 if data transmit is not used. | |
| uint32_t | tx_count |
| Current Transmit data counter. | |
| uint8_t * | rx_data |
| Pointer to Receive data - NULL if data receive is not used. | |
| uint32_t | rx_length |
| Receive data length - 0 if data receive is not used. | |
| uint32_t | rx_count |
| Current Receive data counter. | |
| uint32_t | retransmissions_max |
| Max Re-Transmission value. | |
| uint32_t | retransmissions_count |
| Current Re-Transmission counter. | |
| uint32_t | status |
| Current status of I2C activity. | |
| void(* | callback )(void) |
| Pointer to Call back function when transmission complete used in interrupt transfer mode. | |
Detailed Description
Master transfer setup data structure definitions.
Definition at line 283 of file lpc17xx_i2c.h.
Field Documentation
| void(* callback)(void) |
Pointer to Call back function when transmission complete used in interrupt transfer mode.
Definition at line 299 of file lpc17xx_i2c.h.
| uint32_t retransmissions_count |
Current Re-Transmission counter.
Definition at line 297 of file lpc17xx_i2c.h.
| uint32_t retransmissions_max |
Max Re-Transmission value.
Definition at line 296 of file lpc17xx_i2c.h.
| uint32_t rx_count |
Current Receive data counter.
Definition at line 295 of file lpc17xx_i2c.h.
| uint8_t* rx_data |
Pointer to Receive data - NULL if data receive is not used.
Definition at line 291 of file lpc17xx_i2c.h.
| uint32_t rx_length |
Receive data length - 0 if data receive is not used.
Definition at line 293 of file lpc17xx_i2c.h.
| uint32_t sl_addr7bit |
Slave address in 7bit mode.
Definition at line 285 of file lpc17xx_i2c.h.
| uint32_t status |
Current status of I2C activity.
Definition at line 298 of file lpc17xx_i2c.h.
| uint32_t tx_count |
Current Transmit data counter.
Definition at line 290 of file lpc17xx_i2c.h.
| uint8_t* tx_data |
Pointer to Transmit data - NULL if data transmit is not used.
Definition at line 286 of file lpc17xx_i2c.h.
| uint32_t tx_length |
Transmit data length - 0 if data transmit is not used.
Definition at line 288 of file lpc17xx_i2c.h.
Generated on Wed Jul 13 2022 02:56:19 by
1.7.2
