Click or drag to resize

BeaglePlay Class

This class defines identifiers for the devices provided by the BeaglePlay hardware platform.
Inheritance Hierarchy
SystemObject
  IO.Objects.SimpleIO.PlatformsBeaglePlay

Namespace: IO.Objects.SimpleIO.Platforms
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2025.76.2
Syntax
C#
public static class BeaglePlay

The BeaglePlay type exposes the following members.

Fields
 NameDescription
Public fieldStatic memberAN GPIO pin designator for mikroBUS socket AN pin.
Public fieldStatic memberCS GPIO pin designator for mikroBUS socket CS pin.
Remarks
CS can only be used for GPIO if either the mikrobus-gpio.dtbo or the mikrobus-spi-gpio.dtbo device tree overlay has been applied.
Public fieldStatic memberD0 GPIO pin designator for Grove socket pin 1 (D0).
Remarks
D0 can only be used for GPIO if the grove-gpio.dtbio device tree overlay has been applied.
Public fieldStatic memberD1 GPIO pin designator for Grove socket pin 2 (D1).
Remarks
D1 can only be used for GPIO if the grove-gpio.dtbio device tree overlay has been applied.
Public fieldStatic memberI2C_GROVE I2C bus designator for Grove socket I2C bus.
Public fieldStatic memberI2C_MIKROBUS I2C bus designator for mikroBUS socket I2C bus.
Public fieldStatic memberI2C_QWIIC I2C bus designator for QWIIC socket I2C bus.
Public fieldStatic memberINT GPIO pin designator for mikroBUS socket INT pin.
Public fieldStatic memberLED_USR0 User LED 0 device pathname.
Remarks
LED_USR0 and USER_LED refer to the same LED.
Public fieldStatic memberLED_USR1 User LED 1 device pathname.
Public fieldStatic memberLED_USR2 User LED 2 device pathname.
Public fieldStatic memberLED_USR3 User LED 3 device node.
Public fieldStatic memberLED_USR4 User LED 4 device pathname.
Public fieldStatic memberMISO GPIO pin designator for mikroBUS socket MISO pin.
Remarks
MISO can only be used for GPIO if either the mikrobus-gpio.dtbo or the mikrobus-spi-gpio.dtbo device tree overlay has been applied.
Public fieldStatic memberMOSI GPIO pin designator for mikroBUS socket MOSI pin.
Remarks
MOSI can only be used for GPIO if either the mikrobus-gpio.dtbo or the mikrobus-spi-gpio.dtbo device tree overlay has been applied.
Public fieldStatic memberPWM GPIO pin designator for mikroBUS socket PWM pin.
Remarks
PWM can only be used for GPIO if either the mikrobus-gpio.dtbo or the mikrobus-pwm-gpio.dtbo device tree overlay has been applied.
Public fieldStatic memberPWM_GROVE_D0 PWM output designator for Grove socket D0 pin.
Remarks
D0 can only be used for PWM if either the grove-motor1.dtbo or the grove-motor2.dtbo device tree overlay is applied.
Public fieldStatic memberPWM_GROVE_D1 PWM output designator for Grove socket D1 pin.
Remarks
D1 can only be used for PWM if either the grove-motor2.dtbo or the grove-motor3.dtbo device tree overlay is applied.
Public fieldStatic memberPWM_MIKROBUS PWM output designator for mikroBUS socket PWM pin.
Public fieldStatic memberRST GPIO pin designator for mikroBUS socket RST pin.
Public fieldStatic memberRX GPIO pin designator for mikroBUS socket RX pin.
Remarks
RX can only be used for GPIO if either the mikrobus-gpio.dtbo or the mikrobus-uart-gpio.dtbo device tree overlay has been applied.
Public fieldStatic memberSCK GPIO pin designator for mikroBUS socket SCK pin.
Remarks
SCK can only be used for GPIO if either the mikrobus-gpio.dtbo or the mikrobus-spi-gpio.dtbo device tree overlay has been applied.
Public fieldStatic memberSCL GPIO pin designator for mikroBUS socket SCL pin.
Remarks
SCL can only be used for GPIO if either the mikrobus-gpio.dtbo or the mikrobus-i2c-gpio.dtbo device tree overlay has been applied.
Public fieldStatic memberSDA GPIO pin designator for mikroBUS socket SDA pin.
Remarks
SDA can only be used for GPIO if either the mikrobus-gpio.dtbo or the mikrobus-i2c-gpio.dtbo device tree overlay has been applied.
Public fieldStatic memberSPI_MIKROBUS SPI slave device designator for mikroBUS socket SPI bus.
Public fieldStatic memberTX GPIO pin designator for mikroBUS socket TX pin.
Remarks
TX can only be used for GPIO if either the mikrobus-gpio.dtbo or the mikrobus-uart-gpio.dtbo device tree overlay has been applied.
Public fieldStatic memberUART_CC1352 CC1352 Wireless Microcontroller serial port device pathname.
Remarks
The Debian Linux kernel enumerates serial ports differently than MuntsOS Embedded Linux.
Public fieldStatic memberUART_CONSOLE Console serial port (header J6) device pathname.
Remarks
The Debian Linux kernel enumerates serial ports differently than MuntsOS Embedded Linux.
Public fieldStatic memberUART_GROVE Grove socket serial port device pathname.
Remarks
Switching the Grove socket from I2C to a serial port requires applying the grove-serial.dtbo device tree overlay. Debian Linux for the BeaglePlay does not allow this because its kernel reserves the UART1 hardware subsystem for boot loader debugging.
Public fieldStatic memberUART_MIKROBUS mikroBUS socket serial port device pathname.
Remarks
The Debian Linux kernel enumerates serial ports differently than MuntsOS Embedded Linux.
Public fieldStatic memberUSER_BUTTON User button GPIO input.
Remarks
The user button input is active low (pulled to ground when the button is pressed).
Public fieldStatic memberUSER_LED User LED device pathname.
Remarks
USER_LED and LED_USR0 refer to the same LED.
Top
See Also