Searched refs:mosi_pin (Results 1 – 9 of 9) sorted by relevance
/lk-master/external/platform/nrfx/drivers/src/ |
A D | nrfx_spi.c | 112 uint32_t mosi_pin; in nrfx_spi_init() local 134 if (p_config->mosi_pin != NRFX_SPI_PIN_NOT_USED) in nrfx_spi_init() 136 mosi_pin = p_config->mosi_pin; in nrfx_spi_init() 137 nrf_gpio_pin_clear(mosi_pin); in nrfx_spi_init() 138 nrf_gpio_cfg_output(mosi_pin); in nrfx_spi_init() 142 mosi_pin = NRF_SPI_PIN_NOT_CONNECTED; in nrfx_spi_init() 163 nrf_spi_pins_set(p_spi, p_config->sck_pin, mosi_pin, miso_pin); in nrfx_spi_init() 208 uint32_t mosi_pin = nrf_spi_mosi_pin_get(p_spi); in nrfx_spi_uninit() local 209 if (mosi_pin != NRF_SPI_PIN_NOT_CONNECTED) in nrfx_spi_uninit() 211 nrf_gpio_cfg_default(mosi_pin); in nrfx_spi_uninit()
|
A D | nrfx_spis.c | 182 uint32_t mosi_pin; in nrfx_spis_init() local 200 if (p_config->mosi_pin != NRFX_SPIS_PIN_NOT_USED) in nrfx_spis_init() 202 nrf_gpio_cfg(p_config->mosi_pin, in nrfx_spis_init() 208 mosi_pin = p_config->mosi_pin; in nrfx_spis_init() 212 mosi_pin = NRF_SPIS_PIN_NOT_CONNECTED; in nrfx_spis_init() 229 nrf_spis_pins_set(p_spis, p_config->sck_pin, mosi_pin, miso_pin, p_config->csn_pin); in nrfx_spis_init() 315 uint32_t mosi_pin = nrf_spis_mosi_pin_get(p_spis); in nrfx_spis_uninit() local 316 if (mosi_pin != NRF_SPIS_PIN_NOT_CONNECTED) in nrfx_spis_uninit() 318 nrf_gpio_cfg_default(mosi_pin); in nrfx_spis_uninit()
|
A D | nrfx_spim.c | 320 uint32_t mosi_pin; in nrfx_spim_init() local 342 if (p_config->mosi_pin != NRFX_SPIM_PIN_NOT_USED) in nrfx_spim_init() 344 mosi_pin = p_config->mosi_pin; in nrfx_spim_init() 345 nrf_gpio_pin_clear(mosi_pin); in nrfx_spim_init() 346 nrf_gpio_cfg_output(mosi_pin); in nrfx_spim_init() 350 mosi_pin = NRF_SPIM_PIN_NOT_CONNECTED; in nrfx_spim_init() 407 nrf_spim_pins_set(p_spim, p_config->sck_pin, mosi_pin, miso_pin); in nrfx_spim_init() 457 uint32_t mosi_pin = nrf_spim_mosi_pin_get(p_spim); in nrfx_spim_uninit() local 458 if (mosi_pin != NRF_SPIM_PIN_NOT_CONNECTED) in nrfx_spim_uninit() 460 nrf_gpio_cfg_default(mosi_pin); in nrfx_spim_uninit()
|
/lk-master/external/platform/nrfx/hal/ |
A D | nrf_spi.h | 187 uint32_t mosi_pin, 305 uint32_t mosi_pin, in nrf_spi_pins_set() argument 315 p_reg->PSEL.MOSI = mosi_pin; in nrf_spi_pins_set() 317 p_reg->PSELMOSI = mosi_pin; in nrf_spi_pins_set()
|
A D | nrf_spis.h | 306 uint32_t mosi_pin, 566 uint32_t mosi_pin, in nrf_spis_pins_set() argument 572 p_reg->PSELMOSI = mosi_pin; in nrf_spis_pins_set() 577 p_reg->PSEL.MOSI = mosi_pin; in nrf_spis_pins_set()
|
A D | nrf_spim.h | 359 uint32_t mosi_pin, 684 uint32_t mosi_pin, in nrf_spim_pins_set() argument 688 p_reg->PSEL.MOSI = mosi_pin; in nrf_spim_pins_set()
|
/lk-master/external/platform/nrfx/drivers/include/ |
A D | nrfx_spis.h | 124 .mosi_pin = _pin_mosi, \ 142 uint32_t mosi_pin; //!< SPI MOSI pin (optional). member
|
A D | nrfx_spi.h | 90 uint8_t mosi_pin; ///< MOSI pin number (optional). member 129 .mosi_pin = _pin_mosi, \
|
A D | nrfx_spim.h | 96 uint8_t mosi_pin; ///< MOSI pin number (optional). member 168 .mosi_pin = _pin_mosi, \
|
Completed in 14 milliseconds