]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
Corrected timer prescaler constants for different channel.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 27 Mar 2007 17:23:00 +0000 (17:23 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 27 Mar 2007 17:23:00 +0000 (17:23 +0000)
darcs-hash:20070327172350-f2ef6-5de51bece5d80b1d4516efff3f718f1aad5533ef.gz

common/arch/h8300/mach-2638/defines/h8s2638h.h

index 74cc76dbf9ed086356251d76aea72303e1301139..6a0322a97befc2e9625d35c52334f54f348f9cb7 100644 (file)
 #define   TPCR_TPSC_45CC 0x05  /*   TCLKC (only 45) */
 #define   TPCR_TPSC_05CD 0x07  /*   TCLKD (only 05) */
 #define   TPCR_TPSC_135F256 0x06 /*   fi clock/256 (only 135) */
-#define   TPCR_TPSC_234F1024 0x05 /*   fi clock/1024 (only 234) */
-#define   TPCR_TPSC_3F4096 0x007    /*   fi clock/4096 (only 3) */
+#define   TPCR_TPSC_2F1024 0x07 /*   fi clock/1024 (only 2) */
+#define   TPCR_TPSC_3F1024 0x05 /*   fi clock/1024 (only 3) */
+#define   TPCR_TPSC_4F1024 0x06 /*   fi clock/1024 (only 4) */
+#define   TPCR_TPSC_3F4096 0x07    /*   fi clock/4096 (only 3) */
 #define   TPCR_CKEGm   0x018   /* Clock edge */
 #define   TPCR_CKEG_RIS        0x000   /*   Rising edge */
 #define   TPCR_CKEG_FAL        0x008   /*   Falling edge */