mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
51 lines
940 B
C
51 lines
940 B
C
/*
|
|
* Copyright (C) 2021 Inria
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
/**
|
|
* @ingroup cpu_stm32
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief STM32U5 CPU specific definitions for internal peripheral handling
|
|
*
|
|
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
|
|
*
|
|
*/
|
|
|
|
#ifndef PERIPH_U5_PERIPH_CPU_H
|
|
#define PERIPH_U5_PERIPH_CPU_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef DOXYGEN
|
|
|
|
/**
|
|
* @brief Starting address of the ROM bootloader
|
|
* see application note AN2606
|
|
*/
|
|
#define STM32_BOOTLOADER_ADDR (0x0BF90000)
|
|
|
|
/**
|
|
* @name Constants for internal VBAT ADC line
|
|
* @{
|
|
*/
|
|
#define VBAT_ADC_RES ADC_RES_14BIT
|
|
#define VBAT_ADC_MAX 16383
|
|
/** @} */
|
|
|
|
#endif /* ndef DOXYGEN */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* PERIPH_U5_PERIPH_CPU_H */
|
|
/** @} */
|