The datasheet for the temperature sensor says, in section 15.3.2 Temperature Sensor Sampling The temperature value is obtained according to the conversion relationship between voltage and temperature. Please refer to the evaluation board example program for details.
However, the (only) example ADC program simply reads the temperature sensor channel, without any conversion to a temperature: https://github.com/openwch/ch583/blob/main/EVT/EXAM/ADC/src/Main.c#L51-L62
Please document how we can actually use the temperature sensor.
The datasheet for the temperature sensor says, in section 15.3.2 Temperature Sensor Sampling
The temperature value is obtained according to the conversion relationship between voltage and temperature. Please refer to the evaluation board example program for details.However, the (only) example ADC program simply reads the temperature sensor channel, without any conversion to a temperature: https://github.com/openwch/ch583/blob/main/EVT/EXAM/ADC/src/Main.c#L51-L62
Please document how we can actually use the temperature sensor.