数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ATmega16HVB 数据表(PDF) 111 Page - ATMEL Corporation

部件名 ATmega16HVB
功能描述  8-bit Microcontroller with 16K/32K Bytes In-System Programmable Flash
PDF  273 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ATMEL [ATMEL Corporation]
网页  http://www.atmel.com
标志 ATMEL - ATMEL Corporation

ATmega16HVB 数据表(HTML) 111 Page - ATMEL Corporation

Back Button ATmega16HVB Datasheet HTML 107Page - ATMEL Corporation ATmega16HVB Datasheet HTML 108Page - ATMEL Corporation ATmega16HVB Datasheet HTML 109Page - ATMEL Corporation ATmega16HVB Datasheet HTML 110Page - ATMEL Corporation ATmega16HVB Datasheet HTML 111Page - ATMEL Corporation ATmega16HVB Datasheet HTML 112Page - ATMEL Corporation ATmega16HVB Datasheet HTML 113Page - ATMEL Corporation ATmega16HVB Datasheet HTML 114Page - ATMEL Corporation ATmega16HVB Datasheet HTML 115Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 111 / 273 page
background image
111
8042A–AVR–07/09
ATmega16HVB/32HVB
19.6
Configuration and Usage
While the CC-ADC is converting, the CPU can enter sleep mode and wait for an interrupt. After
adding the conversion data for the Coulomb Counting, the CPU can go back to sleep again. This
reduces the CPU workload, and allows more time spent in low power modes, reducing power
consumption.
To use the CC-ADC the bandgap voltage reference must be enabled separately, see ”Voltage
Reference and Temperature Sensor” on page 123.
The CC-ADC will not consume power when CADEN is cleared. It is therefore recommended to
switch off the CC-ADC whenever the Coulomb Counter or Regular Current Detection functions
are not used. The CC-ADC is automatically disabled in Power-off mode.
After the CC-ADC is enabled by setting the CADEN bit, the first four conversions do not contain
useful data and should be ignored. This also applies after clearing the CADSE bit, or after
changing the CADPOL or CADVSE bits.
The conversion times and sampling intervals are controlled by the Ultra Low Power RC Oscilla-
tor (see ”Ultra Low Power RC Oscillator” on page 27), and will depend on its actual frequency.
To obtain accurate coulomb counting results, the actual conversion time should be calculated.
Refer to ”System Clock and Clock Options” on page 25 for details.
19.7
Register Description
19.7.1
CADCSRA – CC-ADC Control and Status Register A
• Bit 7 – CADEN: CC-ADC Enable
When the CADEN bit is cleared (zero), the CC-ADC is disabled, and any ongoing conversions
will be terminated. When the CADEN bit is set (one), the CC-ADC will continuously measure the
voltage drop over the external sense resistor R
SENSE. In Power-off, the CC-ADC is always
disabled.
Note that the bandgap voltage reference must be enabled separately, see ”Voltage Reference
and Temperature Sensor” on page 123.
• Bit 6 – CADPOL: CC-ADC Polarity
The CADPOL bit is used to change input sampling polarity in the Sigma Delta Modulator. Writing
this bit to one, the polaritiy will be negative. When the bit is zero, the polarity will be positive.
• Bit 5 - CADUB: CC-ADC Update Busy
The CC-ADC operates in a different clock domain than the CPU. Whenever a new value is writ-
ten to CADCSRA, CADCSRC, CADRCC or CADRDC, this value must be synchronized to the
CC-ADC clock domain. Subsequent writes to these registers will be blocked during this synchro-
nization. Synchronization of one of the registers will block updating of all the others. The CADUB
bit will be read as one while any of these registers is being synchronized, and will be read as
zero when neither register is being synchronized.
Bit
7
6
5
432
1
0
(0xE6)
CADEN
CADPOL
CADUB
CADAS1
CADAS0
CADSI1
CADSI0
CADSE
CADCSRA
Read/Write
R/W
R/W
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com