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 ST

Embed: (wiki syntax)

« Back to documentation index

Interrupts management functions

Interrupts management functions

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:
devThe device
int_clearWhich 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:
statusPtr to interrupt status. You can use IntrStatus_t::val
Returns:
0 on success

Definition at line 1113 of file vl53l0x_class.h.