Data Fields

internal struct used to save all data related to the TWI More...

#include <twi.h>

Data Fields

sTwiLock lock
 indicates who is using the TWI
 
uint8_t countdown
 countdown for the time out
 
uint8_t error_count
 number of packet errors
 
uint8_t reset_counter
 number of hard resets of TWI bus
 
eTwiStructId single_nr
 
eTwiStructId queue_nr
 
eTwiStructId current_nr
 number of current struct
 
uint8_t current_state
 updatestate of current struct
 
uint8_t current_size
 size of current struct
 
char * current_struct
 pointer to current struct
 

Detailed Description

internal struct used to save all data related to the TWI

See also
tucbot_twi

Field Documentation

◆ queue_nr

eTwiStructId sTwi::queue_nr

number of the next struct (for the queued requests)

◆ single_nr

eTwiStructId sTwi::single_nr

number of the next struct (for one fast single-request)


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