| Electronic Components Datasheet Search |
|
UM0434 Datasheet(PDF) 66 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0434 Datasheet(HTML) 66 Page - STMicroelectronics |
|
66 / 390 page ![]() UM0434 Register model 67/391 Note: The TSR can be read using mfspr rD,TSR. The TSR cannot be directly written. Instead, TSR bits corresponding to 1 bits in GPR(rS) can be cleared using mtspr TSR,rS. 4.11.3 Time base (TBU and TBL) The time base (TB), seen in Table 44, is composed of two 32-bit registers, the time base upper (TBU) concatenated on the right with the time base lower (TBL). The time base registers provide timing functions for the system and are enabled by setting HID0[TBEN]. The decrementer (DEC) updates at the same frequency, which is selected in HID0[SEL_TBCLK]. TB is a volatile resource and must be initialized during start-up. For details, see Section 4.11: Timer registers on page 63.” The TB is interpreted as a 64-bit unsigned integer that is periodically incremented. Each increment adds 1 to the least-significant bit. The frequency at which the integer is updated is implementation-dependent. TBL increments until its value becomes 0xFFFF_FFFF (232 – 1). At the next increment, its value becomes 0x0000_0000 and TBU is incremented. This process continues until the TBU value becomes 0xFFFF_FFFF and the TBL value becomes 0xFFFF_FFFF (TB is interpreted as 0xFFFF_FFFF_FFFF_FFFF (264 – 1)). At the next increment, the TBU value becomes 0x0000_0000 and the TBL value becomes 0x0000_0000. There is no interrupt (or any other indication). The period depends on the driving frequency. For example, if TB is driven by 100 MHz divided by 32, the TB period is as follows: 36 DIS Decrementer interrupt status. 0 No decrementer event. 1 Decrementer event. When MSR[EE] = TCR[DIE] = 1, a decrementer interrupt is taken. 37 FIS Fixed-interval timer interrupt status. 0 No fixed-interval timer event. 1 Fixed-interval timer event. When MSR[EE] = 1 and TCR[FIE] = 1, a fixed-interval timer interrupt is taken. 38–63 — Reserved, should be cleared. Table 43. Timer status register field descriptions (continued) Bits Name Description Table 44. Time base upper/lower registers (TBU/TBL) 32 63 32 63 Field TBU TBL Reset Undefined on m_por assertion, unchanged on p_reset_b assertion Undefined on m_por assertion, unchanged on p_reset_b assertion R/W User read/Supervisor write User read/Supervisor write SPR 269 Read/285 Write 268 Read/284 Write |
|
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 |