Search found 53 matches

by apuder
Wed Mar 28, 2018 2:28 am
Forum: General Discussion
Topic: Memory mapped IO for GPIO access
Replies: 6
Views: 9659

Re: Memory mapped IO for GPIO access

perhaps a more important question: is there any documentation on GPIO_MODE_INPUT_OUTPUT_OD and GPIO_MODE_INPUT_OUTPUT?

Thx,
AP
by apuder
Tue Mar 27, 2018 11:00 am
Forum: General Discussion
Topic: Memory mapped IO for GPIO access
Replies: 6
Views: 9659

Re: Memory mapped IO for GPIO access

thanks! That clarifies a few things indeed. Please allow me a couple of follow-up questions: * it seems that there are two registers for setting a GPIO pin to 1 (W1TS) and setting a GPIO pin to 0 (W1TC). If I want to write an 8-bit value (using 8 GPIO pins), it is not possible to do this atomically?...
by apuder
Mon Mar 26, 2018 7:34 pm
Forum: General Discussion
Topic: Memory mapped IO for GPIO access
Replies: 6
Views: 9659

Memory mapped IO for GPIO access

Hi, someone knowledgeable out there who can post something equivalent to the AVR's memory mapped IO for GPIO pins? https://www.arduino.cc/en/Reference/PortManipulation I am interested in reading and writing multiple GPIO pins in parallel without having to loop through digitalRead/Write for performan...