GlobLib
HAL and API libraries for MCUs and hardware.
flashWrite.c File Reference

Source file for flashWrite.h. More...

#include "flashWrite.h"

Go to the source code of this file.

Functions

void FLASHWRITE_setOutput (void(*out_fun)(uint8_t, uint16_t))
 Set the target output stream for flash_put functions. More...
 
void FLASHWRITE_setInput (uint8_t(*in_fun)(uint16_t))
 Set the target input stream for flash_get functions. More...
 
v_fp_u8_u16 FLASHWRITE_getOutput (void)
 Get the current target output stream. More...
 
u8_fp_u16 FLASHWRITE_getInput (void)
 Get the current target input stream. More...
 
uint16_t FLASHWRITE_write_u8 (uint8_t data, uint16_t address)
 Write a unsigned 8 bit integer to address given. More...
 
uint16_t FLASHWRITE_read_u8 (uint8_t *data, uint16_t address)
 Read a unsigned 8 bit integer from address given. More...
 
uint16_t FLASHWRITE_write_8 (int8_t data, uint16_t address)
 Write a signed 8 bit integer to address given. More...
 
uint16_t FLASHWRITE_read_8 (int8_t *data, uint16_t address)
 Read a signed 8 bit integer from address given. More...
 
uint16_t FLASHWRITE_write_c (char data, uint16_t address)
 Write a char to address given. More...
 
uint16_t FLASHWRITE_read_c (char *data, uint16_t address)
 Read a char from address give. More...
 
uint16_t FLASHWRITE_write_u16 (uint16_t data, uint16_t address)
 Write a unsigned 16 bit integer to address given. More...
 
uint16_t FLASHWRITE_read_u16 (uint16_t *data, uint16_t address)
 Read a unsigned 16 bit integer from address give. More...
 
uint16_t FLASHWRITE_write_16 (int16_t data, uint16_t address)
 Write a signed 16 bit integer to address give. More...
 
uint16_t FLASHWRITE_read_16 (int16_t *data, uint16_t address)
 Read a signed 16 bit integer from address give. More...
 
uint16_t FLASHWRITE_write_u32 (uint32_t data, uint16_t address)
 Write a unsigned 32 bit integer to address given. More...
 
uint16_t FLASHWRITE_read_u32 (uint32_t *data, uint16_t address)
 Read a unsigned 32 bit integer from address given. More...
 
uint16_t FLASHWRITE_write_32 (int32_t data, uint16_t address)
 Write a signed 32 bit integer to address given. More...
 
uint16_t FLASHWRITE_read_32 (int32_t *data, uint16_t address)
 Read a signed 32 bit integer from address given. More...
 
uint16_t FLASHWRITE_write_float (float f_data, uint16_t address)
 Write a float to address given. More...
 
uint16_t FLASHWRITE_read_float (float *f_data, uint16_t address)
 Read a float from address given. More...
 

Detailed Description

Source file for flashWrite.h.

Author
Stuart Ianna
Version
0.1
Date
December 2018
Warning
None
Bug:
Verified Compilers
  • arm-none-eabi-gcc (15:4.9.3+svn231177-1) 4.9.3 20150529 (prerelease)

Definition in file flashWrite.c.