onedci

package
v0.0.0-...-3d984ba Latest Latest
Warning

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

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

Documentation

Overview

Package onedci usese STM32 UART/USART peripheral to implement onewire.DCI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type USART

type USART struct {
	Drv *usart.Driver
}

USART wraps *usart.Driver to implement 1-Wire low-level signaling.

func (USART) ReadBit

func (dci USART) ReadBit() (byte, error)

func (USART) ReadByte

func (dci USART) ReadByte() (byte, error)

func (USART) Reset

func (dci USART) Reset() error

func (USART) WriteBit

func (dci USART) WriteBit(bit byte) error

func (USART) WriteByte

func (dci USART) WriteByte(b byte) error

Jump to

Keyboard shortcuts

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