Defines | Functions

lib/eeprom255/lib_eeprom255_le1.c File Reference

Implementation of EEPROM library (lib_eeprom255) in nRF24LE1. More...

#include "nrf24le1.h"
#include "hal_flash.h"

Go to the source code of this file.

Defines

#define LIB_EEPROM255_H__
#define BK_BYTE   255
#define PAGE_0_XDATA   0xFA00
#define PAGE_1_XDATA   0xFB00
#define PAGE_0_FLASH_PN   32
#define PAGE_1_FLASH_PN   33

Functions

void lib_eeprom255_byte_write (uint8_t adr, uint8_t dat)
uint8_t lib_eeprom255_byte_read (uint8_t adr)
void lib_eeprom255_bytes_write (uint8_t adr, uint8_t *src, uint8_t n)
void lib_eeprom255_bytes_read (uint8_t adr, uint8_t *dst, uint8_t n)

Detailed Description

Implementation of EEPROM library (lib_eeprom255) in nRF24LE1.

Definition in file lib_eeprom255_le1.c.


Define Documentation

#define LIB_EEPROM255_H__

Definition at line 19 of file lib_eeprom255_le1.c.

#define BK_BYTE   255

Definition at line 24 of file lib_eeprom255_le1.c.

#define PAGE_0_XDATA   0xFA00

Definition at line 25 of file lib_eeprom255_le1.c.

#define PAGE_1_XDATA   0xFB00

Definition at line 26 of file lib_eeprom255_le1.c.

#define PAGE_0_FLASH_PN   32

Definition at line 27 of file lib_eeprom255_le1.c.

#define PAGE_1_FLASH_PN   33

Definition at line 28 of file lib_eeprom255_le1.c.