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.

unsigned long twi_options_t::speed

The baudrate of the TWI bus.

Referenced by run_twi_master_recv_test(), run_twi_master_send_test(), and run_twi_slave_recv_test().

unsigned long twi_options_t::speed_reg

The baudrate register value of the TWI bus.

Referenced by twi_master_init().