Microchip® Advanced Software Framework

twis_options_t Struct Reference

Input parameters when initializing the twi module mode.

#include <twis.h>

Data Fields

uint8_t chip
 The desired address. More...
 
uint32_t pba_hz
 The PBA clock frequency. More...
 
bool smbus
 smbus mode More...
 
uint32_t speed
 The baudrate of the TWI bus. More...
 
bool tenbit
 tenbit mode More...
 

uint8_t twis_options_t::chip

The desired address.

Referenced by twis_slave_init().

uint32_t twis_options_t::pba_hz

The PBA clock frequency.

Referenced by twis_slave_init().

bool twis_options_t::smbus

smbus mode

Referenced by twis_slave_init().

uint32_t twis_options_t::speed

The baudrate of the TWI bus.

Referenced by twis_slave_init().

bool twis_options_t::tenbit

tenbit mode

Referenced by twis_slave_init().