Detail comment in timer configuration of S5L870x.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28792 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2010-12-11 09:41:24 +00:00
parent e4a233ed9b
commit 41c9d43efc

View file

@ -44,7 +44,7 @@ void tick_start(unsigned int interval_in_ms)
/* configure timer for 10 kHz */ /* configure timer for 10 kHz */
TBCMD = (1 << 1); /* TB_CLR */ TBCMD = (1 << 1); /* TB_CLR */
TBPRE = 300 - 1; /* prescaler */ TBPRE = 300 - 1; /* prescaler for 48 MHz HCLK */
TBCON = (0 << 13) | /* TB_INT1_EN */ TBCON = (0 << 13) | /* TB_INT1_EN */
(1 << 12) | /* TB_INT0_EN */ (1 << 12) | /* TB_INT0_EN */
(0 << 11) | /* TB_START */ (0 << 11) | /* TB_START */