STM32F103 port
This commit is contained in:
parent
030933ee2e
commit
baa0dd90c9
12 changed files with 2489 additions and 0 deletions
19
cpu/arm/stm32f103/rtimer-arch.h
Normal file
19
cpu/arm/stm32f103/rtimer-arch.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* \file
|
||||
* Header file for the STM32F103-specific rtimer code
|
||||
* \author
|
||||
* Simon Berg <ksb@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
#ifndef __RTIMER_ARCH_H__
|
||||
#define __RTIMER_ARCH_H__
|
||||
|
||||
#include "sys/rtimer.h"
|
||||
|
||||
#define RTIMER_ARCH_SECOND (MCK/1024)
|
||||
|
||||
void rtimer_arch_set(rtimer_clock_t t);
|
||||
|
||||
rtimer_clock_t rtimer_arch_now(void);
|
||||
|
||||
#endif /* __RTIMER_ARCH_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue