Microchip® Advanced Software Framework

twi_common.h File Reference

AVR XMEGA TWI driver common definitions.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

Data Structures

struct  twi_options_t
 Input parameters when initializing the twi module mode. More...
 
struct  twi_package_t
 Information concerning the data transmission. More...
 

Macros

#define TWI_BRIDGEEN_bm   0x80 /* Bridge Enable bit mask. */
 
#define TWI_BRIDGEEN_bp   7 /* Bridge Enable bit position. */
 
#define TWI_SFMPEN_bm   0x40 /* Slave Fast Mode Plus Enable bit mask. */
 
#define TWI_SFMPEN_bp   6 /* Slave Fast Mode Plus Enable bit position. */
 

#define TWI_BRIDGEEN_bm   0x80 /* Bridge Enable bit mask. */
#define TWI_BRIDGEEN_bp   7 /* Bridge Enable bit position. */
#define TWI_SFMPEN_bm   0x40 /* Slave Fast Mode Plus Enable bit mask. */
#define TWI_SFMPEN_bp   6 /* Slave Fast Mode Plus Enable bit position. */