DIY Logging Volt/Ampmeter
gpio.h
Go to the documentation of this file.
1
/**
2
******************************************************************************
3
* @file gpio.h
4
* @brief This file contains all the function prototypes for
5
* the gpio.c file
6
******************************************************************************
7
* @attention
8
*
9
* <h2><center>© Copyright (c) 2021 STMicroelectronics.
10
* All rights reserved.</center></h2>
11
*
12
* This software component is licensed by ST under BSD 3-Clause license,
13
* the "License"; You may not use this file except in compliance with the
14
* License. You may obtain a copy of the License at:
15
* opensource.org/licenses/BSD-3-Clause
16
*
17
******************************************************************************
18
*/
19
/* Define to prevent recursive inclusion -------------------------------------*/
20
#ifndef __GPIO_H__
21
#define __GPIO_H__
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
/* Includes ------------------------------------------------------------------*/
28
#include "
main.h
"
29
30
/* USER CODE BEGIN Includes */
31
32
/* USER CODE END Includes */
33
34
/* USER CODE BEGIN Private defines */
35
36
/* USER CODE END Private defines */
37
38
void
MX_GPIO_Init
(
void
);
39
40
/* USER CODE BEGIN Prototypes */
41
42
uint8_t
getSW0
(
void
);
43
void
setSW0
(uint8_t value);
44
uint8_t
getSW1
(
void
);
45
void
setSW1
(uint8_t value);
46
uint8_t
getENCkey
(
void
);
47
void
setENCkey
(uint8_t value);
48
49
/* USER CODE END Prototypes */
50
51
#ifdef __cplusplus
52
}
53
#endif
54
#endif
/*__ GPIO_H__ */
55
56
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
getSW1
uint8_t getSW1(void)
Definition:
gpio.c:51
getSW0
uint8_t getSW0(void)
Definition:
gpio.c:41
setSW1
void setSW1(uint8_t value)
Definition:
gpio.c:56
setSW0
void setSW0(uint8_t value)
Definition:
gpio.c:46
getENCkey
uint8_t getENCkey(void)
Definition:
gpio.c:61
main.h
Main header-file for the high-precision logging voltage/current meter project.
setENCkey
void setENCkey(uint8_t value)
Definition:
gpio.c:66
MX_GPIO_Init
void MX_GPIO_Init(void)
Definition:
gpio.c:81
STM32F103C8T6_powermeter-interface
Core
Inc
gpio.h
Generated on Mon Dec 13 2021 16:18:48 for DIY Logging Volt/Ampmeter by
1.8.17