I have a problem. I need 16bit GPIO for LCD Data.How I make mapping from 16bit variable to GPIO? There is 16bit PORTC but it is PTC0-PTC13+PTC16,PTC17.
I'm not a pro and maybe i missunderstood your question, but i would do it like in the attachement. Perhaps it works :smileyhappy:
it almost worked but GPIO_PDOR is divided on LOW 16bit and HIGH 16bit. I would modify mask and it will maybe work. Thanks for your idea
Ok didn't know that. But the mask stays the same. It's even more easy i guess.