![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
IFX I2C context structure. More...
#include <ifx_i2c_config.h>
Data Fields | |
| uint8_t | slave_address |
| I2C Slave address. | |
| uint16_t | frequency |
| Frequency of i2c master. | |
| uint16_t | frame_size |
| Data link layer frame size. | |
| pal_gpio_t * | p_slave_vdd_pin |
| Pointer to pal gpio context for vdd. | |
| pal_gpio_t * | p_slave_reset_pin |
| Pointer to pal gpio context for reset. | |
| pal_i2c_t * | p_pal_i2c_ctx |
| Pointer to pal i2c context. | |
| app_event_handler_t | upper_layer_event_handler |
| Upper layer event handler. | |
| void * | p_upper_layer_ctx |
| Upper layer context. | |
| uint8_t * | p_upper_layer_rx_buffer |
| Pointer to upper layer rx buffer. | |
| uint16_t * | p_upper_layer_rx_buffer_len |
| Pointer to length of upper layer rx buffer. | |
| uint8_t | state |
| uint8_t | status |
| ifx i2c wrapper api status | |
| uint8_t | reset_state |
| reset states | |
| uint8_t | reset_type |
| type of reset | |
| uint8_t | do_pal_init |
| init pal | |
| ifx_i2c_tl_t | tl |
| Transport layer context. | |
| ifx_i2c_dl_t | dl |
| Datalink layer context. | |
| ifx_i2c_pl_t | pl |
| Physical layer context. | |
| uint8_t | tx_frame_buffer [(300)] |
| IFX I2C tx frame of max length. | |
| uint8_t | rx_frame_buffer [(300)] |
| IFX I2C rx frame of max length. | |
IFX I2C context structure.
| uint8_t ifx_i2c_context::state |
Protocol variables ifx i2c wrapper apis state