EasyManua.ls Logo

Microsemi SmartFusion2 - Tim64_Mis; Tim64_Mode; Timer X Value Register

Microsemi SmartFusion2
829 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
System Timer
UG0331 User Guide Revision 15.0 623
19.4.1 Timer x Value Register
19.4.2 Timer x Load Value Register
19.4.3 Timer x Background Load Value Register
TIM64_MIS 0x50 R 0 Masked interrupt status for 64-bit mode
TIM64_MODE 0x54 R/W 0 Timer dual 32-bit or 64-bit
Table 617 • TIMx_VAL
Bit
Number Name R/W
Reset
Value Description
31:0 TIMx_VAL R 0 This register holds the current value of the counter for Timer x. Reading
this register when the timer is set to 64-bit mode returns the reset value.
This is a read only register and writing in this register has no effect.
Table 618 • TIMx_LOADVAL
Bit
Number Name R/W
Reset
Value Description
31:0 TIMx_LOADVAL R/W 0 This register holds the value to load into the counter for Timer x. When
this register is written, the value written is loaded immediately into the
counter, regardless of the mode Timer x is in (Periodic or One-shot). If
Timer x is enabled, the counter starts decrementing from this value.
When operating in Periodic mode, the value in this register is used to
reload the counter when the counter decrements to zero. This register
is overwritten, if the TIMx_BGLOADVAL register is written but the
counter will not be updated with the new value in this case. In Periodic
mode, TIMx_LOADVAL always stores the value, which is loaded into
the counter. Writing or reading this register when the Timer is set to
64-bit mode has no effect. Reading this register in 64-bit mode returns
reset value.
Table 619 • TIMx_BGLOADVAL
Bit
Number Name R/W
Reset
Value Description
31:0 TIMx_BGLOADVA
L
R/W 0 When this register is written, the value written is loaded into the
TIMx_LOADVAL register without updating the counter. This allows a
new value to be loaded into the respective counter without interrupting
the current count cycle. The counter is updated with the new value in
TIMx_LOADVAL, when the counter decrements to 0. Writing this
register when the Timer is set to 64-bit mode has no effect. Reading
this register in 64-bit mode returns the reset value.
Table 616 • Timer Register Map (continued)
Register Name
Address
Offset R/W
Reset
Value Description

Table of Contents

Other manuals for Microsemi SmartFusion2

Related product manuals