1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

boards/pttu: configured periph timer

This commit is contained in:
Hauke Petersen 2015-09-04 14:50:57 +02:00
parent 56ffc5672c
commit e84788c695
3 changed files with 22 additions and 0 deletions

View File

@ -1,4 +1,5 @@
FEATURES_PROVIDED += periph_gpio
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_MCU_GROUP = arm7

View File

@ -59,6 +59,11 @@ void bl_init_clks(void);
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @brief Deprecated HW_TIMER definition (to be removed)
*/
#define HW_TIMER TIMER_DEV(0)
/**
* @name dummy-defines for LEDs
* @{

View File

@ -25,6 +25,22 @@
extern "C" {
#endif
/**
* @brief Clock configuration
* @{
*/
#define CLOCK_CORECLOCK (72000000U) /* the msba2 runs with 72MHz */
#define CLOCK_PCLK (CLOCK_CORECLOCK)
/** @} */
/**
* @brief Timer configuration, select a number from 1 to 4
* @{
*/
#define TIMER_NUMOF (1U)
/** @} */
/**
* @brief PWM device and pinout configuration
*/