C8051F961-A-GM Silicon Labs, C8051F961-A-GM Datasheet - Page 318
C8051F961-A-GM
Manufacturer Part Number
C8051F961-A-GM
Description
8-bit Microcontrollers - MCU 128KB, DC-DC, LCD AES, QFN40
Manufacturer
Silicon Labs
Datasheet
1.C8051F960-A-GQ.pdf
(492 pages)
Specifications of C8051F961-A-GM
Rohs
yes
Core
8051
Processor Series
C8051
Data Bus Width
8 bit
Maximum Clock Frequency
25 MHz
Program Memory Size
128 KB
Data Ram Size
8448 B
On-chip Adc
Yes
Operating Supply Voltage
2.5 V to 3.3 V
Operating Temperature Range
- 40 C to + 85 C
Package / Case
QFN-40
Mounting Style
SMD/SMT
Number Of Programmable I/os
34
Number Of Timers
4
- Current page: 318 of 492
- Download datasheet (3Mb)
C8051F96x
enable signal. The enable signal enables the pull-up resistor when high and disables when low. PC0 is the
line to the reed switch. On the right side of PC0 waveform, the line voltage is decreasing towards ground
when the pull-up resistors are disabled. Beneath the charging waveform, the arrows represent the sample
points. The pulse counter samples the PC0 voltage once the charging completes. The sensed ones and
zeros are the sampled data. Finally the integrator waveform illustrates the output of the digital integrator.
The integrator is set to 4 initially and counts to down to 0 before toggling the output low. Once the integra-
tor reaches the low state, it needs to count up to 4 before toggling its output to the high state. The
debounce logic filters out switch bounce or noise that appears for a short duration.
25.7. Reset Behavior
Unlike most MCU peripherals, an MCU reset does not completely reset the Pulse Counter. This includes a
power on reset and all other reset sources. An MCU reset does not clear the counter values. The Pulse
Counter SFRs do not reset to a default value upon reset. The 24-bit counter values are persistent unless
cleared manually by writing to the PC0MD SFR. Note that if the VBAT voltage ever drops below the mini-
mum operating voltage, this may compromise contents of the counters.
The PC0MD register should normally be written only once after reset. The PC0MD SFR is the master
mode register. This register sets the counter mode and sample rate. Writing to the PC0MD SFR also
resets the other PC0xxx SFRs.
Note that the RTC clock will reset on an MCU reset, so counting cannot resume until the RTC clock has
been re-started.
Firmware should read the reset sources SFR RSTSRC to determine the source of the last reset and initial-
ize the Pulse Counter accordingly.
When the pulse counter resets, it takes some time (typically two RTC clock cycles) to synchronize between
internal clock domains. The counters do not increment during this synchronization time.
25.8. Wake up and Interrupt Sources
The Pulse Counter has multiple interrupt and wake-up source conditions. To enable an interrupt, enable
the source in the PC0INT0/1 SFRs and enable the Pulse Counter interrupt using bit 4 of the EIE2 bit regis-
ter. The Pulse Counter interrupt service routine should read the interrupt flags in PC0INT0/1 to determine
the source of the interrupt and clear the interrupt flags.
318
Integrator
Integrator Output
Charging
Samples
(set to 4)
PC0
Switch
Sensed
Integrator
1
4
1
4
Debounce
0
3
4
1
Figure 25.4. Debounce Timing
1
4
3
0
Rev. 0.5
2
0
1
0
0
0
1
1
0
0
Debounce
1
1
1
2
1
3
1
4
Related parts for C8051F961-A-GM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
KIT EVALUATION FOR CP2102
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
KIT EVAL FOR CP2103 USB TO UART
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
KIT EVAL FOR CP2201 ETH CTRLR
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DAUGHTER CARD CAP TOUCH SENSE
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
KIT STARTER CAP TOUCH SENSE
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DEV KIT FOR C8051F320/F321
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DEVKIT-F120/21/22/23/24/25/26/27
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DEV KIT FOR C8051F310/F311
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DEV KIT F220/221/226/230/231/236
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DEV KIT F300/301/302/303/304/305
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DEV KIT FOR C8051F330/F331
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DEV KIT FOR F005/006/007
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DEV KIT FOR F020/F021/F022/F023
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
KIT DEV FOR C8051F34X
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
KIT DEV FOR C8051F41X
Manufacturer:
Silicon Laboratories Inc
Datasheet: