How to Access the Voltage of VIN on XIAO?

Does XIAO allow user to get the voltage of VIN without external parts? I know for an Arduino Nano you could use the internal standard 1.1V voltage and call the MUXs to compare the VIN. Is there something similar for XIAO?

I am trying to get the voltage of a chargeable battery on my device so that I can estimate the remainning electricity in it.

I’m new to single chip development and looking forward to some easy-to-understand answer.

Thank you!

Hi someone,
According to the XIAO schematic, the VIN terminal is not connected to the input pin of SAMD21, so I don’t think it is possible to measure the VIN voltage without external components.