This section groups all the functions that manage interrupt pins.
More...
This section groups all the functions that manage interrupt pins.
◆ iis328dq_int1_notification_get()
int32_t Accelerometer::iis328dq_int1_notification_get |
( |
iis328dq_lir1_t * |
val | ) |
|
Latch interrupt request on INT1_SRC register, with INT1_SRC register cleared by reading INT1_SRC register.[get].
- Parameters
-
val | Get the values of lir1 in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1108 of file accelerometer.cpp.
◆ iis328dq_int1_notification_set()
int32_t Accelerometer::iis328dq_int1_notification_set |
( |
iis328dq_lir1_t |
val | ) |
|
Latch interrupt request on INT1_SRC register, with INT1_SRC register cleared by reading INT1_SRC register.[set].
- Parameters
-
val | change the values of lir1 in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1086 of file accelerometer.cpp.
◆ iis328dq_int2_notification_get()
int32_t Accelerometer::iis328dq_int2_notification_get |
( |
iis328dq_lir2_t * |
val | ) |
|
Latch interrupt request on INT2_SRC register, with INT2_SRC register cleared by reading INT2_SRC itself.[get].
- Parameters
-
val | Get the values of lir2 in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1218 of file accelerometer.cpp.
◆ iis328dq_int2_notification_set()
int32_t Accelerometer::iis328dq_int2_notification_set |
( |
iis328dq_lir2_t |
val | ) |
|
Latch interrupt request on INT2_SRC register, with INT2_SRC register cleared by reading INT2_SRC itself.[set].
- Parameters
-
val | change the values of lir2 in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1196 of file accelerometer.cpp.
◆ iis328dq_pin_int1_route_get()
Data signal on INT 1 pad control bits.[get].
- Parameters
-
val | Get the values of i1_cfg in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1048 of file accelerometer.cpp.
◆ iis328dq_pin_int1_route_set()
Data signal on INT 1 pad control bits.[set].
- Parameters
-
val | change the values of i1_cfg in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1027 of file accelerometer.cpp.
◆ iis328dq_pin_int2_route_get()
Data signal on INT 2 pad control bits.[get].
- Parameters
-
val | Get the values of i2_cfg in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1158 of file accelerometer.cpp.
◆ iis328dq_pin_int2_route_set()
Data signal on INT 2 pad control bits.[set].
- Parameters
-
val | change the values of i2_cfg in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1137 of file accelerometer.cpp.
◆ iis328dq_pin_mode_get()
Push-pull/open drain selection on interrupt pads.[get].
- Parameters
-
val | Get the values of pp_od in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1268 of file accelerometer.cpp.
◆ iis328dq_pin_mode_set()
Push-pull/open drain selection on interrupt pads.[set].
- Parameters
-
val | change the values of pp_od in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1247 of file accelerometer.cpp.
◆ iis328dq_pin_polarity_get()
int32_t Accelerometer::iis328dq_pin_polarity_get |
( |
iis328dq_ihl_t * |
val | ) |
|
Interrupt active-high/low.[get].
- Parameters
-
val | Get the values of ihl in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1318 of file accelerometer.cpp.
◆ iis328dq_pin_polarity_set()
int32_t Accelerometer::iis328dq_pin_polarity_set |
( |
iis328dq_ihl_t |
val | ) |
|
Interrupt active-high/low.[set].
- Parameters
-
val | change the values of ihl in reg CTRL_REG3 |
- Return values
-
Interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1297 of file accelerometer.cpp.