Microchip® Advanced Software Framework

twis_callback Struct Reference

#include <twis.h>

Data Fields

void(* error )(void)
 Routine to handle bus error. More...
 
void(* rx )(uint8_t)
 Routine to receive data from TWI master. More...
 
void(* stop )(void)
 Routine to signal a TWI STOP. More...
 
uint8_t(* tx )(void)
 Routine to transmit data to TWI master. More...
 

void(* twis_callback::error)(void)

Routine to handle bus error.

Referenced by main(), and twis_interrupt_handler().

void(* twis_callback::rx)(uint8_t)

Routine to receive data from TWI master.

Referenced by main(), and twis_interrupt_handler().

void(* twis_callback::stop)(void)

Routine to signal a TWI STOP.

Referenced by main(), and twis_interrupt_handler().

uint8_t(* twis_callback::tx)(void)

Routine to transmit data to TWI master.

Referenced by main(), and twis_interrupt_handler().