1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-19 19:43:52 +01:00
RIOT/cpu/stm32/include/periph/cpu_vbat.h

41 lines
703 B
C

/*
* Copyright (C) 2022 Otto-von-Guericke-Universität Magdeburg
*
* 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.
*/
#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
/** @} */