Microchip® Advanced Software Framework

twim_config Struct Reference

Input parameters when initializing the TWIM module mode.

#include <twim.h>

Data Fields

uint8_t clock_drive_strength_low
 Pull-down drive strength of the TWCK output buffer. More...
 
uint8_t clock_slew_limit
 Slew limit of the TWCK output buffer. More...
 
uint8_t data_drive_strength_low
 Pull-down drive strength of the TWD output buffer. More...
 
uint8_t data_setup_cycles
 Clock cycles for data setup count. More...
 
uint8_t data_slew_limit
 Slew limit of the TWD output buffer. More...
 
uint8_t hs_clock_drive_strength_high
 Pull-up drive strength of the TWCK output buffer in high speed mode. More...
 
uint8_t hs_clock_drive_strength_low
 Pull-down drive strength of the TWCK output buffer in high speed mode. More...
 
uint8_t hs_clock_slew_limit
 Slew limit of the TWCK output buffer in high speed mode. More...
 
uint8_t hs_data_drive_strength_low
 Pull-down drive strength of the TWD output buffer in high speed mode. More...
 
uint8_t hs_data_slew_limit
 Slew limit of the TWD output buffer in high speed mode. More...
 
uint8_t hsmode_data_setup_cycles
 Clock cycles for data setup count in high speed mode. More...
 
uint32_t hsmode_speed
 The baudrate of the TWI bus in high speed mode. More...
 
bool smbus
 SMBUS mode. More...
 
uint32_t speed
 The baudrate of the TWI bus. More...
 
uint32_t twim_clk
 The TWIM clock frequency. More...
 

uint8_t twim_config::clock_drive_strength_low

Pull-down drive strength of the TWCK output buffer.

Referenced by twim_set_config().

uint8_t twim_config::clock_slew_limit

Slew limit of the TWCK output buffer.

Referenced by twim_set_config().

uint8_t twim_config::data_drive_strength_low

Pull-down drive strength of the TWD output buffer.

Referenced by twim_set_config().

uint8_t twim_config::data_setup_cycles

Clock cycles for data setup count.

Referenced by twim_set_config().

uint8_t twim_config::data_slew_limit

Slew limit of the TWD output buffer.

Referenced by twim_set_config().

uint8_t twim_config::hs_clock_drive_strength_high

Pull-up drive strength of the TWCK output buffer in high speed mode.

Referenced by twim_set_config().

uint8_t twim_config::hs_clock_drive_strength_low

Pull-down drive strength of the TWCK output buffer in high speed mode.

Referenced by twim_set_config().

uint8_t twim_config::hs_clock_slew_limit

Slew limit of the TWCK output buffer in high speed mode.

Referenced by twim_set_config().

uint8_t twim_config::hs_data_drive_strength_low

Pull-down drive strength of the TWD output buffer in high speed mode.

Referenced by twim_set_config().

uint8_t twim_config::hs_data_slew_limit

Slew limit of the TWD output buffer in high speed mode.

Referenced by twim_set_config().

uint8_t twim_config::hsmode_data_setup_cycles

Clock cycles for data setup count in high speed mode.

Referenced by twim_set_config().

uint32_t twim_config::hsmode_speed

The baudrate of the TWI bus in high speed mode.

Referenced by twim_set_config().

bool twim_config::smbus

SMBUS mode.

Referenced by twim_set_config().

uint32_t twim_config::speed

The baudrate of the TWI bus.

Referenced by twim_set_config().

uint32_t twim_config::twim_clk

The TWIM clock frequency.

Referenced by twim_set_config().