hal_bb_gpio(9) | HAL Component | hal_bb_gpio(9) |
hal_bb_gpio - Driver for beaglebone GPIO pins
loadrt hal_bb_gpio user_leds=#,... input_pins=#,... output_pins=#,...
The user_leds loadrt parameter controls which LEDs are available to HAL. Valid range: 0..3. These LEDs are next to the ethernet jack and the LinuxCNC numbers match the silkscreen on beaglbone black. Empirically, these seem to be OR'd with whatever function is assigned to the LED in Linux.
The input_pins loadrt parameter controls which physical I/O pins are available to HAL as input pins. The numbering is "800+N" for pin N on connector P8, and "900+N" for pin N on connector P9. For example, "803" means connector P8 pin 3, which is also described in BeagleBone documentation as "gpmc_ad6".
Specifying pins that are otherwise in use by the system may have undesirable side effects, such as crashing rtapi_app or the whole system.
The input_pins loadrt parameter controls which physical I/O pins are available to HAL as input pins. The numbering is "800+N" for pin N on connector P8, and "900+N" for pin N on connector P9.
Specifying pins that are otherwise in use by the system may have undesirable side effects, such as crashing rtapi_app or the whole system.
None
GPL
LinuxCNC Documentation |