unsafe fn wait_bit_clear(reg: *mut u32, mask: u32, timeout_ms: u32) -> bool
指定レジスタの mask ビットがすべてクリアされるまで実時間で待つ。