aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-11-11 11:31:06 +0000
committerutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-11-11 11:31:06 +0000
commit47d5bf0b3188b90880238a49f5bc936ef7d627b6 (patch)
tree3ca16da452b7e4814671b4261c758d890fcc1f2b /os
parent5c0a95bd3ba12bd0b334c84350ad66ff21124a6c (diff)
downloadChibiOS-47d5bf0b3188b90880238a49f5bc936ef7d627b6.tar.gz
ChibiOS-47d5bf0b3188b90880238a49f5bc936ef7d627b6.tar.bz2
ChibiOS-47d5bf0b3188b90880238a49f5bc936ef7d627b6.zip
[KINETIS] Make TPM channels easier and more intuitive to use
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7500 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/ext/CMSIS/KINETIS/kl25z.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/os/ext/CMSIS/KINETIS/kl25z.h b/os/ext/CMSIS/KINETIS/kl25z.h
index 4cb53d3d3..8428f36fe 100644
--- a/os/ext/CMSIS/KINETIS/kl25z.h
+++ b/os/ext/CMSIS/KINETIS/kl25z.h
@@ -191,18 +191,10 @@ typedef struct
__IO uint32_t SC;
__IO uint32_t CNT;
__IO uint32_t MOD;
- __IO uint32_t C0SC;
- __IO uint32_t C0V;
- __IO uint32_t C1SC;
- __IO uint32_t C1V;
- __IO uint32_t C2SC;
- __IO uint32_t C2V;
- __IO uint32_t C3SC;
- __IO uint32_t C3V;
- __IO uint32_t C4SC;
- __IO uint32_t C4V;
- __IO uint32_t C5SC;
- __IO uint32_t C5V;
+ struct { // Channels
+ __IO uint32_t SC;
+ __IO uint32_t V;
+ } C[6];
uint32_t RESERVED0[5];
__IO uint32_t STATUS;
uint32_t RESERVED1[12];