SimAVR
AVR Simulator
avr_twi_t Struct Reference

#include <avr_twi.h>

Collaboration diagram for avr_twi_t:

Data Fields

avr_io_t io
 
char name
 
avr_regbit_t disabled
 bit in the PRR More...
 
avr_io_addr_t r_twbr
 bit rate register More...
 
avr_io_addr_t r_twcr
 control register More...
 
avr_io_addr_t r_twsr
 status register More...
 
avr_io_addr_t r_twar
 address register (slave) More...
 
avr_io_addr_t r_twamr
 address mask register More...
 
avr_io_addr_t r_twdr
 data register More...
 
avr_regbit_t twen
 twi enable bit More...
 
avr_regbit_t twea
 enable acknowledge bit More...
 
avr_regbit_t twsta
 start condition More...
 
avr_regbit_t twsto
 stop condition More...
 
avr_regbit_t twwc
 write collision More...
 
avr_regbit_t twsr
 status registers, (5 bits) More...
 
avr_regbit_t twps
 prescaler bits (2 bits) More...
 
avr_int_vector_t twi
 twi interrupt More...
 
uint8_t state
 
uint8_t peer_addr
 
uint8_t next_twstate
 

Field Documentation

avr_regbit_t disabled

bit in the PRR

char name
uint8_t next_twstate
uint8_t peer_addr
avr_io_addr_t r_twamr

address mask register

avr_io_addr_t r_twar

address register (slave)

avr_io_addr_t r_twbr

bit rate register

avr_io_addr_t r_twcr

control register

avr_io_addr_t r_twdr

data register

avr_io_addr_t r_twsr

status register

uint8_t state

enable acknowledge bit

twi enable bit

twi interrupt

prescaler bits (2 bits)

status registers, (5 bits)

avr_regbit_t twsta

start condition

avr_regbit_t twsto

stop condition

write collision


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