| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
sensorsim_state_t Struct Reference
Sensor Data Simulator

Triangular waveform sensor simulator state. More...

`#include <sensorsim.h>`

## Data Fields
uint32_t | current_val
bool | is_increasing

## Detailed Description

Triangular waveform sensor simulator state.

## Field Documentation

uint32_t sensorsim_state_t::current_val

Current sensor value.

bool sensorsim_state_t::is_increasing

TRUE if the simulator is in increasing state, FALSE otherwise.