Skip to main content

Module timer_control

Module timer_control 

Source
Expand description

Timer %s [dim=3] control register

Structs§

TimerControlSpec
Timer %s [dim=3] control register

Enums§

Mode
Timer mode (TIMER_V150, per vendor control_reg_mode_v150_t): 0=one-shot; 1=periodic; 3=free-run (2 is a one-shot alias)

Type Aliases§

CntLockR
Field cnt_lock reader - Current-count latch valid (TIMER_V150): set by HW after a cnt_req snapshot completes; poll until 1 before reading the current-value register.
CntReqR
Field cnt_req reader - Current-count latch request (TIMER_V150): write 1 to snapshot the live down-counter into the current-value register; the HW asserts cnt_lock when the snapshot is ready. Required to read a fresh count on silicon (the current-value register is a latch, not a live counter).
CntReqW
Field cnt_req writer - Current-count latch request (TIMER_V150): write 1 to snapshot the live down-counter into the current-value register; the HW asserts cnt_lock when the snapshot is ready. Required to read a fresh count on silicon (the current-value register is a latch, not a live counter).
EnableR
Field enable reader - Timer enable: 0=disabled; 1=enabled
EnableW
Field enable writer - Timer enable: 0=disabled; 1=enabled
IntMaskR
Field int_mask reader - Interrupt mask: 0=unmasked; 1=masked
IntMaskW
Field int_mask writer - Interrupt mask: 0=unmasked; 1=masked
ModeR
Field mode reader - Timer mode (TIMER_V150, per vendor control_reg_mode_v150_t): 0=one-shot; 1=periodic; 3=free-run (2 is a one-shot alias)
ModeW
Field mode writer - Timer mode (TIMER_V150, per vendor control_reg_mode_v150_t): 0=one-shot; 1=periodic; 3=free-run (2 is a one-shot alias)
R
Register TIMER%s_CONTROL reader
RstfsmW
Field rstfsm writer - Reset FSM: 1=reset timer FSM
W
Register TIMER%s_CONTROL writer