| Moteur de recherche de fiches techniques de composants électroniques |
|
NRF52805-CAAA-R Fiches technique(PDF) 270 Page - Nordic Semiconductor |
|
|
|||||||||||||||||||||||||||||
NRF52805-CAAA-R Fiches technique(HTML) 270 Page - Nordic Semiconductor |
|
270 / 358 page ![]() Peripherals PRESCALER on page 274 and BITMODE on page 274 must only be updated when the timer is stopped. If these registers are updated while the timer is started, unpredictable behavior may occur. When the timer is incremented beyond its maximum value, the Counter register will overflow and the timer will automatically start over from zero. 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 269. 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 274 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]) Table 85: Instances Register Offset Description TASKS_START 0x000 Start Timer TASKS_STOP 0x004 Stop Timer TASKS_COUNT 0x008 Increment Timer (Counter mode only) 4454_187 v1.2 270 |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |