mdb_config

package
v0.250122.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: CC0-1.0 Imports: 0 Imported by: 0

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"`
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL