Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
20
#ifndef PERIPH_G0_PERIPH_CPU_H
21
#define PERIPH_G0_PERIPH_CPU_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
#ifndef DOXYGEN
28
33
#define STM32_BOOTLOADER_ADDR (0x1FFF0000)
34
39
#define VBAT_ADC_RES ADC_RES_12BIT
40
#define VBAT_ADC_MAX 4095
43
#endif
/* ndef DOXYGEN */
44
48
#if defined(CPU_LINE_STM32G0B1xx) || defined(CPU_LINE_STM32G081xx) || \
49
defined(CPU_LINE_STM32G071xx) || defined(CPU_LINE_STM32G0C1xx)
50
#define TIM6_DAC_LPTIM1_SHARED_IRQ
51
#endif
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#endif
/* PERIPH_G0_PERIPH_CPU_H */
Generated on Sat Nov 23 2024 01:58:06 by
1.9.8