Documentation
¶
Overview ¶
Separate package to for hardware/mdb related config structure. Ugly workaround to import cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillStruct ¶ added in v0.250104.0
type BillStruct struct {
ScalingFactor int `hcl:"scaling_factor"`
}
type CoinStruct ¶ added in v0.250104.0
type CoinStruct struct {
DispenseStrategy int `hcl:"dispense_strategy,optional"` // 0 = uniform dispensing, 1 = first ful tube, 2 = minimal coins
}
type Config ¶
type Config struct {
Bill BillStruct `hcl:"bill,block"`
Coin CoinStruct `hcl:"coin,block"`
LogDebug bool `hcl:"log_debug,optional"`
UartDevice string `hcl:"uart_device,optional"`
UartDriver string `hcl:"uart_driver"` // file|mega|iodin
}
Click to show internal directories.
Click to hide internal directories.