Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
High-Priority Task Execution

High priority task execution. More...

+ Collaboration diagram for High-Priority Task Execution:

Functions

volatile uint16_t sysHighPriorityTasks_Execute (void)
 High priority task sequence executed at a fixed repetition frequency. More...
 

Detailed Description

High priority task execution.

The execution of the sequence of high priority tasks is triggered by the operating system timer interrupt being called on the defined priority level (default = 2). The interrupt service routine utiilzes an alternate working register set for optimum coontext management. By default, alternate working register set #1 is reserved for high priority tasks.

Function Documentation

◆ sysHighPriorityTasks_Execute()

uint16_t sysHighPriorityTasks_Execute ( void  )

High priority task sequence executed at a fixed repetition frequency.

Returns
unsigned integer (0=failure, 1=success)

This application executes different tasks of which some are time critical while others are insensitive against execution period or execution repetition frequency jitter.

The following function calls a sequence of time critical tasks. This function is called by an interrupt service routine at a higher priority than the main loop, enforcing a more time stringent execution repetition frequency.

Definition at line 172 of file main.c.

+ Here is the call graph for this function: