Searched refs:NRF_GET_FUN (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/drivers/pinctrl/nrf/src/ |
D | main.c | 27 zassert_equal(NRF_GET_FUN(scfg->pins[0]), NRF_FUN_UART_TX); in ZTEST() 33 zassert_equal(NRF_GET_FUN(scfg->pins[1]), NRF_FUN_UART_RTS); in ZTEST() 39 zassert_equal(NRF_GET_FUN(scfg->pins[2]), NRF_FUN_UART_RX); in ZTEST() 42 zassert_equal(NRF_GET_FUN(scfg->pins[3]), NRF_FUN_UART_RX); in ZTEST() 48 zassert_equal(NRF_GET_FUN(scfg->pins[4]), NRF_FUN_UART_RX); in ZTEST() 54 zassert_equal(NRF_GET_FUN(scfg->pins[5]), NRF_FUN_UART_RX); in ZTEST() 60 zassert_equal(NRF_GET_FUN(scfg->pins[6]), NRF_FUN_UART_CTS); in ZTEST()
|
/Zephyr-latest/soc/nordic/common/ |
D | pinctrl_soc.h | 56 (), NRF_GET_FUN(DT_PROP_BY_IDX(node_id, prop, idx))) \ 104 #define NRF_GET_FUN(pincfg) (((pincfg) >> NRF_FUN_POS) & NRF_FUN_MSK) macro
|
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_nrf.c | 127 switch (NRF_GET_FUN(pins[i])) { in pinctrl_configure_pins()
|