You are viewing an older revision! See the latest version

PortIn

The PortIn interface is used to read an underlying GPIO port as one value. This is much faster than BusIn as you can read a port in one go, but much less flexible as you are constrained by the port and bit layout of the underlying GPIO ports.

A mask can be supplied so only certain bits of a port are used, allowing other bits to be used for other interfaces.

Hello World!

Repository: PortIn_HelloWorld

API

Import librarymbed

No documentation found.

Interface

The PortIn Interface can use any pin with a blue label, as long as all the pins used are in the same GPIO port

/media/uploads/chris/pinout-thumbnails.jpg
See the Pinout page for more details

All wikipages