51.7.21 AFEC Temperature Sensor Mode Register
This register can only be written if the WPEN bit is cleared in the AFEC Write Protection Mode Register.
| Name: | AFEC_TEMPMR |
| Offset: | 0x70 |
| Reset: | 0x00000000 |
| Property: | Read/Write |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| Access | |||||||||
| Reset |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| TEMPCMPMOD[1:0] | RTCT | ||||||||
| Access | R/W | R/W | R/W | ||||||
| Reset | 0 | 0 | 0 | ||||||
Bits 5:4 – TEMPCMPMOD[1:0] Temperature Comparison Mode
| Value | Name | Description |
|---|---|---|
| 0 | LOW |
Generates an event when the converted data is lower than the low threshold of the window. |
| 1 | HIGH |
Generates an event when the converted data is higher than the high threshold of the window. |
| 2 | IN |
Generates an event when the converted data is in the comparison window. |
| 3 | OUT |
Generates an event when the converted data is out of the comparison window. |
Bit 0 – RTCT Temperature Sensor RTC Trigger Mode
| Value | Description |
|---|---|
| 0 |
The temperature sensor measure is not triggered by RTC event. |
| 1 |
The temperature sensor measure is triggered by RTC event (if TRGEN = 1). |
