48.6.10 UART Comparison Register

Name: UART_CMPR
Offset: 0x24
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 VAL2[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
  CMPPAR CMPMODE     
Access R/WR/W 
Reset 00 
Bit 76543210 
 VAL1[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 23:16 – VAL2[7:0] Second Comparison Value for Received Character

ValueDescription
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

ValueDescription
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

ValueNameDescription
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

ValueDescription
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.