12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- #ifndef LOCKING_H
- #define LOCKING_H
- #include "mcu_locks.h"
- bool R_BSP_SoftwareLock(BSP_CFG_USER_LOCKING_TYPE * const plock);
- bool R_BSP_SoftwareUnlock(BSP_CFG_USER_LOCKING_TYPE * const plock);
- bool R_BSP_HardwareLock(mcu_lock_t const hw_index);
- bool R_BSP_HardwareUnlock(mcu_lock_t const hw_index);
- #if BSP_CFG_USER_LOCKING_ENABLED != 0
- bool BSP_CFG_USER_LOCKING_SW_LOCK_FUNCTION(BSP_CFG_USER_LOCKING_TYPE * const plock);
- bool BSP_CFG_USER_LOCKING_SW_UNLOCK_FUNCTION(BSP_CFG_USER_LOCKING_TYPE * const plock);
- bool BSP_CFG_USER_LOCKING_HW_LOCK_FUNCTION(mcu_lock_t const hw_index);
- bool BSP_CFG_USER_LOCKING_HW_UNLOCK_FUNCTION(mcu_lock_t const hw_index);
- #endif
- #endif
|