Hilscher netX microcontroller driver  V0.0.5.0
Documentation of the netX driver package
DRV_ADC_HANDLE_T Struct Reference

The handle of the driver. More...

#include <netx_drv_adc.h>

Collaboration diagram for DRV_ADC_HANDLE_T:
Collaboration graph

Public Member Functions

DRV_STATUS_E DRV_ADC_Driver_Init (DRV_ADC_HANDLE_T *const ptDriver)
 Initializes the adc device and handle by the given configuration. More...
 
DRV_STATUS_E DRV_ADC_Driver_DeInit (DRV_ADC_HANDLE_T *const ptDriver)
 Deinitializes the adc device and handle. More...
 
DRV_STATUS_E DRV_ADC_Start (DRV_ADC_HANDLE_T *const ptDriver, DRV_ADC_SEQ_DEVICE_MSK_E eSequencerMask)
 Starts the sequencers given by the mask (software trigger). More...
 
DRV_STATUS_E DRV_ADC_Stop (DRV_ADC_HANDLE_T *const ptDriver, DRV_ADC_SEQ_DEVICE_MSK_E eSequencerMask)
 Stops the sequencers given by the mask. More...
 

Data Fields

DRV_ADC_SEQ_HANDLE_TaptAdcSequencer [4]
 
DRV_ADC_CONFIGURATION_T tConfiguration
 

Private Attributes

DRV_ADC_DEVICE_TptDevice
 
DRV_LOCK_T tLock
 

Detailed Description

The handle of the driver.

The configuration SHALL be changed before initializing the device and shall not be changed afterwards. The rest of it SHALL not be modified outside of the driver, even if it appears to be possible.

Definition at line 551 of file netx_drv_adc.h.

Field Documentation

DRV_ADC_SEQ_HANDLE_T* DRV_ADC_HANDLE_T::aptAdcSequencer[4]

Pointer to the sequencers initiated.

Definition at line 554 of file netx_drv_adc.h.

DRV_ADC_DEVICE_T* DRV_ADC_HANDLE_T::ptDevice
private

The ADC device register as bitfield and value unions.

Definition at line 553 of file netx_drv_adc.h.

DRV_ADC_CONFIGURATION_T DRV_ADC_HANDLE_T::tConfiguration

Contains the configuration of all ADC sequencers.

Definition at line 555 of file netx_drv_adc.h.

DRV_LOCK_T DRV_ADC_HANDLE_T::tLock
private

The drivers locking variable used as internal mutex

Definition at line 556 of file netx_drv_adc.h.


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