Skip to content

Class AnalogCommunication

ClassList > AnalogCommunication

Public Static Functions

Type Name
float32_t getAnalogCommValue ()
Get the analog value.
void init ()
Initializing analog communication (ADC and DAC)
void setAnalogCommValue (uint32_t analog_bus_value)
Set the analog value, the DAC output.

Public Static Functions Documentation

function getAnalogCommValue

Get the analog value.

static float32_t AnalogCommunication::getAnalogCommValue () 

Returns:

Analog value (A value between 0 and 4096)


function init

static void AnalogCommunication::init () 

function setAnalogCommValue

Set the analog value, the DAC output.

static void AnalogCommunication::setAnalogCommValue (
    uint32_t analog_bus_value
) 

Parameters:

  • analog_bus_value A value between 0 and 4096


The documentation for this class was generated from the following file docs/core/zephyr/modules/owntech_communication/zephyr/src/AnalogCommunication.h