#include "fw_hal.h"Go to the source code of this file.
Macros | |
| #define | AT24C_ADDR 0xA0 |
Functions | |
| void | Wait () |
| void | Start () |
| void | SendData (char dat) |
| void | RecvACK () |
| char | RecvData () |
| void | SendACK () |
| void | SendNAK () |
| void | Stop () |
| void | I2C_Init (void) |
| void | GPIO_Init (void) |
| int | main (void) |
| #define AT24C_ADDR 0xA0 |
Definition at line 27 of file at24c08_nonlib.c.
| void GPIO_Init | ( | void | ) |
Definition at line 96 of file at24c08_nonlib.c.
| void I2C_Init | ( | void | ) |
I2C clock = FOSC / 2 / (prescaler * 2 + 4)
Definition at line 82 of file at24c08_nonlib.c.
| int main | ( | void | ) |
Definition at line 104 of file at24c08_nonlib.c.
| void RecvACK | ( | ) |
Definition at line 49 of file at24c08_nonlib.c.
| char RecvData | ( | ) |
Definition at line 55 of file at24c08_nonlib.c.
| void SendACK | ( | ) |
Definition at line 62 of file at24c08_nonlib.c.
| void SendData | ( | char | dat | ) |
Definition at line 42 of file at24c08_nonlib.c.
| void SendNAK | ( | ) |
Definition at line 69 of file at24c08_nonlib.c.
| void Start | ( | ) |
Definition at line 36 of file at24c08_nonlib.c.
| void Stop | ( | ) |
Definition at line 76 of file at24c08_nonlib.c.
| void Wait | ( | ) |
Definition at line 30 of file at24c08_nonlib.c.