![]() |
DJI Payload SDK
1.5.3
|
This file is a template providing the PSDK system wrapper functions. For example, for an application running on a STM32 MCU with FreeRTOS and CMSIS-RTOS, the files "\psdk_arch\arch_rtos" provide the wrapper functions for inter-thread communication and resource sharing with mutexes. More...
#include "psdk_arch_sys.h"
Functions | |
E_PsdkStat | PsdkSys_MutexNew (uint32_t *mutex) |
Declare the mutex container, initialize the mutex, and create mutex ID. More... | |
E_PsdkStat | PsdkSys_MutexDestroy (uint32_t *mutex) |
Delete the created mutex. More... | |
E_PsdkStat | PsdkSys_MutexLock (uint32_t *mutex) |
Acquire and lock the mutex when peripheral access is required. More... | |
E_PsdkStat | PsdkSys_MutexUnlock (uint32_t *mutex) |
Unlock and release the mutex, when done with the peripheral access. More... | |
E_PsdkStat | PsdkSys_SemaphoreNew (uint32_t *semaphore, uint32_t count) |
Declare the semaphore container, initialize the semaphore, and create semaphore ID. More... | |
E_PsdkStat | PsdkSys_SemaphoreDestroy (uint32_t *semaphore) |
Delete the created semaphore. More... | |
E_PsdkStat | PsdkSys_SemaphoreTimedWait (uint32_t *semaphore, uint32_t waitTime) |
Wait the semaphore until token becomes available. More... | |
E_PsdkStat | PsdkSys_SemaphorePost (uint32_t *semaphore) |
Release the semaphore token. More... | |
This file is a template providing the PSDK system wrapper functions. For example, for an application running on a STM32 MCU with FreeRTOS and CMSIS-RTOS, the files "\psdk_arch\arch_rtos" provide the wrapper functions for inter-thread communication and resource sharing with mutexes.
All information contained herein is, and remains, the property of DJI. The intellectual and technical concepts contained herein are proprietary to DJI and may be covered by U.S. and foreign patents, patents in process, and protected by trade secret or copyright law. Dissemination of this information, including but not limited to data and other proprietary material(s) incorporated within the information, in any form, is strictly prohibited without the express written consent of DJI.
If you receive this source code without DJI’s authorization, you may not further disseminate the information, and you must immediately remove the source code and notify DJI of its removal. DJI reserves the right to pursue legal actions against you for any loss(es) or damage(s) caused by your failure to do so.