image/svg+xml
Brteve's API for EveApps
Version 0.0.1
The reference document for common folder of EveApps project.
 
Loading...
Searching...
No Matches
Hal_I2C.h
Go to the documentation of this file.
1
32/* This file contains interface to I2C */
33#ifndef HAL_I2C_H
34#define HAL_I2C_H
35
36#ifdef ARDUINO_ATMEGA328P_I2C
37#define ATMEGA328P_RTC_I2C_ADDRESS (0x6F)//7 bit i2c address and last bit is for read/write information
38#define ATMEGA328P_I2C_BURST_SIZE (28)
39#define ATMEGA328P_RTC_MFP (2)
40#endif
41
42/* API prototypes */
46
47#endif /* HAL_I2C_H */
48
49/* Nothing beyond this */
50
unsigned short uint16_t
short int16_t
unsigned char uint8_t
static ft_uint32_t ft_uint8_t * buffer
Definition FT_Gpu_Hal.h:139
static ft_uint32_t ft_uint8_t ft_uint32_t length
Definition FT_Gpu_Hal.h:140
static ft_uint32_t addr
Definition FT_Gpu_Hal.h:139
int16_t hal_rtc_i2c_write(uint8_t addr, uint8_t *buffer, uint16_t length)
Definition Hal_I2C.cpp:85
int16_t hal_rtc_i2c_read(uint8_t addr, uint8_t *buffer, uint16_t length)
Definition Hal_I2C.cpp:47
int16_t hal_rtc_i2c_init()
Definition Hal_I2C.cpp:39