periph_cpu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Inria
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #ifndef DOXYGEN
27 
32 #define STM32_BOOTLOADER_ADDR (0x1FFF0000)
33 
38 #define VBAT_ADC_RES ADC_RES_12BIT
39 #define VBAT_ADC_MAX 4095
42 #endif /* ndef DOXYGEN */
43 
44 #ifdef __cplusplus
45 }
46 #endif
47