Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AltFunc ¶
func AltFunc(pins []iomux.Pin, afs []iomux.AltFunc, psig int, pin iomux.Pin) (af iomux.AltFunc, sel, daisy int)
AltFunc returns the configuration for the pin to be used as the signal number sig of the peripheral number p where psig = p * numSig + sig. See Pins for description of pins and afs.
func AltFuncOld ¶ added in v0.0.5
func Pins ¶
Pins returns the list of pins that can be used for the peripheral number p and the signal number sig where psig = p * numSig + sig. Pins should contain the ordered array of pins that can be used by p. Afs contains alternate functions for these pins and the encoded structure of the I/O mux.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.