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 | |
internal struct used to save all data related to the TWI
| eTwiStructId sTwi::queue_nr |
number of the next struct (for the queued requests)
| eTwiStructId sTwi::single_nr |
number of the next struct (for one fast single-request)
1.8.17