SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
AdcSample Struct Reference

One ADC reading delivered through the pipe. More...

Collaboration diagram for AdcSample:

Public Attributes

stk::Ticks timestamp
 kernel tick at the time of conversion
uint16_t raw
 raw 12-bit ADC value
int64_t timestamp

Detailed Description

One ADC reading delivered through the pipe.

Examples
low_power/example.cpp, and low_power_c/example.c.

Definition at line 60 of file low_power/example.cpp.

Member Data Documentation

◆ raw

uint16_t AdcSample::raw

◆ timestamp [1/2]

stk::Ticks AdcSample::timestamp

kernel tick at the time of conversion

Examples
low_power/example.cpp, and low_power_c/example.c.

Definition at line 62 of file low_power/example.cpp.

Referenced by AdcTimerCallback(), LogTaskEntry(), AdcTimer::OnExpired(), and LogTask< _AccessMode >::Run().

◆ timestamp [2/2]

int64_t AdcSample::timestamp

Definition at line 66 of file low_power_c/example.c.


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