S32 SDK
cmp_dac_t Struct Reference

Defines the DAC block. More...

#include <cmp_driver.h>

Data Fields

cmp_voltage_reference_t voltageReferenceSource
 
uint8_t voltage
 
bool state
 

Detailed Description

Defines the DAC block.

This structure is used to configure the DAC block integrated in comparator module Implements : cmp_dac_t_Class

Definition at line 220 of file cmp_driver.h.

Field Documentation

bool state

True if DAC is enabled.

Definition at line 225 of file cmp_driver.h.

uint8_t voltage

The digital value which is converted to analog signal.

Definition at line 224 of file cmp_driver.h.

cmp_voltage_reference_t voltageReferenceSource

CMP_VIN1 if selected voltage reference is VIN1. CMP_VIN2 if selected voltage reference is VIN2.

Definition at line 222 of file cmp_driver.h.


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