mirror of
https://github.com/ParkerTenBroeck/hdl_sim.git
synced 2026-06-06 21:24:06 -04:00
meow
This commit is contained in:
parent
191101591e
commit
2c3928c802
4 changed files with 861 additions and 13 deletions
|
|
@ -3,19 +3,6 @@ use std::{
|
|||
sync::atomic::{AtomicU8, AtomicU32, AtomicU64, Ordering},
|
||||
};
|
||||
|
||||
#[repr(u8)]
|
||||
pub enum Sig {
|
||||
SU = 0,
|
||||
SX = 1,
|
||||
S0 = 2,
|
||||
S1 = 3,
|
||||
SZ = 4,
|
||||
SW = 5,
|
||||
SL = 6,
|
||||
SH = 7,
|
||||
SD = 8
|
||||
}
|
||||
|
||||
pub struct SimState{
|
||||
switch: AtomicU32,
|
||||
button: AtomicU32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue