NetBurner 3.1
hal.h File Reference

NetBurner Hardware Abstraction Layer (HAL) More...

#include <stdint.h>

Go to the source code of this file.

Functions

void HardwareSetup ()
 Initializes the system hardware such as the timer, cache and clock speed.
 
void ForceReboot (bool bFromException=false)
 Forces the system hardware to perform a soft reset.
 
void FlashErase (void *pWhere, int len)
 Erases the flash memory. More...
 
void FlashProgram (void *pWhere, void *pWhat, int len)
 Program flash memory. More...
 
void FlashProgramAppImage (void *pWhere, void *pWhat, int len)
 Write an application image to flash memory. More...
 
void DisableCache ()
 Disable the instruction and data cache.
 
void EnableCache ()
 Enable the instruction and data cache.
 
uint32_t spaceleft ()
 Report how much free unallocated space is left in dynamic memory. More...
 
uint16_t HalGetTickFraction (void)
 Returns the fraction of the current system time tick. More...
 
void StdioCheckIntc (void)
 Check STDIO interrupt sources. More...
 
void SysLogCheckIntc (void)
 This is just like the StdioCheckIntc() function, except that the results are displayed via UDP. More...
 

Variables

void(* watchdog_service_function )(void)
 Watchdog callback service function. More...
 
uint32_t HalTickMaxCount
 Rollover value for the system hardware tick timer. More...
 

Detailed Description

NetBurner Hardware Abstraction Layer (HAL)