mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
e4a233ed9b
commit
41c9d43efc
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue