|
|
|
||||||||||||||||||||
![]() |
||||||||||||||||||||||
|
||||||||||||||||||||||
GPIO DriverTable of ContentsDriver Usage
IntroductionThe GPIO driver provides access to the general purpose I/O pins of the decoder chip. Each pin can be configured either as input, output or as bidirectional pin. To configure a pin, simply assign a specific function to it. Currently we support approx. 140 different hardware functions. Additionally one dedicated input pin can be defined as an interrupt pin. Therefor you can decide how an interrupt is to be triggered, either by the falling or the rising edge of the signal of the specific GPIO pin.
ConfigurationGPIO ports configuration
In case of Fujitsu MB86H61 Development Kit board, there is this GPIO port configuration in "${KERNEL_TOP}/drivers/media/fapex/wfe/config/boards/mb86h61_dk01/mb86h61_dk01_gpio.c" , this is defined as follows.
static GPIO_CONFIG_INFO_T GpioConfig_TsAInput_FromFe[] = {
{ 16, FAPI_GPIO_IN_TS_A_DATA_7 }
,{ 17, FAPI_GPIO_IN_TS_A_DATA_6 }
,{ 18, FAPI_GPIO_IN_TS_A_DATA_5 }
,{ 19, FAPI_GPIO_IN_TS_A_DATA_4 }
,{ 20, FAPI_GPIO_IN_TS_A_DATA_3 }
,{ 21, FAPI_GPIO_IN_TS_A_DATA_2 }
,{ 22, FAPI_GPIO_IN_TS_A_DATA_1 }
,{ 23, FAPI_GPIO_IN_TS_A_DATA_0 }
,{ 24, FAPI_GPIO_IN_TS_A_EN }
,{ 25, FAPI_GPIO_IN_TS_A_PSTART }
,{ 15, FAPI_GPIO_IN_TS_A_CLK }
};
Public InterfaceSystem Driver InterfaceDriver initialization function
Driver exit function
Application Programming InterfaceFunctions and MacrosThe driver provides the functions and macros listed below. For more information please follow the links to their detailed documentation.
Driver UsagePlease refer to following sequence diagram for the usage of this driver. ![]()
Driver RelationshipThe GPIO driver is related with the following drivers:
References
Disclaimer: Please note that the use of this has been based on the terms and conditions of "DK Consent Letter (For Linux)" agreement between you and Fujitsu Semiconductor Limited. The contents of this document may be revised without prior notice. Contact our sales department for confirmation. The information in this document are presented as is, no license is granted by implication or otherwise. More... FUJITSU sales representatives |
||||||||||||||||||||||