stm32f1: Convert code to use armcm_timer
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
#define __STM32F1_INTERNAL_H
|
||||
// Local definitions for STM32F1 code
|
||||
|
||||
#include "stm32f1xx.h"
|
||||
|
||||
#define GPIO(PORT, NUM) (((PORT)-'A') * 16 + (NUM))
|
||||
#define GPIO2PORT(PIN) ((PIN) / 16)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user