dedic_gpio_get_out_offset() function
Get the channel offset of the GPIO bundle A GPIO bundle maps the GPIOS of a particular direction to a consecutive set of channels within a particular GPIO bank of a particular CPU. This function returns the offset to the bundle's first channel of a particular direction within the bank.
Arguments
bundle
Handle of GPIO bundle that returned from "dedic_gpio_new_bundle"
offset
Offset value to the first channel of a specific direction (in or out)
Return value
- ESP_OK: Get channel offset successfully - ESP_ERR_INVALID_ARG: Get channel offset failed because of invalid argument - ESP_FAIL: Get channel offset failed because of other error