This fork of the MBED Library allows you to use counters on the external counter pins (15/16 for Timer 3, 29/30 for Timer 2) by switching internal timing functions in MBED to utilize Timer 0
Fork of mbed-src by
targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis.h@349:591ef4b19797, 2014-10-23 (annotated)
- Committer:
- bparrott
- Date:
- Thu Oct 23 10:10:42 2014 +0000
- Revision:
- 349:591ef4b19797
- Parent:
- 324:406fd2029f23
This changes the timer used at the core of MBED from Timer 3 to Timer 0. This allows for the use of external pins with both Timer 2 and 3.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 324:406fd2029f23 | 1 | /* mbed Microcontroller Library - CMSIS |
mbed_official | 324:406fd2029f23 | 2 | * Copyright (C) 2009-2011 ARM Limited. All rights reserved. |
mbed_official | 324:406fd2029f23 | 3 | * |
mbed_official | 324:406fd2029f23 | 4 | * A generic CMSIS include header, pulling in LPC11U24 specifics |
mbed_official | 324:406fd2029f23 | 5 | */ |
mbed_official | 324:406fd2029f23 | 6 | |
mbed_official | 324:406fd2029f23 | 7 | #ifndef MBED_CMSIS_H |
mbed_official | 324:406fd2029f23 | 8 | #define MBED_CMSIS_H |
mbed_official | 324:406fd2029f23 | 9 | |
mbed_official | 324:406fd2029f23 | 10 | #include "MK22F51212.h" |
mbed_official | 324:406fd2029f23 | 11 | #include "cmsis_nvic.h" |
mbed_official | 324:406fd2029f23 | 12 | |
mbed_official | 324:406fd2029f23 | 13 | #endif |