Skip to content
Snippets Groups Projects
Commit 84d61124 authored by Hauke Petersen's avatar Hauke Petersen
Browse files

boards/avsextrem: configured periph timer

parent e84788c6
No related branches found
No related tags found
No related merge requests found
FEATURES_PROVIDED += periph_gpio
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_MCU_GROUP = arm7
......@@ -56,6 +56,11 @@ extern "C" {
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @brief Deprecated HW_TIMER definition (to be removed)
*/
#define HW_TIMER TIMER_DEV(0)
/**
* @brief Initialize the board's clock system
*/
......
......@@ -25,6 +25,22 @@
extern "C" {
#endif
/**
* @brief Clock configuration
* @{
*/
#define CLOCK_CORECLOCK (72000000U) /* this board 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
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment