GPIO Services: Difference between revisions
No edit summary |
|||
Line 66: | Line 66: | ||
|- | |- | ||
| 0x00070040 | | 0x00070040 | ||
| | | [[GPIO:GetGPIOData|GetGPIOData]] | ||
| 0x10147000, 0x10147010, 0x10147014, 0x10147020, 0x10147028 | | 0x10147000, 0x10147010, 0x10147014, 0x10147020, 0x10147028 | ||
|- | |- | ||
| 0x00080080 | | 0x00080080 | ||
| | | [[GPIO:SetGPIOData|SetGPIOData]] | ||
| 0x10147010, 0x10147014, 0x10147020, 0x10147028 | | 0x10147010, 0x10147014, 0x10147020, 0x10147028 | ||
|- | |- | ||
Line 83: | Line 83: | ||
=GPIO Bitmask= | =GPIO Bitmask= | ||
The bitmask used by | The bitmask used by the service commands determines which bits in the GPIO registers to access. The output value from [[GPIO:GetGPIOData|GetGPIOData]] uses the same format as the bitmask: the values of bits in the output field are set to the value of GPIO data when those bits are set in the input bitmask. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" |