Home
last modified time | relevance | path

Searched refs:a_pins (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/nrf8001/
Dhal_aci_tl.cxx329 void hal_aci_tl_init(aci_pins_t *a_pins, bool debug) in hal_aci_tl_init() argument
335 m_aci_pins_set(a_pins); in hal_aci_tl_init()
340 a_pins->m_spi = mraa_spi_init (0); in hal_aci_tl_init()
341 if (a_pins->m_spi == NULL) { in hal_aci_tl_init()
346 mraa_spi_frequency (a_pins->m_spi, 2000000); in hal_aci_tl_init()
347 mraa_spi_mode (a_pins->m_spi, MRAA_SPI_MODE0); in hal_aci_tl_init()
354 a_pins->m_rdy_ctx = mraa_gpio_init (a_pins->rdyn_pin); in hal_aci_tl_init()
355 if (a_pins->m_rdy_ctx == NULL) { in hal_aci_tl_init()
360 a_pins->m_req_ctx = mraa_gpio_init (a_pins->reqn_pin); in hal_aci_tl_init()
361 if (a_pins->m_req_ctx == NULL) { in hal_aci_tl_init()
[all …]
Dhal_aci_tl.h104 void hal_aci_tl_init(aci_pins_t *a_pins, bool debug);