Jerry Szczurak / X_NUCLEO_53L0A1

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Dependents:   Display_53L0A1_IntSatelites Display_53L0A1_InterruptMode

Fork of X_NUCLEO_53L0A1 by ST

Embed: (wiki syntax)

« Back to documentation index

Interrupts management functions

Interrupts management 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:
devThe device
IntClearWhich interrupt source to clear. Use any combinations of INTERRUPT_CLEAR_RANGING , INTERRUPT_CLEAR_ALS , INTERRUPT_CLEAR_ERROR.
Returns:
0 On success

Definition at line 1172 of file vl53l0x_class.h.

int GetInterruptStatus ( uint8_t *  status ) [inherited]

Get all interrupts cause.

Parameters:
statusPtr to interrupt status. You can use IntrStatus_t::val
Returns:
0 on success

Definition at line 1157 of file vl53l0x_class.h.