FOXBORO FBM201d P0922YK輸入接口模塊
計時器1和2電流計數寄存器(TMRCCR12)計時器1和計時器2的當前計數可通過計時器1和定時器2電流計數計數器(TMRCCR 12)讀取,該寄存器位于BAR2中地址的偏移0x20處。該寄存器中的位映射如下:當讀取任一字段時,當前計數值被鎖存并返回。根據WDT控制狀態寄存器(CSR2)中“讀取鎖存選擇”位的設置,有兩種模式決定如何鎖存計數。有關這兩種模式的更多信息,請參閱CSR2寄存器說明。定時器3電流計數寄存器(TMRCCR3)定時器3的電流計數可通過定時器3電流計數器寄存器(TMRC-CR3)讀取,該寄存器位于BAR2中地址的偏移0x24處。此寄存器中的位映射如下:讀取此字段時,鎖存并返回當前計數值。根據WDT控制狀態寄存器(CSR2)中“讀取鎖存選擇”位的設置,有兩種模式決定如何鎖存計數。有關這兩種模式的更多信息,請參閱CSR2寄存器說明。
Timer 1 & 2 Current Count Register (TMRCCR12)
The current count of timers 1 & 2 may be read via the Timer 1 & 2 Current Count
Register (TMRCCR12), located at offset 0x20 from the address in BAR2. The mapping
of bits in this register are as follows:
When either field is read, the current count value is latched and returned. There are
two modes that determine how the count is latched depending on the setting of the
“Read Latch Select” bit in the WDT Control Status Register (CSR2). See the CSR2
register description for more information on these two modes.
Timer 3 Current Count Register (TMRCCR3)
The current count of Timer 3 may be read via the Timer 3 Current Count Register
(TMRCCR3), located at offset 0x24 from the address in BAR2. The mapping of bits in
this register are as follows:When this field is read, the current count value is latched and returned. There are
two modes that determine how the count is latched depending on the setting of the
“Read Latch Select” bit in the WDT Control Status Register (CSR2). See the CSR2
register description for more information on these two modes.