hh
Dependencies: VL6180x X_NUCLEO_COMMON X_NUCLEO_IHM01A1 mbed
Fork of 1-DoorCloser_jor by
Interrupts management functions
[ALS functions]
Interrupts management functions. More...
Functions | |
int | GetInterruptStatus (uint8_t *status) |
Get all interrupts cause. | |
int | ClearInterrupt (uint8_t IntClear) |
Clear given system interrupt condition. |
Detailed Description
Interrupts management functions.
Function Documentation
int ClearInterrupt | ( | uint8_t | IntClear ) | [inherited] |
Clear given system interrupt condition.
- Function Description
- Clear given interrupt cause by writing into register SYSTEM_INTERRUPT_CLEAR register.
- Parameters:
-
dev The device IntClear 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 981 of file vl6180x_class.h.
int GetInterruptStatus | ( | 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 967 of file vl6180x_class.h.
Generated on Tue Jul 12 2022 22:31:09 by 1.7.2