Updates to follow mbed SDK coding style guidelines.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: 53L0A1_Satellites_with_Interrupts_OS5 Display_53L0A1_OS5
Fork of X_NUCLEO_53L0A1 by
Interrupts management functions. More...
Modules | |
PAL Register Access Functions | |
PAL Register Access Functions. | |
Functions | |
int | get_interrupt_status (uint8_t *status) |
Get all interrupts cause. | |
int | clear_interrupt (uint8_t int_clear) |
Clear given system interrupt condition. |
Detailed Description
Interrupts management functions.
Function Documentation
int clear_interrupt | ( | uint8_t | int_clear ) | [inherited] |
Clear given system interrupt condition.
- Function Description
- Clear given interrupt cause by writing into register SYSTEM_INTERRUPT_CLEAR register.
- Parameters:
-
dev The device int_clear Which interrupt source to clear. Use any combinations of INTERRUPT_CLEAR_RANGING , INTERRUPT_CLEAR_ALS , INTERRUPT_CLEAR_ERROR.
- Returns:
- 0 On success
Definition at line 1127 of file vl53l0x_class.h.
int get_interrupt_status | ( | uint8_t * | status ) | [inherited] |
Get all interrupts cause.
- Parameters:
-
status Ptr to interrupt status. You can use IntrStatus_t::val
- Returns:
- 0 on success
Definition at line 1113 of file vl53l0x_class.h.
Generated on Wed Jul 13 2022 19:35:41 by 1.7.2