nRF5 SDK v12.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 analog channel from which value was read.

uint16_t nrf_drv_csense_evt_t::read_value
                  Value which was read on analog channel. It is voltage in millivolts for NRF51 or time in ticks of 10 periods of relaxation

oscillator for NRF52. Voltage corresponds to capacitance of pad attached to analog channel and gets bigger once it is touched. Period of relaxation also corresponds to pad capacitance and increases its value when capacitance getting bigger.


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

Documentation feedback | Developer Zone | Subscribe | Updated