embd: github.com/kidoman/embd/host/bbb Index | Files

package bbb

import "github.com/kidoman/embd/host/bbb"

Package bbb provides BeagleBone Black support. The following features are supported on Linux kernel 3.8+

GPIO (digital (rw), analog (ro), pwm) I²C LED

Index

Package Files

analogpin.go bbb.go pwmpin.go

Constants

const (
    // PWMDefaultPolarity represents the default polarity (Positve or 1) for pwm.
    PWMDefaultPolarity = embd.Positive

    // PWMDefaultDuty represents the default duty (0ns) for pwm.
    PWMDefaultDuty = 0

    // PWMDefaultPeriod represents the default period (500000ns) for pwm. Equals 2000 Hz.
    PWMDefaultPeriod = 500000

    // PWMMaxPulseWidth represents the max period (1000000000ns) supported by pwm. Equals 1 Hz.
    PWMMaxPulseWidth = 1000000000
)

Package bbb imports 13 packages (graph) and is imported by 12 packages. Updated 2016-10-08. Refresh now. Tools for package owners.