Hi u297c,
This is a sketch for blinking LEDs by register manipulation. Please refer to it.
ESP32C6_XIAO_REG_blink.zip (89.9 KB)
Also, the following link may be helpful regarding C6 RF switches.
‘XIAO_ESP32C6 Switching between builtin and external antenna - #16 by msfujino’