SmartSnippets DA1459x SDK
sys_bsr.h
Go to the documentation of this file.
1 
42 #ifndef SYS_BSR_H_
43 #define SYS_BSR_H_
44 
45 
46 #include "hw_sys.h"
47 
51 void sys_sw_bsr_init(void);
52 
62 void sys_sw_bsr_acquire(SW_BSR_MASTER_ID sw_bsr_master_id, uint32_t periph_id);
63 
73 bool sys_sw_bsr_acquired(SW_BSR_MASTER_ID sw_bsr_master_id, uint32_t periph_id);
74 
83 void sys_sw_bsr_release(SW_BSR_MASTER_ID sw_bsr_master_id, uint32_t periph_id);
84 
85 
86 #endif /* SYS_BSR_H_ */
87 
sys_sw_bsr_init
void sys_sw_bsr_init(void)
Initialize the BSR module.
sys_sw_bsr_acquired
bool sys_sw_bsr_acquired(SW_BSR_MASTER_ID sw_bsr_master_id, uint32_t periph_id)
Checks if exclusive access to a specific peripheral has been acquired from a given master.
hw_sys.h
System Driver header file.
sys_sw_bsr_release
void sys_sw_bsr_release(SW_BSR_MASTER_ID sw_bsr_master_id, uint32_t periph_id)
Releases the exclusive access from a specific peripheral so it can be used by another master.
sys_sw_bsr_acquire
void sys_sw_bsr_acquire(SW_BSR_MASTER_ID sw_bsr_master_id, uint32_t periph_id)
Acquire exclusive access to a specific peripheral when it could also be used by another master....