Microchip® Advanced Software Framework

twis_slave_fct_t Struct Reference

Pointer on TWI slave user specific application routines.

#include <twis.h>

Data Fields

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_slave_fct_t::rx)(uint8_t)

Routine to receive data from TWI master.

Referenced by ISR().

void(* twis_slave_fct_t::stop)(void)

Routine to signal a TWI STOP.

Referenced by ISR(), and twis_send_data_nack().

uint8_t(* twis_slave_fct_t::tx)(void)

Routine to transmit data to TWI master.

Referenced by ISR().