TWIHS Slave driver for SAM.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | twihs_slave_disable(p_twihs) twihs_disable_slave_mode(p_twihs) |
#define | twihs_slave_enable(p_twihs) twihs_enable_slave_mode(p_twihs) |
Typedefs | |
typedef Twihs * | twihs_slave_t |
This type can be used independently to refer to TWIHS slave module for the architecture used. More... | |
Functions | |
static void | twihs_slave_setup (twihs_slave_t p_twihs, uint32_t dw_device_addr) |
#define twihs_slave_disable | ( | p_twihs | ) | twihs_disable_slave_mode(p_twihs) |
#define twihs_slave_enable | ( | p_twihs | ) | twihs_enable_slave_mode(p_twihs) |
|
inlinestatic |
References sysclk_enable_peripheral_clock(), and twihs_slave_init().