mpdo

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer struct {
	ObjectIndex canopen.ObjectIndex

	ObserveCobID uint16
	ReceiveCobID uint8
}

func (*Consumer) Listen added in v0.4.1

func (consumer *Consumer) Listen(bus *can.Bus, channel chan [4]byte)

type Producer

type Producer struct {
	ObjectIndex canopen.ObjectIndex

	Data         [4]byte
	RequestCobID uint16
	ReceiveCobID uint8
}

Producer represents a MPDO send message

func (Producer) Do

func (producer Producer) Do(bus *can.Bus) error

Jump to

Keyboard shortcuts

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