/* * SPDX-FileCopyrightText: 2020 Inria * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once /** * @ingroup cpu_stm32 * @{ * * @file * @brief STM32L5 CPU specific definitions for internal peripheral handling * * @author Alexandre Abadie * */ #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_12BIT #define VBAT_ADC_MAX 4095 /** @} */ #endif /* ndef DOXYGEN */ #ifdef __cplusplus } #endif /** @} */