Crate wokwi_chip_ll

Source

Structs§

I2CConfig
SPIConfig
TimerConfig
UARTConfig
WatchConfig
Configuration for pinWatch()

Constants§

ANALOG
BOTH
FALLING
HIGH
INPUT
INPUT_PULLDOWN
INPUT_PULLUP
LOW
NO_PIN
OUTPUT
OUTPUT_HIGH
OUTPUT_LOW
RISING

Functions§

attrInit
attrRead
attrReadFloat
bufferRead
bufferWrite
debugPrint
framebufferInit
getSimNanos
i2cInit
pinADCRead
pinDACWrite
pinInit
Initializes the given pin, and returns a pin indentifier for use with the other pin methods.
pinMode
Configures the given pin as digital input or output.
pinRead
Reads the current digital value of the pin, returns either LOW or HIGH.
pinWatch
Listens for changes in the digital value of the given pin.
pinWatchStop
Stops watching for changes on the given pin.
pinWrite
Set the output value for a digital pin. Use the LOW and HIGH constants for value.
spiInit
spiStart
spiStop
timerInit
timerStart
timerStartNanos
timerStop
uartInit
uartWrite

Type Aliases§

AttrId
BufferId
I2CDevId
PinId
Opaque pin identifier, returned by pinInit()
SPIDevId
TimerId
UARTDevId