Hanna
Sourcecode Batteriemanagementsystem |
TWI master driver struct. Mehr ...
#include <twi_master_driver.h>
Datenfelder | |
register8_t | address |
register8_t | bytesRead |
register8_t | bytesToRead |
register8_t | bytesToWrite |
register8_t | bytesWritten |
TWI_t * | interface |
register8_t | readData [TWIM_READ_BUFFER_SIZE] |
register8_t | result |
register8_t | status |
register8_t | writeData [TWIM_WRITE_BUFFER_SIZE] |
TWI master driver struct.
TWI master struct. Holds pointer to TWI module, buffers and necessary varibles.
Definiert in Zeile 103 der Datei twi_master_driver.h.
register8_t TWI_Master::address |
Slave address
Definiert in Zeile 106 der Datei twi_master_driver.h.
register8_t TWI_Master::bytesRead |
Number of bytes read
Definiert in Zeile 112 der Datei twi_master_driver.h.
register8_t TWI_Master::bytesToRead |
Number of bytes to read
Definiert in Zeile 110 der Datei twi_master_driver.h.
register8_t TWI_Master::bytesToWrite |
Number of bytes to write
Definiert in Zeile 109 der Datei twi_master_driver.h.
register8_t TWI_Master::bytesWritten |
Number of bytes written
Definiert in Zeile 111 der Datei twi_master_driver.h.
TWI_t* TWI_Master::interface |
Pointer to what interface to use
Definiert in Zeile 105 der Datei twi_master_driver.h.
register8_t TWI_Master::readData[TWIM_READ_BUFFER_SIZE] |
Read data
Definiert in Zeile 108 der Datei twi_master_driver.h.
register8_t TWI_Master::result |
Result of transaction
Definiert in Zeile 114 der Datei twi_master_driver.h.
register8_t TWI_Master::status |
Status of transaction
Definiert in Zeile 113 der Datei twi_master_driver.h.
register8_t TWI_Master::writeData[TWIM_WRITE_BUFFER_SIZE] |
Data to write
Definiert in Zeile 107 der Datei twi_master_driver.h.