Graphics framework for GR-PEACH. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE

Dependents:   ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample GR-PEACH_LCD_4_3inch_Save_to_USB ... more

Embed: (wiki syntax)

« Back to documentation index

locking.h File Reference

locking.h File Reference

Lock related FIT BSP. More...

Go to the source code of this file.

Functions

bool_t R_BSP_HardwareLock (mcu_lock_t const HardwareIndex)
 Attempts to reserve a hardware peripheral lock.
bool_t R_BSP_HardwareUnlock (mcu_lock_t const HardwareIndex)
 Releases a hardware peripheral lock.
bool_t R_BSP_SoftwareLock (BSP_CFG_USER_LOCKING_TYPE *const LockObject)
 Attempts to reserve a lock.
bool_t R_BSP_SoftwareUnlock (BSP_CFG_USER_LOCKING_TYPE *const LockObject)
 Releases a lock.

Detailed Description

Lock related FIT BSP.

Functions.

Module:
OSPL
PublicVersion:
0.90

(=R_OSPL_VERSION)

Rev:
35
Date:
2014-04-15 21:38:18 +0900#

Definition in file locking.h.


Function Documentation

bool_t R_BSP_HardwareLock ( mcu_lock_t const   HardwareIndex )

Attempts to reserve a hardware peripheral lock.

Parameters:
HardwareIndexIndex of lock to acquire from the hardware lock array.
Returns:
true = Successful, false = Failure

Definition at line 78 of file locking.c.

bool_t R_BSP_HardwareUnlock ( mcu_lock_t const   HardwareIndex )

Releases a hardware peripheral lock.

Parameters:
HardwareIndexIndex of lock to release from the hardware lock array.
Returns:
true = Successful, false = Failure

Definition at line 196 of file locking.c.

bool_t R_BSP_SoftwareLock ( BSP_CFG_USER_LOCKING_TYPE *const   LockObject )

Attempts to reserve a lock.

Parameters:
LockObjectPointer to lock structure with lock to try and acquire.
Returns:
true = Successful, false = Failure

Definition at line 242 of file locking.c.

bool_t R_BSP_SoftwareUnlock ( BSP_CFG_USER_LOCKING_TYPE *const   LockObject )

Releases a lock.

Parameters:
LockObjectPointer to lock structure with lock to release.
Returns:
true = Successful, false = Failure

Definition at line 288 of file locking.c.