sn3218

package
v0.0.0-...-6c63987 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SN3218

type SN3218 interface {
	io.Closer

	Reset() error
	Enable(state bool) error
	EnableLEDs(mask uint32) error
	GetChannelGamma(channel uint8) *[256]byte
	SetChannelGamma(channel uint8, gamma *[256]byte)
	Output(values [18]byte) error
	SetLED(channel uint8, intensity byte) error
	GetLED(channel uint8) byte
}

func GetSN3218

func GetSN3218() SN3218

Obtain access to SN3218 singleton instance. This method performs lazy initialization, the instance doesn't exist before first invocation.

Jump to

Keyboard shortcuts

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