18.4.2 Timer x Load Value Register

Table 18-6. 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.