17.2.1.19 Acquisition Sequence Commands Word x Register

Legend: r = Reserved Bit; R = Readable Bit; W = Writable Bit; U = Unimplemented Bit, read as '0'; -n = Value at POR; '1' = Bit is set; '0' = Bit is cleared; x = Bit value is unknown

Name: SMATHCMDx
Offset: 0x7C3040, 0x7C3044, 0x7C3048, 0x7C304C, 0x7C3050, 0x7C3054, 0x7C3058, 0x7C305C, 0x7C3060, 0x7C3064, 0x7C3068, 0x7C306C, 0x7C3070, 0x7C3074, 0x7C3078, 0x7C307C

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 END     CMP  
Access R/WR/W 
Reset 00 
Bit 15141312111098 
    ACCBACCAWMOV   
Access R/WR/WR/W 
Reset 000 
Bit 76543210 
 WM[1:0]F[1:0]BIN[1:0]AIN[1:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 23 – END Last Command in Sequence bit

ValueDescription
1

This command is last in the sequence.

0

There is the next command after this command.

Bit 17 – CMP Compare Accumulator A bit

ValueDescription
1

This command compares Accumulator A with thresholds in ITCLSxCMPLO and ITCLSxCMPHI registers as defined in CM[2:0] bits of the ITCLSxCON register.

0

The comparison is disabled.

Bit 12 – ACCB Latch Result into Accumulator B bit

ValueDescription
1

This command latches the math result into Accumulator B.

0

Accumulator B is not updated.

Bit 11 – ACCA Latch Result into Accumulator A bit

ValueDescription
1

This command latches the math result into Accumulator A.

0

Accumulator A is not updated.

Bit 10 – WMOV Write Mode Overwrite bit

ValueDescription
1

The Result Write mode is replaced with settings in WM[1:0] bits of this command word.

0

The Result Write mode is defined by WM[1:0] bits in the ITCLSxCON register.

Bits 7:6 – WM[1:0] Command Write Mode bits

These bits are used instead of list settings when WMOV bit is set.
ValueDescription
3

Results are saved when a match does not occur.

2

No results are saved.

1

Results are saved when a match occurs.

0

All result data are always saved.

Bits 5:4 – F[1:0] Math Operation Select bits

ValueDescription
3

BIN - AIN

2

BIN + AIN

1

BIN

0

AIN

Bits 3:2 – BIN[1:0] Input B Select bits

ValueDescription
3

ADC5 conversion result

2

Reserved

1

Accumulator B

0

ITCRESx result register

Bits 1:0 – AIN[1:0] Input A Select bits

ValueDescription
3

ADC5 conversion result

2

Reserved

1

Accumulator A

0

Zero