| Electronic Components Datasheet Search |
|
NRF52820-QDAA-R Datasheet(PDF) 301 Page - Nordic Semiconductor |
|
|
|||||||||||||||||||||||||||||
NRF52820-QDAA-R Datasheet(HTML) 301 Page - Nordic Semiconductor |
|
301 / 437 page ![]() Peripherals The Counter register can be cleared by triggering the CLEAR task. This will explicitly set the internal value to zero. TIMER implements multiple capture/compare registers. Independent of prescaler setting, the accuracy of TIMER is equivalent to one tick of the timer frequency fTIMER as illustrated in Block schematic for timer/counter on page 300. 6.21.1 Capture TIMER implements one capture task for every available capture/compare register. Every time the CAPTURE[n] task is triggered, the Counter value is copied to the CC[n] register. 6.21.2 Compare TIMER implements one COMPARE event for every available capture/compare register. A COMPARE event is generated when the Counter is incremented and then becomes equal to the value specified in one of the capture compare registers. When the Counter value becomes equal to the value specified in a capture compare register CC[n], the corresponding compare event COMPARE[n] is generated. BITMODE on page 305 specifies how many bits of the Counter register and the capture/compare register that are used when the comparison is performed. Other bits will be ignored. 6.21.3 Task delays After TIMER is started, the CLEAR, COUNT, and STOP tasks are guaranteed to take effect within one clock cycle of the PCLK16M. 6.21.4 Task priority If the START task and the STOP task are triggered at the same time, meaning within the same period of PCLK16M, the STOP task will be prioritized. 6.21.5 Registers Base address Peripheral Instance Description Configuration 0x40008000 TIMER TIMER0 Timer 0 This timer instance has 4 CC registers (CC[0..3]) 0x40009000 TIMER TIMER1 Timer 1 This timer instance has 4 CC registers (CC[0..3]) 0x4000A000 TIMER TIMER2 Timer 2 This timer instance has 4 CC registers (CC[0..3]) 0x4001A000 TIMER TIMER3 Timer 3 This timer instance has 6 CC registers (CC[0..5]) Table 91: Instances Register Offset Description TASKS_START 0x000 Start Timer TASKS_STOP 0x004 Stop Timer TASKS_COUNT 0x008 Increment Timer (Counter mode only) TASKS_CLEAR 0x00C Clear time TASKS_SHUTDOWN 0x010 Shut down timer Deprecated TASKS_CAPTURE[0] 0x040 Capture Timer value to CC[0] register 4463_156 v1.0 301 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |