APM:Libraries
Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
OSD_EEPROM Class Reference

#include <osd_eeprom.h>

Static Public Member Functions

static uint8_t read (uint16_t addr)
 
static void write (uint16_t addr, uint8_t val)
 
static void init ()
 

Static Private Member Functions

static uint8_t _read (uint16_t addr)
 
static void _write (uint16_t addr, uint8_t val)
 
static uint32_t read_16 (uint32_t addr)
 
static uint8_t read_8 (uint32_t addr)
 
static uint32_t read_32 (uint32_t addr)
 
static FLASH_Status write_16 (uint32_t addr, uint16_t data)
 
static FLASH_Status write_8 (uint32_t addr, uint8_t data)
 
static FLASH_Status erasePageByAddress (uint32_t Page_Address)
 
static void FLASH_Lock_check ()
 
static void FLASH_Unlock_dis ()
 

Static Private Attributes

static uint32_t ee_ptr =0
 

Detailed Description

Definition at line 19 of file osd_eeprom.h.

Member Function Documentation

◆ _read()

uint8_t OSD_EEPROM::_read ( uint16_t  addr)
staticprivate

Definition at line 44 of file osd_eeprom.cpp.

Referenced by _write(), and init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _write()

void OSD_EEPROM::_write ( uint16_t  addr,
uint8_t  val 
)
staticprivate

Definition at line 61 of file osd_eeprom.cpp.

Referenced by write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ erasePageByAddress()

static FLASH_Status OSD_EEPROM::erasePageByAddress ( uint32_t  Page_Address)
inlinestaticprivate

Definition at line 53 of file osd_eeprom.h.

Referenced by _write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FLASH_Lock_check()

static void OSD_EEPROM::FLASH_Lock_check ( )
inlinestaticprivate

Definition at line 56 of file osd_eeprom.h.

Referenced by _write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FLASH_Unlock_dis()

static void OSD_EEPROM::FLASH_Unlock_dis ( )
inlinestaticprivate

Definition at line 59 of file osd_eeprom.h.

Referenced by _write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void OSD_EEPROM::init ( void  )
static

Definition at line 27 of file osd_eeprom.cpp.

Here is the call graph for this function:

◆ read()

uint8_t OSD_EEPROM::read ( uint16_t  addr)
static

Definition at line 34 of file osd_eeprom.cpp.

Referenced by eeprom_read_len(), and print_eeprom_string().

Here is the caller graph for this function:

◆ read_16()

static uint32_t OSD_EEPROM::read_16 ( uint32_t  addr)
inlinestaticprivate

Definition at line 32 of file osd_eeprom.h.

◆ read_32()

static uint32_t OSD_EEPROM::read_32 ( uint32_t  addr)
inlinestaticprivate

Definition at line 40 of file osd_eeprom.h.

◆ read_8()

static uint8_t OSD_EEPROM::read_8 ( uint32_t  addr)
inlinestaticprivate

Definition at line 36 of file osd_eeprom.h.

Referenced by _read(), and _write().

Here is the caller graph for this function:

◆ write()

void OSD_EEPROM::write ( uint16_t  addr,
uint8_t  val 
)
static

Definition at line 38 of file osd_eeprom.cpp.

Referenced by eeprom_write_len().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_16()

static FLASH_Status OSD_EEPROM::write_16 ( uint32_t  addr,
uint16_t  data 
)
inlinestaticprivate

Definition at line 44 of file osd_eeprom.h.

Here is the call graph for this function:

◆ write_8()

static FLASH_Status OSD_EEPROM::write_8 ( uint32_t  addr,
uint8_t  data 
)
inlinestaticprivate

Definition at line 49 of file osd_eeprom.h.

Referenced by _write().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ee_ptr

uint32_t OSD_EEPROM::ee_ptr =0
staticprivate

Definition at line 27 of file osd_eeprom.h.

Referenced by _read(), and _write().


The documentation for this class was generated from the following files: