From: asterix Date: Fri, 30 Jul 2010 10:31:47 +0000 (+0000) Subject: Add foldback for at91 i2c for nightly test. X-Git-Tag: 2.6.0~288^2~2 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=bcc927a3ab0321c6c7afc311708c855eac538176;p=bertos.git Add foldback for at91 i2c for nightly test. git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4093 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/drv/i2c_at91.h b/bertos/cpu/arm/drv/i2c_at91.h new file mode 100644 index 00000000..88b5ab55 --- /dev/null +++ b/bertos/cpu/arm/drv/i2c_at91.h @@ -0,0 +1,54 @@ +/** + * \file + * + * + * \brief Driver for the AT91SAM7X I2C (interface) + * + * \author Daniele Basile + * + */ + +#ifndef I2C_AT91_H +#define I2C_AT91_H + +#include + +/** + * \name I2C devices enum + */ +enum +{ + I2C0, + + I2C_CNT /**< Number of serial ports */ +}; + +#endif /* I2C_AT91_H */