pi2

package
v0.0.0-...-d73fcdd Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: BSD-3-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package pi2 provides hardware initialization, automatically on import, for the Raspberry Pi 2 single board computer.

This package is only meant to be used with `GOOS=tamago GOARCH=arm` as supported by the TamaGo framework for bare metal Go on ARM SoCs, see https://github.com/f-secure-foundry/tamago.

Index

Constants

View Source
const (
	// Activity LED
	ACTIVITY = 0x2f
	// Power LED
	POWER = 0x23
)

LED GPIO lines

Variables

View Source
var Board pi.Board = &board{}

Board provides access to the capabilities of the Pi2.

Functions

func Init

func Init()

Init takes care of the lower level SoC initialization triggered early in runtime setup.

Types

This section is empty.

Jump to

Keyboard shortcuts

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