Hi,dialog
I want to driver a lcd with 8080 interface. for data bus(0~7),I set them through callback function gpio_setactive()and gpio_setInactive(),it can work,
But it is too slow.
I try to setword16(address_set,1《pin) directly ,every bit one by one,speed is faster,but it is slow still.
Then try to setword16(address_set,data) and setword16(address_reset,~data), I expect more faster,but it can not work.
So ,can i set multi gpio status at once in da14580?
Ths!!
Device:
Hi kurbylee,
Just by setting the Px_DATA_REG of the port you would like to all ones or all zeros you will be able to set all gpio's state concurrently.
For example: SetWord16(P0_DATA_REG, 0xff); or SetWord16(P0_DATA_REG, 0x00);
Thanks MT_dialog
Great!it is work.
Thank U so much
Hi kurbylee,
If you find the answer helpfull please mark the answer as accepted.
Thanks MT_dialog