47.6.10 UART Comparison Register
Name: | UART_CMPR |
Offset: | 0x24 |
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 | |
VAL2[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
CMPPAR | CMPMODE | ||||||||
Access | R/W | R/W | |||||||
Reset | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
VAL1[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 23:16 – VAL2[7:0] Second Comparison Value for Received Character
Value | Description |
---|---|
0–255 | The received character must be lower or equal to the value of VAL2 and higher or equal to VAL1 to set CMP flag in UART_SR. If asynchronous partial wake-up is enabled in PMC_SLPWK_ER, the UART requests a system wake-up if condition is met. |
Bit 14 – CMPPAR Compare Parity
Value | Description |
---|---|
0 | The parity is not checked and a bad parity cannot prevent from waking up the system. |
1 | The parity is checked and a matching condition on data can be cancelled by an error on parity bit, so no wake-up is performed. |
Bit 12 – CMPMODE Comparison Mode
Value | Name | Description |
---|---|---|
0 | FLAG_ONLY | Any character is received and comparison function drives CMP flag. |
1 | START_CONDITION | Comparison condition must be met to start reception. |
Bits 7:0 – VAL1[7:0] First Comparison Value for Received Character
Value | Description |
---|---|
0–255 | The received character must be higher or equal to the value of VAL1 and lower or equal to VAL2 to set CMP flag in UART_SR. If asynchronous partial wake-up is enabled in PMC_SLPWK_ER, the UART requests a system wake-up if the condition is met. |