source: ecs_cellMon/firmware/src/output.c @ 3

Last change on this file since 3 was 3, checked in by f.jahn, 20 months ago

fw hinzugfügt-->zed

File size: 1.5 KB
Line 
1/**
2  ******************************************************************************
3  * @file    output.c
4  * @author  ECS, Falko Jahn
5  * @version V1.0.0
6  * @date    29-Jan-2021
7  * @brief   Output Modul
8  *          Beschreibung in Header
9  ******************************************************************************
10  */ 
11
12// --- INCLUDES ----------------------------------------------------------------
13#include "output.h"
14#include "main.h"
15//--- GGF. EXTERNE VARIABLEN --------------------------------------------------- 
16
17//--- LOKALE DEFINES - bitte hier dokumentieren --------------------------------
18
19//--- LOKALE TYPE DEFS - bitte hier dokumentieren-------------------------------
20
21//--- DEFINATIONEN GLOBALER VARIABLEN - Bitte in Header dokumentieren ----------
22
23//--- LOKALE VARIABLEN - bitte hier dokumentieren ------------------------------
24
25
26//--- LOKALE FUNKTIONS PROTOTYPEN ----------------------------------------------
27
28   
29
30//--- LOKALE FUNKTIONEN - bitte hier dokumentieren -----------------------------
31
32//--- GLOBALE FUNKTIONEN - bitte in Header dokumentieren------------------------
33void OUTPUT_Init(void)
34{
35 
36}
37
38void OUTPUT_OVP_Enable()
39{
40  HAL_GPIO_WritePin(OVP_GPIO_Port,OVP_Pin,GPIO_PIN_RESET);
41}
42 
43void OUTPUT_LVP_Enable()
44{
45  HAL_GPIO_WritePin(LVP_GPIO_Port,LVP_Pin,GPIO_PIN_RESET);
46}
47
48void OUTPUT_OVP_Disable()
49{
50  HAL_GPIO_WritePin(OVP_GPIO_Port,OVP_Pin,GPIO_PIN_SET);
51}
52 
53void OUTPUT_LVP_Disable()
54{
55  HAL_GPIO_WritePin(LVP_GPIO_Port,LVP_Pin,GPIO_PIN_SET);
56}
57   
Note: See TracBrowser for help on using the repository browser.