Module libbeaglebone::uart [] [src]

The UART module.

The BeagleBone Black has 6 UART interfaces available (UART{0-5}). UART0 is enabled by default and is used by the kernel. The rest of the UART devices can be enabled by using the bone_capemgr module.

As an example, use the following command to enable UART4: sudo sh -c "echo 'BB-UART4' > /sys/devices/platform/bone_capemgr/slots" This command works for recent kernel versions. If you wish to enable another UART, substitute its number for 4 in the command above.

This is currently a simple wrapper around the serialport library due to time constraints.

Structs

UART

The direction of the pin, which can be either an input or output.