BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
BSP430 scheduler implementation for FreeRTOS. More...
Macros | |
#define | TIMESLICE_DURATION_tck (portACLK_FREQUENCY_HZ / configTICK_RATE_HZ) |
Functions | |
void | vBSP430freertosSuspendScheduler (void) |
void | vBSP430freertosResumeScheduler (void) |
portBASE_TYPE | xPortStartScheduler (void) |
void | vPortEndScheduler (void) |
static void | scheduler_isr (void) |
BSP430 scheduler implementation for FreeRTOS.
void vBSP430freertosResumeScheduler | ( | void | ) |
Invoke to resume the FreeRTOS scheduler.
This re-enables the task timeslice interrupt and schedules an interrupt after completion of a full timeslice.
The intent is that this be invoked after the application wakes up from a low power mode in which OSCOFF was set.
void vBSP430freertosSuspendScheduler | ( | void | ) |
Invoke to suspend the FreeRTOS scheduler.
This does not suspend any tasks, or prevent the scheduler from resuming the way vTaskEndScheduler does. It merely inhibits the task timeslice interrupt. The intent is that this be invoked prior to suspending the application in a low power mode that includes OSCOFF (e.g., LPM4_bits), if it is determined that no task is blocked on a tick-related event.