Searched refs:drv_cap (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-latest/components/hal/esp32s3/include/hal/ |
D | gpio_ll.h | 411 uint32_t drv_cap = (uint32_t)strength; in gpio_ll_set_drive_capability() local 414 drv_cap = ((drv_cap & 0x1) << 1) | ((drv_cap & 0x2) >> 1); // swap bit0 and bit1 in gpio_ll_set_drive_capability() 416 SET_PERI_REG_BITS(IO_MUX_GPIO0_REG + (gpio_num * 4), FUN_DRV_V, drv_cap, FUN_DRV_S); in gpio_ll_set_drive_capability() 428 uint32_t drv_cap = GET_PERI_REG_BITS2(IO_MUX_GPIO0_REG + (gpio_num * 4), FUN_DRV_V, FUN_DRV_S); in gpio_ll_get_drive_capability() local 431 drv_cap = ((drv_cap & 0x1) << 1) | ((drv_cap & 0x2) >> 1); // swap bit0 and bit1 in gpio_ll_get_drive_capability() 433 *strength = (gpio_drive_cap_t)drv_cap; in gpio_ll_get_drive_capability()
|
D | rtc_io_ll.h | 146 uint32_t drv_cap = strength; in rtcio_ll_set_drive_capability() local 149 drv_cap = ((drv_cap & 0x1) << 1) | ((drv_cap & 0x2) >> 1); // swap bit0 and bit1 in rtcio_ll_set_drive_capability() 151 …SET_PERI_REG_BITS(rtc_io_desc[rtcio_num].reg, rtc_io_desc[rtcio_num].drv_v, drv_cap, rtc_io_desc[r… in rtcio_ll_set_drive_capability()
|
/hal_espressif-latest/components/hal/esp32c3/include/hal/ |
D | gpio_ll.h | 384 uint32_t drv_cap = (uint32_t)strength; in gpio_ll_set_drive_capability() local 387 drv_cap = ((drv_cap & 0x1) << 1) | ((drv_cap & 0x2) >> 1); // swap bit0 and bit1 in gpio_ll_set_drive_capability() 389 SET_PERI_REG_BITS(IO_MUX_GPIO0_REG + (gpio_num * 4), FUN_DRV_V, drv_cap, FUN_DRV_S); in gpio_ll_set_drive_capability() 401 uint32_t drv_cap = GET_PERI_REG_BITS2(IO_MUX_GPIO0_REG + (gpio_num * 4), FUN_DRV_V, FUN_DRV_S); in gpio_ll_get_drive_capability() local 404 drv_cap = ((drv_cap & 0x1) << 1) | ((drv_cap & 0x2) >> 1); // swap bit0 and bit1 in gpio_ll_get_drive_capability() 406 *strength = (gpio_drive_cap_t)drv_cap; in gpio_ll_get_drive_capability()
|