As far as I can see, there's no ability to access the onboard temperature sensor on RP2040. It should be on ADC 4, but only 0-3 are available.