Directories
¶
Path | Synopsis |
---|---|
dci
|
|
devboard
|
|
pico2/examples/blinky
command
Blinky flashes the on-board LED.
|
Blinky flashes the on-board LED. |
pico2/examples/blinky1
command
Blinky flashes the on-board LED.
|
Blinky flashes the on-board LED. |
pico2/examples/crudeblinky
command
Crudeblinky flashes the on-board LED without using HAL.
|
Crudeblinky flashes the on-board LED without using HAL. |
pico2/examples/display
command
Display draws on the connected display.
|
Display draws on the connected display. |
pico2/examples/dma
command
Dma shows how to use the DMA controller for RAM to RAM transfers.
|
Dma shows how to use the DMA controller for RAM to RAM transfers. |
pico2/examples/gpiotest
command
Gpiotest tests all GPIOs exposed as the Pico 2 GPIO pins.
|
Gpiotest tests all GPIOs exposed as the Pico 2 GPIO pins. |
pico2/examples/irqpin
command
Irqpin shows how to setup an IO pin to be an interrupt source.
|
Irqpin shows how to setup an IO pin to be an interrupt source. |
pico2/examples/readpin
command
Readpin polls the state of the GP15 pin and shows it using the onboard LED.
|
Readpin polls the state of the GP15 pin and shows it using the onboard LED. |
pico2/examples/smpblinky
command
Smpblinky tests the Go and noos schedulers.
|
Smpblinky tests the Go and noos schedulers. |
pico2/examples/spi
command
SPI loop test: wire GP3 and GP4 together.
|
SPI loop test: wire GP3 and GP4 together. |
pico2/examples/uart
command
Uart allows to tests the communication over UART peripheral.
|
Uart allows to tests the communication over UART peripheral. |
pico2/examples/ws2812
command
WS2812 uses the UART peripheral to drive the string of the WS2812 RGB LEDs.
|
WS2812 uses the UART peripheral to drive the string of the WS2812 RGB LEDs. |
pico2/module/waveshare/examples/pico-8seg-led
command
Pico-8seg-led uses standard fmt.Fprintf function to prints different chars and numbers on the 8-segment display.
|
Pico-8seg-led uses standard fmt.Fprintf function to prints different chars and numbers on the 8-segment display. |
pico2/module/waveshare/examples/pico-lcd-1.3
command
Pico-lcd-1.3 is similar to the Waveshare demo code for this module.
|
Pico-lcd-1.3 is similar to the Waveshare demo code for this module. |
pico2/module/waveshare/examples/pico-restouch-lcd-2.8
command
Pico-restouch-lcd-2.8 allows to test the LCD module.
|
Pico-restouch-lcd-2.8 allows to test the LCD module. |
weacta10/examples/blinky
command
Blinky flashes the both on-board LEDs using two goroutines.
|
Blinky flashes the both on-board LEDs using two goroutines. |
weacta10/examples/irqbtn
command
Irqbtn shows how to use interrupts to wait for the onboard button to be pressed.
|
Irqbtn shows how to use interrupts to wait for the onboard button to be pressed. |
weacta10/examples/readbtn
command
|
|
weacta10/examples/smpblinky
command
Smpblinky tests the Go and noos schedulers.
|
Smpblinky tests the Go and noos schedulers. |
weacta10/examples/ws2812
command
|
|
hal
|
|
dma
Package dma provides interface to the DMA controller.
|
Package dma provides interface to the DMA controller. |
dma/dmairq
Package dmairq allows to share the limited number of system-level DMA interrupts between the interrupt service routines (ISRs, interrupt hadlers) for individual DMA channels.
|
Package dmairq allows to share the limited number of system-level DMA interrupts between the interrupt service routines (ISRs, interrupt hadlers) for individual DMA channels. |
mem/nocache
Package nocache allows to allocate variables and slices of arbitrary type in the DMA-capable non-cached memory.
|
Package nocache allows to allocate variables and slices of arbitrary type in the DMA-capable non-cached memory. |
system/init
Package init when imported configures the whole system for typical usage assuming it's RPI Pico 2 compatible, that is, it's clocked from 12 MHz crystal, the XIP QSPI Flash supports 133 MHz clock, the IOVDD >= 2.5 V. Both the CPU and Flash are configured to run at conservative 125 MHz.
|
Package init when imported configures the whole system for typical usage assuming it's RPI Pico 2 compatible, that is, it's clocked from 12 MHz crystal, the XIP QSPI Flash supports 133 MHz clock, the IOVDD >= 2.5 V. Both the CPU and Flash are configured to run at conservative 125 MHz. |
system/timer/riscvst
Package riscvst provides the implementation of a tickless system timer based on the RISCV platform timer.
|
Package riscvst provides the implementation of a tickless system timer based on the RISCV platform timer. |
Click to show internal directories.
Click to hide internal directories.