host

package
v3.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package host defines the host itself.

Is it now superseded by https://periph.io/x/host/v3 (or later).

See https://periph.io/news/2020/a_new_start/ for more details.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() (*periph.State, error)

Init calls periph.Init() and returns it as-is.

The only difference is that by calling host.Init(), you are guaranteed to have all the drivers implemented in this library to be implicitly loaded.

Example
Output:

Types

This section is empty.

Directories

Path Synopsis
Package allwinner exposes the GPIO functionality that is common to all AllWinner processors.
Package allwinner exposes the GPIO functionality that is common to all AllWinner processors.
Package am335x exposes functionality for the Texas Instruments Sitara AM335x processor family.
Package am335x exposes functionality for the Texas Instruments Sitara AM335x processor family.
Package bcm283x exposes the BCM283x GPIO functionality.
Package bcm283x exposes the BCM283x GPIO functionality.
Package beagle regroups subpackages containing BeagleBoard/BeagleBone board family headers definition.
Package beagle regroups subpackages containing BeagleBoard/BeagleBone board family headers definition.
Package chip contains header definitions for NextThing Co's C.H.I.P. board.
Package chip contains header definitions for NextThing Co's C.H.I.P. board.
Package cpu implements functions relating to the host CPU itself.
Package cpu implements functions relating to the host CPU itself.
Package distro implements common functionality to auto-detect features on the host; generally about linux distributions.
Package distro implements common functionality to auto-detect features on the host; generally about linux distributions.
Package fs provides access to the file system on the host.
Package fs provides access to the file system on the host.
Package odroidc1 contains header definitions for Hardkernel's ODROID C0, C1, and C1+ boards.
Package odroidc1 contains header definitions for Hardkernel's ODROID C0, C1, and C1+ boards.
Package pine64 contains Pine64 hardware logic.
Package pine64 contains Pine64 hardware logic.
Package pmem implements handling of physical memory for user space programs.
Package pmem implements handling of physical memory for user space programs.
Package rpi contains Raspberry Pi hardware logic.
Package rpi contains Raspberry Pi hardware logic.
Package sysfs implements a sane library to interact with sysfs provided hardware access.
Package sysfs implements a sane library to interact with sysfs provided hardware access.
Package videocore interacts with the VideoCore GPU found on bcm283x.
Package videocore interacts with the VideoCore GPU found on bcm283x.

Jump to

Keyboard shortcuts

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