Changes

30 bytes added ,  22:43, 19 March 2015
no edit summary
Line 1: Line 1: −
There are 3 timers.
+
There are 4 timers.
    
= Registers =
 
= Registers =
Line 10: Line 10:  
|-
 
|-
 
| style="background: green" | Yes
 
| style="background: green" | Yes
| TIMER_VAL(n)
+
| [[#TIMER_VAL|TIMER_VAL]](n)
 
| 0x10003000 + 4*n
 
| 0x10003000 + 4*n
 
| 2
 
| 2
Line 16: Line 16:  
|-
 
|-
 
| style="background: green" | Yes
 
| style="background: green" | Yes
| TIMER_CNT(n)
+
| [[#TIMER_CNT|TIMER_CNT]](n)
 
| 0x10003002 + 4*n
 
| 0x10003002 + 4*n
 
| 2
 
| 2
Line 22: Line 22:  
|}
 
|}
   −
= Timer value =
+
== TIMER_VAL ==
 
Writing to REG_TMxVAL loads a starting value for one of the 4 timers, while reading it will show the current timer value.
 
Writing to REG_TMxVAL loads a starting value for one of the 4 timers, while reading it will show the current timer value.
   −
= Timer control =
+
== TIMER_CNT ==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|+ REG_TMxCNT
 
|+ REG_TMxCNT
Line 47: Line 47:  
|}
 
|}
   −
= Count-up =
+
== Count-up ==
 
When count-up is enabled, the timer value will increase every time the previous timer overflows.
 
When count-up is enabled, the timer value will increase every time the previous timer overflows.