riot

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RIOT

type RIOT struct {
	// contains filtered or unexported fields
}

func Create

func Create() *RIOT

func (*RIOT) Access

func (riot *RIOT) Access(write bool, idx uint16, data uint8) (uint8, error)

func (*RIOT) Label

func (riot *RIOT) Label() string

func (*RIOT) PortRead added in v0.7.3

func (riot *RIOT) PortRead(reg Register) (uint8, error)

PortRead connects peripherals to the RIOT via the player ports

func (*RIOT) PortWrite

func (riot *RIOT) PortWrite(reg Register, data uint8, mask uint8) error

PortWrite connects peripherals to the RIOT via the player ports

func (*RIOT) Reset

func (riot *RIOT) Reset()

func (*RIOT) Status

func (riot *RIOT) Status() string

func (*RIOT) String added in v0.7.3

func (riot *RIOT) String() string

func (*RIOT) Tick

func (riot *RIOT) Tick()

type Register added in v0.7.3

type Register int
const (
	SWCHA  Register = 0x00
	SWACNT Register = 0x01
	SWCHB  Register = 0x02
	SWBCNT Register = 0x03
	INTIM  Register = 0x04
	TIMINT Register = 0x05

	TIM1T  Register = 0x04
	TIM8T  Register = 0x05
	TIM64T Register = 0x06
	T1024T Register = 0x07
)

Jump to

Keyboard shortcuts

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