Microchip® Advanced Software Framework

twi_options_t Struct Reference

Input parameters when initializing the twi module mode.

#include <twi_common.h>

Data Fields

char chip
 The desired address. More...
 
unsigned long speed
 The baudrate of the TWI bus. More...
 
unsigned long speed_reg
 The baudrate register value of the TWI bus. More...
 

char twi_options_t::chip

The desired address.

Referenced by main().

unsigned long twi_options_t::speed
unsigned long twi_options_t::speed_reg

The baudrate register value of the TWI bus.

Referenced by twi_master_init(), twi_master_setup(), and twi_slave_setup().