gpio_init()

Initialize the GPIO hardware module

Synopsis:

#include <hw/gpio_hw.h>

int32_t (*gpio_init)(gpio_hwmod_t *hwmod);

Arguments:

hwmod
The input/output parameter.

Description:

The gpio_init() function initializes the GPIO hardware module. This function is the hardware module entry point located via dlsym() by the GPIO resource manager when a target-specific module is loaded. Using this function is mandatory.

Page updated: