Searched refs:GD32_PUPD_GET (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/drivers/pinctrl/gd32/src/ |
D | main_af.c | 30 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 38 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 46 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 54 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 62 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 70 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_PULLUP); in ZTEST() 78 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_PULLDOWN); in ZTEST() 86 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 94 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 102 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() [all …]
|
D | main_afio.c | 44 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 55 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 73 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 81 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 89 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_NONE); in ZTEST() 97 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_PULLUP); in ZTEST() 105 zassert_equal(GD32_PUPD_GET(pin), GD32_PUPD_PULLDOWN); in ZTEST()
|
/Zephyr-latest/soc/gd/gd32/common/ |
D | pinctrl_soc.h | 171 #define GD32_PUPD_GET(pincfg) \ macro
|
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_gd32_af.c | 101 gpio_mode_set(port, mode, GD32_PUPD_GET(pin), pin_num); in pinctrl_configure_pin()
|
D | pinctrl_gd32_afio.c | 160 uint8_t pupd = GD32_PUPD_GET(pin); in configure_pin()
|