Elevator v2.0
Elevator Documenation
Loading...
Searching...
No Matches
PressureSensor Struct Reference

PressureSensor structure for Force-Sensitive Sensor. More...

#include <pressure_sensor.h>

Collaboration diagram for PressureSensor:
Collaboration graph

Data Fields

adc_bits_width_t width
 
adc1_channel_t channel
 
adc_atten_t atten
 

Detailed Description

PressureSensor structure for Force-Sensitive Sensor.

This is a custom data structure for Force-Sensitive Sensor

Example

typedef struct{
adc_bits_width_t width; //ADC width
adc1_channel_t channel; // sensor channel
adc_atten_t atten; // ADC attenuation
PressureSensor structure for Force-Sensitive Sensor.
Definition: pressure_sensor.h:39
adc1_channel_t channel
Definition: pressure_sensor.h:41
adc_bits_width_t width
Definition: pressure_sensor.h:40
adc_atten_t atten
Definition: pressure_sensor.h:42

Field Documentation

◆ atten

adc_atten_t PressureSensor::atten

ADC attenuation

◆ channel

adc1_channel_t PressureSensor::channel

Sensor channel

◆ width

adc_bits_width_t PressureSensor::width

ADC width


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