Home
last modified time | relevance | path

Searched refs:spiCsPin (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/drivers/hdf_core/adapter/platform/spi/
H A Dspi_bes.c139 pinMuxSpi[SPI_PIN_2].pin = resource->spiCsPin; in SpiIomuxInit()
142 spiCtx[spiPort].spiPinCS0 = resource->spiCsPin; in SpiIomuxInit()
439 tempPin = HCS_PROP(node, spiCsPin); \
440 resource->spiCsPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); \
548 if (dri->GetUint32(resourceNode, "spiCsPin", &resource->spiCsPin, 0) != HDF_SUCCESS) { in GetSpiDeviceResource()
553 relPin = ((resource->spiCsPin / DEC_NUM) * GROUP_PIN_NUM) + (resource->spiCsPin % DEC_NUM); in GetSpiDeviceResource()
554 resource->spiCsPin = relPin; in GetSpiDeviceResource()
H A Dspi_wm.c34 uint32_t spiCsPin; member
63 tls_gpio_cfg(WM_IO_PB_00 + resource->spiCsPin, WM_GPIO_DIR_OUTPUT, WM_GPIO_ATTR_PULLHIGH); in SpiIomuxInit()
479 tls_gpio_write(WM_IO_PB_00 + spiDevice->resource.spiCsPin, 0); in SpiDevTransfer()
494 tls_gpio_write(WM_IO_PB_00 + spiDevice->resource.spiCsPin, 1); in SpiDevTransfer()
H A Dspi_bes.h48 uint32_t spiCsPin; member