The example demonstrates how to use the temperature sensor feature inside the microcontroller.
This example can be used on SAM4E-EK boards , SAMV71-Xplained-Ultra , SAME70-Xplained.
The example is aimed to demonstrate the temperature sensor feature inside the device. To use this feature, the temperature sensor should be automatically turned on by RTC event. The channel 15 is connected to the sensor by default. If set RTCT = 1, TRGEN is disabled and all channels are disabled (AFE_CHSR = 0), then only channel 15 is converted at a rate of 1 conversion per second.
The temperature sensor provides an output voltage (VT) that is proportional to absolute temperature (PTAT). The relationship between measured voltage and actual temperature could be found in Electrical Characteristics part of the datasheet.