# twi_slave_fct_t Struct Reference

`#include <twi.h>`

## Detailed Description

Pointer on TWI slave application routines.

Definition at line 101 of file twi.h.

## Data Fields
void(* | rx )(U8)
| Routine to receiv data from TWI master.
void(* | stop )(void)
| Routine to signal a TWI STOP.
U8(* | tx )(void)
| Routine to transmit data to TWI master.

## Field Documentation

void(* twi_slave_fct_t::rx)(U8)

Routine to receiv data from TWI master.

Referenced by twi_slave_inst1_interrupt_handler().

void(* twi_slave_fct_t::stop)(void)

Routine to signal a TWI STOP.

Referenced by twi_slave_inst1_interrupt_handler().

U8(* twi_slave_fct_t::tx)(void)

Routine to transmit data to TWI master.

Referenced by twi_slave_inst1_interrupt_handler().