Ht16k33Multi.CircuitSimMock.Ht16k33Mock (ht16k33_multi v0.2.2)
View SourceHt16k33 mock for testing purposes.
This module simulates the Ht16k33 device and is used in conjunction with the CircuitsSim
library
for running tests without requiring real hardware.
It is configured in the config/test.exs
file.
Summary
Types
Functions
@spec child_spec(keyword()) :: Supervisor.child_spec()
@spec new() :: %Ht16k33Multi.CircuitSimMock.Ht16k33Mock{
defval: 0,
gpinten: 0,
gpio: 0,
gppu: 0,
intcap: 0,
intcon: 0,
intf: 0,
iocon: 0,
iodir: 255,
ipol: 0,
olat: 0
}