Access Gpio port as byte

Hi,
is there a way to group Gpios as 8 bits (or 16, or more) port ?
I would like to set more than one pin at the same time. It can also be useful for bitwise operations (&, !).

Why would you rent to do that? I am curious.

The only way would be by writing to the registers directly, using marshall class. But this is not recommended.

Brings back memories of the Fez Touch and Parallel pins on USBizi :slight_smile:

Haha yes but those are not needed today. There are plenty of spi display options.

I’m thinking about making a differential output.
Simultaneity is not absolutely required but it would be cleaner.
I don’t have a board to test now so i can’t figure how long it takes to toggle 2 outputs.