1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 12:03:52 +01:00
RIOT/cpu/stm32/include/periph/cpu_vbat.h
2025-10-02 10:24:48 +02:00

37 lines
580 B
C

/*
* SPDX-FileCopyrightText: 2022 Otto-von-Guericke-Universität Magdeburg
* SPDX-License-Identifier: LGPL-2.1-only
*/
#pragma once
/**
* @ingroup cpu_stm32
* @{
*
* @file
* @brief CPU internal VBAT interface and definitions of the STM32 family
*
* @author Fabian Hüßler <fabian.huessler@ovgu.de>
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Enable the VBAT sampling channel
*/
void vbat_enable(void);
/**
* @brief Disable the VBAT sampling channel
*/
void vbat_disable(void);
#ifdef __cplusplus
}
#endif
/** @} */