struct CounterState {
counter: u64,
semaphore: bool,
}Expand description
Internal state of a counter
Fields§
§counter: u6464-bit counter value
semaphore: boolSemaphore mode flag (decrement by 1 on read instead of reset)
struct CounterState {
counter: u64,
semaphore: bool,
}Internal state of a counter
counter: u6464-bit counter value
semaphore: boolSemaphore mode flag (decrement by 1 on read instead of reset)