STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
_Adc_HwUnit Struct Reference

Hardware control unit structure More...

#include <Adc_Types.h>

Data Fields

const Adc_ConfigTypeConfig
 
boolean InitState
 
uint8 ModuleID
 
boolean SetupResltBuffer
 
uint8GroupNotifFunctionPtr
 
uint8 PwrState
 
boolean PreparePwrStateFlag
 

Detailed Description

Hardware control unit structure

This structure contains the hardware unit configuration and the state of the hardware unit pointers to control structures.

Field Documentation

◆ Config

const Adc_ConfigType* _Adc_HwUnit::Config

Pointer to the configuration structure

◆ GroupNotifFunctionPtr

uint8* _Adc_HwUnit::GroupNotifFunctionPtr

Pointer of a group notifications

◆ InitState

boolean _Adc_HwUnit::InitState

Flag to inform if the Adc module was initialiced

◆ ModuleID

uint8 _Adc_HwUnit::ModuleID

Adc module identificator

◆ PreparePwrStateFlag

boolean _Adc_HwUnit::PreparePwrStateFlag

To inform if the prepare power state was succesfully init

◆ PwrState

uint8 _Adc_HwUnit::PwrState

To store the current power state

◆ SetupResltBuffer

boolean _Adc_HwUnit::SetupResltBuffer

Buffer to store the setup result


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