lpc176x: Convert code to use armcm_timer

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-01-31 22:58:01 -05:00
parent 77db1aa379
commit 1096075d9b
4 changed files with 6 additions and 67 deletions

View File

@@ -2,6 +2,8 @@
#define __LPC176X_INTERNAL_H
// Local definitions for lpc176x code
#include "LPC17xx.h"
#define GPIO(PORT, NUM) ((PORT) * 32 + (NUM))
#define GPIO2PORT(PIN) ((PIN) / 32)
#define GPIO2BIT(PIN) (1<<((PIN) % 32))