Defines | |
| #define | RIT_PERIPHERAL_FRQ (MIOS32_SYS_CPU_FREQUENCY/4) |
| #define | TIM_PERIPHERAL_FRQ MIOS32_SYS_CPU_FREQUENCY |
Functions | |
| s32 | MIOS32_DELAY_Init (u32 mode) |
| s32 | MIOS32_DELAY_Wait_uS (u16 uS) |
| #define RIT_PERIPHERAL_FRQ (MIOS32_SYS_CPU_FREQUENCY/4) |
| #define TIM_PERIPHERAL_FRQ MIOS32_SYS_CPU_FREQUENCY |
Initializes the Timer used by MIOS32_DELAY functions
This function has to be executed before wait functions are used (already done in main.c of the programming model)
Currently the freerunning timer (RIT) is allocated by MIOS32_DELAY functions
| [in] | mode | currently only mode 0 supported |
Waits for a specific number of uS
Example:
// wait for 500 uS MIOS32_DELAY_Wait_uS(500);
| [in] | uS | delay (1..65535 microseconds) |
1.4.7