mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
44 lines
710 B
C
44 lines
710 B
C
|
/*
|
||
|
* Copyright (C) 2016 Kees Bakker, SODAQ
|
||
|
*
|
||
|
* 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 boards_common_sodaq
|
||
|
* @{
|
||
|
*
|
||
|
* @file
|
||
|
* @brief Default RTC configuration for SODAQ boards
|
||
|
*
|
||
|
* @author Kees Bakker <kees@sodaq.com>
|
||
|
*/
|
||
|
|
||
|
#ifndef CFG_RTC_DEFAULT_H
|
||
|
#define CFG_RTC_DEFAULT_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#include "cpu.h"
|
||
|
#include "periph_cpu.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/**
|
||
|
* @name RTC configuration
|
||
|
* @{
|
||
|
*/
|
||
|
#define RTC_DEV RTC->MODE2
|
||
|
/** @} */
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* CFG_RTC_DEFAULT_H */
|
||
|
/** @} */
|