i2c_xmega.c File Reference
Driver for the AVR ATXMega TWI (implementation) based on the ATMega version. More...
#include "cfg/cfg_i2c.h"#include <cfg/log.h>#include <cfg/debug.h>#include <cfg/macros.h>#include <cfg/module.h>#include <cpu/detect.h>#include <cpu/irq.h>#include <cpu/types.h>#include <drv/timer.h>#include <drv/i2c.h>#include <cpu/power.h>#include <avr/io.h>#include <util/twi.h>#include <stdbool.h>Go to the source code of this file.
Functions | |
| void | i2c_hw_stop (volatile TWI_t *twi) |
| Send STOP condition. | |
| void | i2c_hw_init (I2c *i2c, int dev, uint32_t clock) |
| Initialize I2C module. | |
Detailed Description
Driver for the AVR ATXMega TWI (implementation) based on the ATMega version.
Definition in file i2c_xmega.c.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)