#include <stdint.h>
#include "asf.h"
#define EEDATA_MAX_ADDR 0x4000 |
#define EXTERN_MAX_ADDR 0x8000 |
#define MAX_EEPROM_PARAM_INDEX 0x18AU |
#define UNIQUE_ID_OFFSET 0x80F8 |
#define USER_MEM_BASE 0x0300 |
#define USER_MEM_SIZE 0x0100 |
uint16_t System_GetAnalogReading |
( |
uint8_t |
channel | ) |
|
void System_GetExternalEui |
( |
uint8_t * |
id | ) |
|
void SystemBlockingWaitMs |
( |
uint32_t |
ms | ) |
|
Performs a blocking delay.
- Parameters
-
[in] | ms | Delay time in milliseconds |
- Note
- : This function should allow interrupts to happen (unless it was called from an interrupt itself) and keep its timing accurate. Ideally it should do the waiting with the MCU in sleep. Find out how long it takes the MCU to go to and wake up from sleep to see if it makes sense to go to sleep at all
References delay_ms.
Referenced by RADIO_ReadRandom(), RADIO_Reset(), and Radio_WriteMode().