1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-18 19:13:51 +01:00
RIOT/sys/include/ztimer/periph_rtc.h
Marian Buschsieweke cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00

51 lines
1.1 KiB
C

/*
* Copyright (C) 2018 Kaspar Schleiser <kaspar@schleiser.de>
*
* 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
/**
* @defgroup sys_ztimer_periph_rtc ztimer periph/rtc backend
* @ingroup sys_ztimer
* @brief ztimer periph/rtc backend
*
* This ztimer module implements a ztimer virtual clock on top of periph/rtc.
*
* @{
*
* @file
* @brief ztimer rtc/timer backend API
*
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#include "ztimer.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief ztimer_periph_rtc structure definition
*
* rtc has no private fields, thus this is just a typedef to ztimer_clock_t.
*/
typedef ztimer_clock_t ztimer_periph_rtc_t;
/**
* @brief ztimer rtc backend initialization function
*
* @param[in, out] clock ztimer_periph_rtc object to initialize
*/
void ztimer_periph_rtc_init(ztimer_periph_rtc_t *clock);
#ifdef __cplusplus
}
#endif
/** @} */