CubeMon-Vue-Demo-STM32F407VGT6U
init.h File Reference

Initialization of digital/analog inputs and outputs. More...

Go to the source code of this file.

Enumerations

enum  digInputs {
  DI_NONE , DI_BUTTON , DI_1 , DI_2 ,
  DI_NONE
}
 
enum  digOutputs {
  DO_NONE , DO_LED_ORANGE , DO_LED_RED , DO_LED_BLUE ,
  DO_NONE
}
 
enum  anaInputs { AI_NONE , AI_1 , AI_2 , AI_NONE }
 
enum  anaOutputs { AO_NONE , AO_1 , AO_2 , AO_NONE }
 

Functions

void init (void)
 

Detailed Description

Initialization of digital/analog inputs and outputs.

Author
panvicka
Date
2.1.2022

Enumeration Type Documentation

◆ anaInputs

enum anaInputs
Enumerator
AI_1 

AI_1 (PA1)

AI_2 

AI_2 (PA2)

◆ anaOutputs

enum anaOutputs
Enumerator
AO_1 

AO_1 (PA4)

AO_2 

AO_2 (PA5)

◆ digInputs

enum digInputs
Enumerator
DI_BUTTON 

User button.

DI_1 

DI_1 (PE7, active high)

DI_2 

DI_2 (PE8, active low)

DI_NONE 

DUMMY to keep the track of enum length.

◆ digOutputs

enum digOutputs
Enumerator
DO_LED_ORANGE 

Orange LED (PD13)

DO_LED_RED 

Red LED (PD14)

DO_LED_BLUE 

Blue LED (PD15)

DO_NONE 

DUMMY to keep the track of enum length.