UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
Functions
Eeprom

EEPROM Functions & Definitions. More...

Functions

void EEPROM_init (void)
 
bool EEPROM_selfTest (void)
 
void EEPROM_write (uint32_t address, uint32_t *data, uint32_t length)
 
void EEPROM_read (uint32_t address, uint32_t *data, uint32_t length)
 

Detailed Description

EEPROM Functions & Definitions.

Function Documentation

void EEPROM_init ( void  )

Initialise EEPROM Device

Definition at line 13 of file eeprom.c.

bool EEPROM_selfTest ( void  )

Check EEPROM returns correct size, indicating likelihood of correct operation

Returns
bool True if size is returned correctly, False else.

Definition at line 18 of file eeprom.c.

void EEPROM_write ( uint32_t  address,
uint32_t *  data,
uint32_t  length 
)

Write data to EEPROM, beginning at specified memory address.

uint32_t Memory address to begin writing data. uint32_t* Pointer to data buffer. uint32_t Length to write in bytes.

Definition at line 23 of file eeprom.c.

void EEPROM_read ( uint32_t  address,
uint32_t *  data,
uint32_t  length 
)

Read data from EEPROM, beginning at specified memory address.

uint32_t Memory address to begin reading data. uint32_t* Pointer to data buffer. uint32_t Length to read in bytes.

Definition at line 31 of file eeprom.c.