Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 1062 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 1048 of file vl6180x_class.h.
Generated on Wed Jul 13 2022 22:31:06 by
1.7.2