English
Language : 

C8051F970-A-GM Datasheet, PDF (219/454 Pages) Silicon Laboratories – Low Power Capacitive Sensing MCU with up to 32 kB of Flash
C8051F97x
Register 22.4. MAC0CF2: MAC0 Configuration 2
Bit
7
6
5
4
Name ROUND
SATU-
RATE
ACCALIGN
Type
RW
RW
RW
Reset
0
0
0
0
SFR Page = 0xF; SFR Address: 0xC5
3
2
ACCDMAOUT
RW
0
0
1
0
ACCDMAIN
RW
0
0
Bit
Name
Function
7
ROUND Rounding Enable.
This bit controls whether the MCU or DMA reads a rounded result from the MAC0 accu-
mulator.
0: MAC0 accumulator does not contain a 16-bit rounded result.
1: MAC0 accumulator contains a 16-bit rounded result.
6 SATURATE Saturation Enable.
If ROUND is set to 1, this bit controls whether the rounded MAC0 accumulator result will
saturate. The details of the saturation logic is defined in the section on Rounding and
Saturation.
0: Rounded result will not saturate.
1: Rounded result will saturate.
5:4 ACCALIGN Accumulator Alignment.
This field controls how many bytes the hardware shifts the MAC0 accumulator result to
the right after an operation. This setting can be used in both MCU and DMA modes.
00: Do not shift the accumulator output.
01: Shift the accumulator output right by 1 byte.
10: Shift the accumulator output right by 3 bytes.
11: Shift the accumulator output right by 4 bytes.
3:2
ACCD- Accumulator DMA Input Count.
MAOUT This field only effects DMA mode operations. This field specifies the number of bytes the
MAC0 will request the DMA to transfer from the MAC0 accumulator to XRAM after each
operation, starting from the least significant byte.
00: Request the DMA move 1 byte from the accumulator to XRAM.
01: Request the DMA move 2 bytes from the accumulator to XRAM.
10: Request the DMA move 4 bytes from the accumulator to XRAM.
11: Request the DMA move 5 bytes from the accumulator to XRAM.
220
Rev 1.0