GPIO设置中,仅PinDriver::input可设input_pullup,downgrade可转为AnyIOPin,建议使用范型如InputPin+OutputPin,PinDriver对应embedded-hal中的InputPin。