uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
I2C_M_SETUP_Type Struct Reference

Master transfer setup data structure definitions. More...

#include <lpc17xx_i2c.h>

Public Attributes

uint32_t sl_addr7bit
 
uint8_t * tx_data
 
uint32_t tx_length
 
uint32_t tx_count
 
uint8_t * rx_data
 
uint32_t rx_length
 
uint32_t rx_count
 
uint32_t retransmissions_max
 
uint32_t retransmissions_count
 
uint32_t status
 
void(* callback )(void)
 

Detailed Description

Master transfer setup data structure definitions.

Definition at line 277 of file lpc17xx_i2c.h.

Member Data Documentation

void(* I2C_M_SETUP_Type::callback)(void)

Pointer to Call back function when transmission complete used in interrupt transfer mode

Definition at line 293 of file lpc17xx_i2c.h.

uint32_t I2C_M_SETUP_Type::retransmissions_count

Current Re-Transmission counter

Definition at line 291 of file lpc17xx_i2c.h.

uint32_t I2C_M_SETUP_Type::retransmissions_max

Max Re-Transmission value

Definition at line 290 of file lpc17xx_i2c.h.

uint32_t I2C_M_SETUP_Type::rx_count

Current Receive data counter

Definition at line 289 of file lpc17xx_i2c.h.

uint8_t* I2C_M_SETUP_Type::rx_data

Pointer to Receive data - NULL if data receive is not used

Definition at line 285 of file lpc17xx_i2c.h.

uint32_t I2C_M_SETUP_Type::rx_length

Receive data length - 0 if data receive is not used

Definition at line 287 of file lpc17xx_i2c.h.

uint32_t I2C_M_SETUP_Type::sl_addr7bit

Slave address in 7bit mode

Definition at line 279 of file lpc17xx_i2c.h.

uint32_t I2C_M_SETUP_Type::status

Current status of I2C activity

Definition at line 292 of file lpc17xx_i2c.h.

uint32_t I2C_M_SETUP_Type::tx_count

Current Transmit data counter

Definition at line 284 of file lpc17xx_i2c.h.

uint8_t* I2C_M_SETUP_Type::tx_data

Pointer to Transmit data - NULL if data transmit is not used

Definition at line 280 of file lpc17xx_i2c.h.

uint32_t I2C_M_SETUP_Type::tx_length

Transmit data length - 0 if data transmit is not used

Definition at line 282 of file lpc17xx_i2c.h.


The documentation for this struct was generated from the following file: