nRF5 SDK v17.1.0
Data Fields
nrf_drv_csense_evt_t Struct Reference

Structure holding event parameters. More...

#include <nrf_drv_csense.h>

Data Fields

uint16_t read_value
 
uint8_t analog_channel
 

Detailed Description

Structure holding event parameters.

Field Documentation

uint8_t nrf_drv_csense_evt_t::analog_channel

Index of the analog channel from which the value was read.

uint16_t nrf_drv_csense_evt_t::read_value
                  Value which was read on the analog channel. For nRF51, this value is voltage in millivolts. For nRF52, it is time in ticks of 10 periods of the relaxation oscillator. Voltage corresponds to capacitance of the pad attached to analog channel and gets higher once it

is touched. Period of relaxation also corresponds to the pad capacitance and increases its value when capacitance gets higher.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated