Fix paste bug.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 21 Feb 2008 18:09:59 +0000 (18:09 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 21 Feb 2008 18:09:59 +0000 (18:09 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1146 38d2e660-2303-0410-9eaa-f027e97ec537

cpu/arm/io/at91_tc.h

index 5a9772eb2d42d61e1669888d589d8573878e3dfb..080d58813ab761884320d65c0f7b7220bd804f80 100644 (file)
 #define TC2_IDR        (*((reg32_t *)(TC_BASE + TC_TC2_OFF + TC_IDR_OFF))) ///< Channel 2 interrupt disable register address.
 
 #define TC_IMR_OFF              0x0000002C      ///< Interrupt Mask Register offset.
-#define TC0_IMR        (*((reg32_t *)(TC_BASE + TC_TC0_OFF + TC_SR_OFF))) ///< Channel 0 interrupt mask register address.
-#define TC1_IMR        (*((reg32_t *)(TC_BASE + TC_TC1_OFF + TC_SR_OFF))) ///< Channel 1 interrupt mask register address.
-#define TC2_IMR        (*((reg32_t *)(TC_BASE + TC_TC2_OFF + TC_SR_OFF))) ///< Channel 2 interrupt mask register address.
+#define TC0_IMR        (*((reg32_t *)(TC_BASE + TC_TC0_OFF + TC_IMR_OFF))) ///< Channel 0 interrupt mask register address.
+#define TC1_IMR        (*((reg32_t *)(TC_BASE + TC_TC1_OFF + TC_IMR_OFF))) ///< Channel 1 interrupt mask register address.
+#define TC2_IMR        (*((reg32_t *)(TC_BASE + TC_TC2_OFF + TC_IMR_OFF))) ///< Channel 2 interrupt mask register address.
 
 #define TC_COVFS                         0      ///< Counter overflow flag.
 #define TC_LOVRS                         1      ///< Load overrun flag.