Chargement…
Chargement…
The timer keeps the programmed period separate from the current value.
Behavior
reset=1 immediately forces both registers to 0.load=1 loads data into both the saved period and count.count is nonzero, the next rising edge decrements it.count is zero, the next rising edge reloads the saved period.tc stays high during the cycle in which count is zero.Reset is asynchronous and loading is synchronous.
| Signal | Direction | Width | Description |
|---|---|---|---|
clk, reset, load | Input | 1 bit | Control |
data | Input | 10 bits | New period |
count | Output | 10 bits | Current value |
tc | Output | 1 bit | End-of-period pulse |