38 #ifndef _PAL_OS_LOCK_H_ 39 #define _PAL_OS_LOCK_H_ uint8_t lock
Definition: pal_os_lock.h:51
struct pal_os_lock pal_os_lock_t
PAL OS lock structure .
This file provides the prototype declarations of platform abstraction layer.
PAL OS lock structure .
Definition: pal_os_lock.h:49
pal_status_t pal_os_lock_acquire(pal_os_lock_t *p_lock)
Acquires a lock.
Definition: pal_os_lock_arduino.cpp:50
void pal_os_lock_destroy(pal_os_lock_t *p_lock)
Deinitializes the lock.
Definition: pal_os_lock_arduino.cpp:45
void pal_os_lock_enter_critical_section(void)
To enter critical section.
Definition: pal_os_lock_arduino.cpp:60
void pal_os_lock_release(pal_os_lock_t *p_lock)
Releases the lock.
Definition: pal_os_lock_arduino.cpp:55
void pal_os_lock_create(pal_os_lock_t *p_lock, uint8_t lock_type)
Creates a lock.
Definition: pal_os_lock_arduino.cpp:40
void pal_os_lock_exit_critical_section(void)
To exit critical section.
Definition: pal_os_lock_arduino.cpp:64
uint8_t type
Definition: pal_os_lock.h:52
uint16_t pal_status_t
PAL return status.
Definition: pal.h:60