Structure holding event parameters. More...
#include <nrf_drv_csense.h>
Data Fields | |
uint16_t | read_value |
uint8_t | analog_channel |
Structure holding event parameters.
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.