GPIO Mod54415
Posted: Mon Apr 06, 2015 2:37 pm
I'm on a project that demands high performance so I've chosen this board, out runs anything I've used before.
I know how to do the below for individual pins that’s easy.
#include <pins.h>
J2[44].function(PINJ2_44_GPIO); // Configure pin J2-44 for GPIO
J2[44] = 1; // Drive pin as output
Using this how would I read or write several pins as a group ( char Data = ReadGPIO();) (WriteGPIO(0xF4))
Thanks
Randall
I know how to do the below for individual pins that’s easy.
#include <pins.h>
J2[44].function(PINJ2_44_GPIO); // Configure pin J2-44 for GPIO
J2[44] = 1; // Drive pin as output
Using this how would I read or write several pins as a group ( char Data = ReadGPIO();) (WriteGPIO(0xF4))
Thanks
Randall