...
Action | Step |
Set GPIO_P0_00 as output without open drain | Step1 : G7.16=0x00010000h 0x00010000 , OD = 0 (set bit0 as 0) Step2 : G6.16=0x00010001h 0x00010001 , OUT = 1 (set bit0 as 1) Step3 : G6.08=0x00010001h 0x00010001 , OE = 1 (set bit0 as 1) |
For example, set GPIO_P1_00 as output with open drain, please set as below:
...
Action | Step |
Set GPIO_P1_00 as output with open drain | Step1 : G7.16=0x01000100h 0x01000100 , OD =1 (set bit8 as 1) Step2 : G6.16=0x01000100h 0x01000100 , OUT = 1 (set bit8 as 1) Step3 : G6.08 OE = X (don’t care) |
...