#include <stm32_twi.h>
Data Fields | |
volatile uint_fast16_t | tw_mm_sla |
Bus slave address. | |
volatile uint_fast8_t | tw_mm_err |
Bus current error condition. | |
volatile uint_fast8_t | tw_mm_error |
Bus last error condition. | |
uint8_t * | tw_mm_iadr |
Bus nodes internal address register length. | |
volatile uint_fast8_t | tw_mm_iadrlen |
Bus nodes internal address register. | |
const uint8_t * | tw_mm_txbuf |
Bus transmission data buffer pointer. | |
volatile uint_fast16_t | tw_mm_txlen |
Bus transmission data block length. | |
volatile uint_fast16_t | tw_mm_txidx |
Bus transmissinn position. | |
uint8_t * | tw_mm_rxbuf |
Bus reception data buffer pointer. | |
volatile uint_fast16_t | tw_mm_rxlen |
Bus reception data block length. | |
volatile uint_fast16_t | tw_mm_rxidx |
Bus reception position. | |
volatile uint_fast8_t | tw_mm_dir |
Bus data direction. | |
HANDLE | tw_mm_mtx |
Transmission Ongoing Mutex. | |
uint8_t * | tw_mm_buf |
Bus transmission data buffer pointer. | |
volatile uint_fast16_t | tw_mm_len |
Bus transmission data block length. | |
volatile uint_fast16_t | tw_mm_idx |
Bus transmissinn position. | |
volatile uint_fast8_t | tw_if_busy |
Flag that interface is busy. | |
uint_fast8_t | tw_sm_sla |
Slave address received. | |
volatile uint_fast8_t | tw_sm_err |
Current slave mode error. | |
volatile uint_fast8_t | tw_sm_error |
Last slave mode error. | |
uint8_t * | tw_sm_txbuf |
Pointer to the slave transmit buffer. | |
uint_fast16_t | tw_sm_txlen |
Number of bytes to transmit in slave mode. | |
volatile uint_fast16_t | tw_sm_txidx |
Current slave transmit buffer index. | |
uint8_t * | tw_sm_rxbuf |
Pointer to the slave receive buffer. | |
volatile uint_fast16_t | tw_sm_rxlen |
Size of the master receive buffer. | |
volatile uint_fast16_t | tw_sm_rxidx |
Current slave receive buffer index. | |
HANDLE | tw_sm_rxmtx |
Threads waiting for slave receive. | |
HANDLE | tw_sm_txmtx |
Threads waiting for slave transmit done. |
volatile uint_fast16_t _NUTTWIICB::tw_mm_sla |
Bus slave address.
Referenced by NutTwiIOCtl(), NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
volatile uint_fast8_t _NUTTWIICB::tw_mm_err |
Bus current error condition.
Referenced by NutTwiMasterRegRead(), NutTwiMasterRegWrite(), NutTwiMasterTranceive(), and TwErrorIrq().
volatile uint_fast8_t _NUTTWIICB::tw_mm_error |
Bus last error condition.
Referenced by NutTwiIndexes(), NutTwiMasterError(), NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
Bus nodes internal address register length.
Referenced by NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
volatile uint_fast8_t _NUTTWIICB::tw_mm_iadrlen |
Bus nodes internal address register.
Referenced by NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
const uint8_t * _NUTTWIICB::tw_mm_txbuf |
Bus transmission data buffer pointer.
Referenced by NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
volatile uint_fast16_t _NUTTWIICB::tw_mm_txlen |
Bus transmission data block length.
Referenced by NutTwiIndexes(), NutTwiMasterRegRead(), NutTwiMasterRegWrite(), NutTwiMasterTranceive(), NutTwiSlaveListen(), and NutTwiSlaveRespond().
volatile uint_fast16_t _NUTTWIICB::tw_mm_txidx |
Bus transmissinn position.
Bus reception data buffer pointer.
Referenced by NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
volatile uint_fast16_t _NUTTWIICB::tw_mm_rxlen |
Bus reception data block length.
Referenced by NutTwiIndexes(), NutTwiMasterRegRead(), NutTwiMasterRegWrite(), NutTwiMasterTranceive(), NutTwiSlaveListen(), and NutTwiSlaveRespond().
volatile uint_fast16_t _NUTTWIICB::tw_mm_rxidx |
Bus reception position.
Referenced by NutTwiMasterTranceive().
volatile uint_fast8_t _NUTTWIICB::tw_mm_dir |
Bus data direction.
Referenced by NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
Transmission Ongoing Mutex.
Referenced by NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
Bus transmission data buffer pointer.
Referenced by NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
volatile uint_fast16_t _NUTTWIICB::tw_mm_len |
Bus transmission data block length.
Referenced by NutTwiIndexes(), NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
volatile uint_fast16_t _NUTTWIICB::tw_mm_idx |
Bus transmissinn position.
Referenced by NutTwiMasterRegRead(), NutTwiMasterRegWrite(), and NutTwiMasterTranceive().
volatile uint_fast8_t _NUTTWIICB::tw_if_busy |
Flag that interface is busy.
Referenced by NutTwiMasterTranceive(), NutTwiSlaveListen(), and NutTwiSlaveRespond().
Slave address received.
Referenced by NutTwiSlaveListen().
volatile uint_fast8_t _NUTTWIICB::tw_sm_err |
Current slave mode error.
Referenced by NutTwiSlaveListen(), and NutTwiSlaveRespond().
volatile uint_fast8_t _NUTTWIICB::tw_sm_error |
Last slave mode error.
Referenced by NutTwiSlaveError(), and NutTwiSlaveRespond().
Pointer to the slave transmit buffer.
Referenced by NutTwiSlaveRespond().
Number of bytes to transmit in slave mode.
Referenced by NutTwiSlaveRespond().
volatile uint_fast16_t _NUTTWIICB::tw_sm_txidx |
Current slave transmit buffer index.
Referenced by NutTwiSlaveRespond().
Pointer to the slave receive buffer.
Referenced by NutTwiSlaveListen().
volatile uint_fast16_t _NUTTWIICB::tw_sm_rxlen |
Size of the master receive buffer.
Referenced by NutTwiMasterTranceive(), and NutTwiSlaveListen().
volatile uint_fast16_t _NUTTWIICB::tw_sm_rxidx |
Current slave receive buffer index.
Referenced by NutTwiSlaveListen().
Threads waiting for slave receive.
Referenced by NutTwiSlaveListen().
Threads waiting for slave transmit done.
Referenced by NutTwiSlaveRespond().