[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
This commit is contained in:
utzig 2014-11-11 11:31:06 +00:00
parent 5c0a95bd3b
commit 47d5bf0b31
1 changed files with 4 additions and 12 deletions

View File

@ -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];