Im a bit new to the Arduino stuff and still trying to process all the information.
Its an awful lot of stuff to learn, especially if you try to create a library.
But i dont seem to find the pinValue in there.
At the moment these are the parts of my code where i want to erase the methods and just use the values out of the document.
//pin is 22 for example a digital output pin
Pio * port = g_APinDescription[pin].pPort;
uint32_t pinValue = g_APinDescription[pin].ulPin;
PIO_SetOutput(port, pinValue, LOW, 0, 0);
"str %[val], %[set]\n"
: "=r" (colors)
: "0" (colors),
[set] "m" (port->PIO_SODR),
[clear] "m" (port->PIO_CODR),
[val] "r" (pinValue)
: "r3", "r12", "cc"
Can you also tell me where i can find the pinValues that i get from g_APinDescription.ulpin and how can i find out which Pin belongs to which PIOx ( x stands for A-F )
Its a 1400 pages document and i did go through it 1 time now and dont seem to find what im looking for.