gpioscheduler

package
v0.0.0-...-2e4b27e Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pins

type Pins struct {
	Pins map[int]*pin.Pin
	PQ   pq.PriorityQueue
	// contains filtered or unexported fields
}

func NewSafePQPins

func NewSafePQPins() *Pins

func (*Pins) AddPin

func (sp *Pins) AddPin(pin *pin.Pin)

func (*Pins) DeletePin

func (sp *Pins) DeletePin(p int)

func (Pins) GetPin

func (sp Pins) GetPin(p int) *pin.Pin

func (*Pins) GetPins

func (sp *Pins) GetPins() *map[int]*pin.Pin

func (*Pins) GetPinsAsArray

func (sp *Pins) GetPinsAsArray() []*pin.Pin

func (*Pins) PinExists

func (sp *Pins) PinExists(p int) bool

func (*Pins) PrintPQ

func (sp *Pins) PrintPQ() string

func (*Pins) ReadAndRunPin

func (sp *Pins) ReadAndRunPin()

func (*Pins) RemoveSchedule

func (sp *Pins) RemoveSchedule(p int)

func (*Pins) UpdatePin

func (sp *Pins) UpdatePin(pin *pin.Pin)

Jump to

Keyboard shortcuts

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