/hal_nxp-3.6.0/mcux/mcux-sdk/components/gpio/ |
D | fsl_adapter_gint.c | 71 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument 76 assert(pinConfig); in HAL_GpioInit() 83 if (kHAL_GpioDirectionOut == pinConfig->direction) in HAL_GpioInit() 106 if (pinConfig->port >= (uint8_t)FSL_FEATURE_GINT_PORT_COUNT) in HAL_GpioInit() 111 if (pinConfig->port >= 2U) in HAL_GpioInit() 117 gpioStateHandle->pin.pin = pinConfig->pin; in HAL_GpioInit() 118 gpioStateHandle->pin.port = pinConfig->port; in HAL_GpioInit() 119 gpioStateHandle->pin.direction = (uint16_t)pinConfig->direction; in HAL_GpioInit() 423 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) 434 assert(pinConfig); [all …]
|
D | fsl_adapter_lpc_gpio.c | 201 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument 211 assert(pinConfig); in HAL_GpioInit() 217 … (kStatus_HAL_GpioSuccess != HAL_GpioConflictSearch(s_GpioHead, pinConfig->port, pinConfig->pin))) in HAL_GpioInit() 228 gpioState->pin.pin = pinConfig->pin; in HAL_GpioInit() 229 gpioState->pin.port = pinConfig->port; in HAL_GpioInit() 230 gpioState->pin.pinSet.direction = (uint8_t)pinConfig->direction; in HAL_GpioInit() 233 if (kHAL_GpioDirectionOut == pinConfig->direction) in HAL_GpioInit() 236 gpioPinconfig.outputLogic = pinConfig->level; in HAL_GpioInit() 242 if (0U == (uint32_t)HAL_GPIO_PORT_INIT_GET_FLAG(pinConfig->port)) in HAL_GpioInit() 244 HAL_GPIO_PORT_INIT_SET_FLAG(pinConfig->port); in HAL_GpioInit() [all …]
|
D | fsl_adapter_igpio.c | 269 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument 281 assert(pinConfig); in HAL_GpioInit() 287 if (NULL == gpioList[pinConfig->port]) in HAL_GpioInit() 293 … (kStatus_HAL_GpioSuccess != HAL_GpioConflictSearch(s_GpioHead, pinConfig->port, pinConfig->pin))) in HAL_GpioInit() 304 gpioState->pin.pin = pinConfig->pin; in HAL_GpioInit() 305 gpioState->pin.port = pinConfig->port; in HAL_GpioInit() 306 gpioState->pin.direction = (uint16_t)pinConfig->direction; in HAL_GpioInit() 309 if (kHAL_GpioDirectionOut == (hal_gpio_direction_t)pinConfig->direction) in HAL_GpioInit() 312 gpioPinconfig.outputLogic = pinConfig->level; in HAL_GpioInit()
|
D | fsl_adapter_rt_gpio.c | 186 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument 195 assert(pinConfig); in HAL_GpioInit() 201 … (kStatus_HAL_GpioSuccess != HAL_GpioConflictSearch(s_GpioHead, pinConfig->port, pinConfig->pin))) in HAL_GpioInit() 212 gpioState->pin.pin = pinConfig->pin; in HAL_GpioInit() 213 gpioState->pin.port = pinConfig->port; in HAL_GpioInit() 214 gpioState->pin.direction = (uint16_t)pinConfig->direction; in HAL_GpioInit() 217 if (kHAL_GpioDirectionOut == pinConfig->direction) in HAL_GpioInit() 220 gpioPinConfig.outputLogic = pinConfig->level; in HAL_GpioInit()
|
D | fsl_adapter_gpio.c | 518 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig) in HAL_GpioInit() argument 524 assert(pinConfig); in HAL_GpioInit() 531 … (kStatus_HAL_GpioSuccess != HAL_GpioConflictSearch(s_GpioHead, pinConfig->port, pinConfig->pin))) in HAL_GpioInit() 543 (void)memcpy((void *)&gpioState->direction, (void *)pinConfig, sizeof(hal_gpio_pin_config_t)); in HAL_GpioInit() 545 …GPIO_PinInit(s_GpioPort[pinConfig->port], pinConfig->pin, (const gpio_pin_config_t *)(void *)&pinC… in HAL_GpioInit()
|
D | fsl_adapter_gpio.h | 172 hal_gpio_status_t HAL_GpioInit(hal_gpio_handle_t gpioHandle, hal_gpio_pin_config_t *pinConfig);
|
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/i.mx/i.mxrt600/ |
D | gpio_driver.c | 30 .pinConfig = {kGPIO_DigitalInput, 0}, 65 …pGpioConfig->pinConfig.pinDirection = dir == GPIO_DIRECTION_IN ? kGPIO_DigitalInput : kGPIO_Digita… in imxsdk_gpio_pin_init() 67 …PIO_PinInit(pinHandle->base, pinHandle->portNumber, pinHandle->pinNumber, &pGpioConfig->pinConfig); in imxsdk_gpio_pin_init()
|
D | gpio_driver.h | 42 gpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
|
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/i.mx/ |
D | gpio_driver.c | 30 .pinConfig = {kGPIO_DigitalInput, 0}, .interruptMode = kGPIO_IntLowLevel}; 63 …pGpioConfig->pinConfig.direction = dir == GPIO_DIRECTION_IN ? kGPIO_DigitalInput : kGPIO_DigitalOu… in imxsdk_gpio_pin_init() 65 GPIO_PinInit(pinHandle->base, pinHandle->pinNumber, &pGpioConfig->pinConfig); in imxsdk_gpio_pin_init()
|
D | gpio_driver.h | 42 gpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
|
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/kinetis/ |
D | gpio_driver.c | 31 ….pinConfig = {kGPIO_DigitalInput, 0}, .portPinConfig = {0}, .interruptMode = kPORT_InterruptRising… 71 …pGpioConfig->pinConfig.pinDirection = dir == GPIO_DIRECTION_IN ? kGPIO_DigitalInput : kGPIO_Digita… in ksdk_gpio_pin_init() 73 GPIO_PinInit(pinHandle->base, pinHandle->pinNumber, &pGpioConfig->pinConfig); in ksdk_gpio_pin_init()
|
D | gpio_driver.h | 41 gpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
|
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/i.mx/i.mxrt1180/ |
D | gpio_driver.c | 30 .pinConfig = {kRGPIO_DigitalInput, 0}, .interruptMode = kRGPIO_InterruptRisingEdge}; 63 …pGpioConfig->pinConfig.pinDirection = dir == GPIO_DIRECTION_IN ? kRGPIO_DigitalInput : kRGPIO_Digi… in imxsdk_gpio_pin_init() 65 RGPIO_PinInit(pinHandle->base, pinHandle->pinNumber, &pGpioConfig->pinConfig); in imxsdk_gpio_pin_init()
|
D | gpio_driver.h | 43 rgpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
|
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/gpio/lpc/ |
D | gpio_driver.c | 63 ….pinConfig = {kGPIO_DigitalInput, 0}, .interruptMode = kGINT_TrigEdge, .interruptPolarity = kGINT_… 132 …pGpioConfig->pinConfig.pinDirection = (dir == GPIO_DIRECTION_IN) ? kGPIO_DigitalInput : kGPIO_Digi… in ksdk_gpio_pin_init() 133 …PIO_PinInit(pinHandle->base, pinHandle->portNumber, pinHandle->pinNumber, &pGpioConfig->pinConfig); in ksdk_gpio_pin_init()
|
D | gpio_driver.h | 35 gpio_pin_config_t pinConfig; /*!< General pin charactertics.*/ member
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/i2s/ |
D | fsl_flexio_i2s.c | 134 shifterConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_I2S_Init() 154 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2S_Init() 169 timerConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_I2S_Init() 186 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2S_Init() 207 timerConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_I2S_Init() 224 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2S_Init()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/spi/ |
D | fsl_flexio_spi.c | 258 shifterConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_SPI_MasterInit() 280 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_SPI_MasterInit() 302 timerConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_SPI_MasterInit() 328 timerConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_SPI_MasterInit() 462 shifterConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_SPI_SlaveInit() 483 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_SPI_SlaveInit() 505 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_SPI_SlaveInit()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/camera/ |
D | fsl_flexio_camera.c | 97 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_CAMERA_Init() 118 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_CAMERA_Init()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/uart/ |
D | fsl_flexio_uart.c | 162 shifterConfig.pinConfig = kFLEXIO_PinConfigOutput; in FLEXIO_UART_Init() 176 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_UART_Init() 220 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_UART_Init() 234 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_UART_Init()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/i2c/ |
D | fsl_flexio_i2c_master.c | 652 shifterConfig.pinConfig = kFLEXIO_PinConfigOpenDrainOrBidirection; in FLEXIO_I2C_MasterInit() 665 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2C_MasterInit() 680 timerConfig.pinConfig = kFLEXIO_PinConfigOpenDrainOrBidirection; in FLEXIO_I2C_MasterInit() 705 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2C_MasterInit() 724 timerConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in FLEXIO_I2C_MasterInit()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/ |
D | fsl_flexio.c | 258 …FLEXIO_SHIFTCTL_PINCFG(shifterConfig->pinConfig) | FLEXIO_SHIFTCTL_PINSEL(shifterConfig->pinSelect… in FLEXIO_SetShifterConfig() 305 … FLEXIO_TIMCTL_PINCFG(timerConfig->pinConfig) | FLEXIO_TIMCTL_PINSEL(timerConfig->pinSelect) | in FLEXIO_SetTimerConfig()
|
D | fsl_flexio.h | 256 flexio_pin_config_t pinConfig; /*!< Timer Pin Configuration. */ member 284 flexio_pin_config_t pinConfig; /*!< Shifter Pin Configuration. */ member
|
/hal_nxp-3.6.0/mcux/mcux-sdk/boards/frdmk32l3a6/project_template/cm4/ |
D | peripherals.c | 114 .pinConfig = kLPI2C_2PinOpenDrain,
|
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/driverexamples/mma8491q/ |
D | mma8491q_example.c | 62 .pinConfig = {kGPIO_DigitalInput, 0},
|