Microchip® Advanced Software Framework

twim_options_t Struct Reference

Input parameters when initializing the twim module mode.

#include <twim.h>

Data Fields

uint32_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...
 

uint32_t twim_options_t::chip

The desired address.

Referenced by twim_master_init().

uint32_t twim_options_t::pba_hz

The PBA clock frequency.

Referenced by twim_master_init().

bool twim_options_t::smbus

SMBUS mode.

Referenced by twim_master_init().

uint32_t twim_options_t::speed

The baudrate of the TWI bus.

Referenced by twim_master_init().