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

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

#include <lib/di.h>
#include <lib/do.h>
#include <lib/ai.h>
#include <lib/ao.h>
#include <lib/uti/swo.h>
#include <main.h>
#include <prog/init.h>

Functions

void init (void)
 

Variables

const uint16_t DI_DEBOUNC_MS = 50
 
const uint16_t DI_DOUBLE_PRESS_SPACING = 300
 
const uint16_t DI_LONG_PRESS_MIN_DURATION = 500
 
const uint16_t AI_SAMPLING_AI1 = 600
 
const uint16_t AI_SAMPLING_AI2 = 2000
 
ADC_HandleTypeDef hadc1
 

Detailed Description

Initialization of digital/analog inputs and outputs.

Author
panvicka
Date
2.1.2022