This is the PDS Driver Task Manager header file which calls PDS task scheduler.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
#include "system_task_manager.h"
Macros | |
#define | PDS_TASKS_COUNT 1u |
Enumerations | |
enum | PdsTaskIds_t { PDS_STORE_DELETE_TASK_ID = (1 << 0) } |
Functions | |
SYSTEM_TaskStatus_t | PDS_TaskHandler (void) |
PDS task handler. More... | |
void | pdsClearTask (PdsTaskIds_t id) |
Clear task for PDS task manager. More... | |
void | pdsPostTask (PdsTaskIds_t id) |
Set task for PDS task manager. More... | |
#define PDS_TASKS_COUNT 1u |
Referenced by PDS_TaskHandler().
enum PdsTaskIds_t |
SYSTEM_TaskStatus_t PDS_TaskHandler | ( | void | ) |
PDS task handler.
This function is called to process pds task. SHOULD be defined in PDS.
References ATOMIC_SECTION_ENTER, ATOMIC_SECTION_EXIT, PDS_TASK_ID, PDS_TASKS_COUNT, pdsTaskFlags, pdsTaskHandlers, SYSTEM_PostTask(), and SYSTEM_TASK_SUCCESS.
void pdsClearTask | ( | PdsTaskIds_t | id | ) |
Clear task for PDS task manager.
[in] | id | - a single value from the type PdsTaskIds_t |
References ATOMIC_SECTION_ENTER, ATOMIC_SECTION_EXIT, and pdsTaskFlags.
void pdsPostTask | ( | PdsTaskIds_t | id | ) |
Set task for PDS task manager.
[in] | id | - a single value from the type PdsTaskIds_t |
References ATOMIC_SECTION_ENTER, ATOMIC_SECTION_EXIT, PDS_TASK_ID, pdsTaskFlags, and SYSTEM_PostTask().
Referenced by PDS_Delete(), PDS_Store(), PDS_StoreAll(), and pdsStoreDeleteHandler().