SAM4SD32 (SAM4S-EK2)
Loading...
Searching...
No Matches
twi_slave.h
Go to the documentation of this file.
1
33/*
34 * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a>
35 */
36#ifndef TWI_SLAVE_H_INCLUDED
37#define TWI_SLAVE_H_INCLUDED
38
39#include <parts.h>
40#include <compiler.h>
41
42#if (SAM3S || SAM3U || SAM3N || SAM3XA || SAM4S || SAM4E || SAM4N || SAM4C || SAM4CM || SAMG || SAM4CP)
43# include "sam_twi/twi_slave.h"
44#elif XMEGA
45# include "xmega_twi/twi_slave.h"
46#elif MEGA_RF
47# include "megarf_twi/twi_slave.h"
48#elif (defined(__GNUC__) && defined(__AVR32__)) || (defined(__ICCAVR32__) || defined(__AAVR32__))
49#if (defined AVR32_TWI)
50#error Not supported.
51#endif
52#else
53# error Unsupported chip type
54#endif
55
83
90
92
93#endif /* TWI_SLAVE_H_INCLUDED */
94
TWI Slave driver for SAM.