mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-10 00:41:06 +00:00
24 lines
446 B
C
24 lines
446 B
C
|
|
||
|
/**
|
||
|
* various functions to deal with flaws and portability issues
|
||
|
*
|
||
|
* @author Matthias Ringwald
|
||
|
*/
|
||
|
|
||
|
// mspgcc LTS doesn't support 20-bit pointer yet -> put const data into .fartext
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
void waitAboutOneSecond(void);
|
||
|
|
||
|
// single byte read
|
||
|
uint8_t FlashReadByte (uint32_t addr);
|
||
|
|
||
|
// argument order matches memcpy
|
||
|
void FlashReadBlock(uint8_t *buffer, uint32_t addr, uint16_t len);
|
||
|
|
||
|
|
||
|
|