Microchip® Advanced Software Framework

twi_slave_fct_t Struct Reference

Pointer on TWI slave application routines.

#include <twi.h>

Data Fields

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

void(* twi_slave_fct_t::rx)(U8)

Routine to receive data from TWI master.

Referenced by ISR().

void(* twi_slave_fct_t::stop)(void)

Routine to signal a TWI STOP.

Referenced by ISR().

U8(* twi_slave_fct_t::tx)(void)

Routine to transmit data to TWI master.

Referenced by ISR().