C8051F987-GMR Silicon Labs, C8051F987-GMR Datasheet - Page 103

no-image

C8051F987-GMR

Manufacturer Part Number
C8051F987-GMR
Description
8-bit Microcontrollers - MCU 8kB 512B RAM
Manufacturer
Silicon Labs
Datasheet

Specifications of C8051F987-GMR

Rohs
yes
Core
8051
Processor Series
C8051
Data Bus Width
8 bit
8.11. CS0 Conversion Accumulator
CS0 can be configured to accumulate multiple conversions on an input channel. The number of samples to
be accumulated is configured using the CS0ACU2:0 bits (CS0CF2:0). The accumulator can accumulate 1,
4, 8, 16, 32, or 64 samples. After the defined number of samples have been accumulated, the result is
divided by either 1, 4, 8, 16, 32, or 64 (depending on the CS0ACU[2:0] setting) and copied to the
CS0DH:CS0DL SFRs.
Note: M = Accumulator setting (1x, 4x, 8x, 16x, 32x, 64x).
N
N
Y
Y
N
N
Y
Y
conversions com-
conversions com-
CS0 Conversion
CS0INT Interrupt
CS0INT Interrupt
CS0INT Interrupt
CS0INT Interrupt
conversion com-
conversion com-
serviced after M
serviced after M
serviced after 1
serviced after 1
Complete
Behavior
Interrupt
pletes
pletes
plete
plete
Table 8.1. Operation with Auto-scan and Accumulate
CS0DH:CS0DL is greater than
CS0DH:CS0DL (post accumu-
late and divide) is greater than
CS0DH:CS0DL is greater than
CS0DH:CS0DL (post accumu-
late and divide) is greater than
Interrupt serviced after M con-
Interrupt serviced after M con-
CS0THH:CS0THL; Auto-Scan
Interrupt serviced after 1 con-
CS0 Greater Than Interrupt
version completes if value in
versions complete if value in
version completes if value in
versions complete if value in
Interrupt serviced after con-
Auto-Scan stopped
CS0THH:CS0THL;
CS0THH:CS0THL
CS0THH:CS0THL
Behavior
stopped
Rev. 1.1
C8051F99x-C8051F98x
If greater-than comparator detects conver-
unchanged; otherwise, CS0MX updates to
If greater-than comparator detects conver-
unchanged; otherwise, CS0MX updates to
the next channel (CS0MX + 1) and wraps
the next channel (CS0MX + 1) and wraps
back to CS0SS after passing CS0SE.
back to CS0SS after passing CS0SE.
CS0THH:CS0THL, CS0MX is left
CS0THH:CS0THL, CS0MX is left
sion value is greater than
sion value is greater than
CS0MX unchanged.
CS0MX unchanged.
CS0MX Behavior
103

Related parts for C8051F987-GMR