本帖最后由 RedpenCat 于 2025-7-7 13:42 编辑
wes58 发表于 2025-7-2 14:56
I think that Telink would be the best to help you with that. The only thing that I saw in the TLSR8 ...
Hi @wes58,
FYI, I'm using @TL_YB's method as a workaround by setting the internal pull-up or pull-down resistor:
if(level){
gpio_setup_up_down_resistor(pin, PM_PIN_PULLUP_10K);
}else{
gpio_setup_up_down_resistor(pin, PM_PIN_PULLDOWN_100K);
}
instead of writing directly to the register:
drv_gpio_write(pin, level);
|