XIAO ESP32C6 I2C Slave Pins?

Is there a different way I can take other than Arduino to get the I2C slave mode support for XIAO ESP32-C6?