owdci

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package owdci provides implementation of onewire.DCI interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LPUART

type LPUART lpuart.Driver

LPUART wraps an lpuart.Driver to implements the onewire.DCI.

func SetupLPUART

func SetupLPUART(d *lpuart.Driver) *LPUART

SetupLPUART configures d to be used as onewire.DCI.

func (*LPUART) ReadBit

func (dci *LPUART) ReadBit() (int, error)

func (*LPUART) ReadByte

func (dci *LPUART) ReadByte() (byte, error)

func (*LPUART) Reset

func (dci *LPUART) Reset() error

func (*LPUART) WriteBit

func (dci *LPUART) WriteBit(bit int) error

func (*LPUART) WriteByte

func (dci *LPUART) WriteByte(b byte) error

Jump to

Keyboard shortcuts

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