hololink::emulation::GPIO_set_value
hololink::emulation::GPIO_set_value
Set the value of the GPIO.
Returns: The number of address-value pairs set.
Parameters
ctxt
The context pointer.
addr_vals
The address-value pair. Each bit in values corresponds to high/low state of the GPIO pin at the address. Each address supports 32 pins with the 0 pin at GPIO_OUTPUT_BASE_REGISTER + 0 and the 31 pin at GPIO_OUTPUT_BASE_REGISTER + 31.
max_count
The maximum number of address-value pairs to set.