|
CircleOS
1
|
Various harware specific utilities for CircleOS. More...
Go to the source code of this file.
Functions | |
| u8 | UTIL_GetUsb (void) |
| void | UTIL_SetIrqHandler (s32 Offs, tHandler pHDL) |
| tHandler | UTIL_GetIrqHandler (s32 Offs) |
| uint_t | UTIL_GetAppAddress (const u8 *AppName) |
| void | UTIL_SetTimer (u32 millisec, void(*fTimerHandler)(void)) |
Definition in file Util_spe.c.
| uint_t UTIL_GetAppAddress | ( | const u8 * | AppName) |
Get the address of an application in the FAT.
| [in] | AppName | pointer on the application name. |
Definition at line 222 of file Util_spe.c.
| tHandler UTIL_GetIrqHandler | ( | s32 | Offs) |
Get the current IRQ handler. Since (V1.6) the vector table is relocated in RAM, the vectors can be easily modified by the applications.
| [in] | Offs | Address in the NVIC table |
Definition at line 200 of file Util_spe.c.
| u8 UTIL_GetUsb | ( | void | ) |
Return the USB connexion state.
Definition at line 158 of file Util_spe.c.
| void UTIL_SetIrqHandler | ( | s32 | Offs, |
| tHandler | pHDL | ||
| ) |
Redirect an IRQ handler.
| [in] | Offs | Address in the NVIC table |
| [in] | pHDL | Pointer to the handler. |
Definition at line 178 of file Util_spe.c.
| void UTIL_SetTimer | ( | u32 | millisec, |
| void(*)(void) | fTimerHandler | ||
| ) |
Program a timer event.
| [in] | millisec | duration to wait before calling the event handler |
| [in] | fTimerHandler | function to be call when the delay will elapse |
Definition at line 266 of file Util_spe.c.