LibDriver AT24CXX
Loading...
Searching...
No Matches
driver_at24cxx_basic.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_AT24CXX_BASIC_H
39#define DRIVER_AT24CXX_BASIC_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
53
64
72uint8_t at24cxx_basic_deinit(void);
73
84uint8_t at24cxx_basic_read(uint32_t address, uint8_t *buf, uint16_t len);
85
96uint8_t at24cxx_basic_write(uint32_t address, uint8_t *buf, uint16_t len);
97
101
102#ifdef __cplusplus
103}
104#endif
105
106#endif
driver at24cxx interface header file
at24cxx_t
at24cxx type enumeration definition
at24cxx_address_t
at24cxx address enumeration definition
uint8_t at24cxx_basic_init(at24cxx_t type, at24cxx_address_t address)
basic example init
uint8_t at24cxx_basic_read(uint32_t address, uint8_t *buf, uint16_t len)
basic example read
uint8_t at24cxx_basic_write(uint32_t address, uint8_t *buf, uint16_t len)
basic example write
uint8_t at24cxx_basic_deinit(void)
basic example deinit