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

X  

ATmega16HVB 数据表(PDF) 131 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) 131 Page - ATMEL Corporation

Back Button ATmega16HVB Datasheet HTML 127Page - ATMEL Corporation ATmega16HVB Datasheet HTML 128Page - ATMEL Corporation ATmega16HVB Datasheet HTML 129Page - ATMEL Corporation ATmega16HVB Datasheet HTML 130Page - ATMEL Corporation ATmega16HVB Datasheet HTML 131Page - ATMEL Corporation ATmega16HVB Datasheet HTML 132Page - ATMEL Corporation ATmega16HVB Datasheet HTML 133Page - ATMEL Corporation ATmega16HVB Datasheet HTML 134Page - ATMEL Corporation ATmega16HVB Datasheet HTML 135Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 131 / 273 page
background image
131
8042A–AVR–07/09
ATmega16HVB/32HVB
When disabling the Charge-FET the Charger Detect module is automatically enabled and a
charger appear to be connected.
22.4
Register Description
22.4.1
CHGDCSR - Charger Detect Control and Status Register
• Bit 7:5 - Res: Reserved
These bits are reserved bits and will always read as zero.
• Bit 4 - BATTPVL: BATT pin Voltage Level
BATTPVL will read one as long when the Charger Detect module is enabled and the BATT pin
voltage is above the VPOT level. Otherwise the BATTPVL will read zero.
• Bit 3:2 - CHGDISC1:0: Charger Detect Interrupt Sense Control
Edges in the CHARGER_PRESENT signal shown in Figure 22-1 on page 129 are used to acti-
vate a Charger Detect Interrupt if the SREG I-flag and the interrupt enable bit in CHGDCSR are
set. By writing the CHGDISC bits to the values shown in Table 22-1 on page 131 the condition
generating interrupt is configured. When changing the CHGDISC bits, an interrupt can occur.
Therefore, it is recommended to first disable the Interrupt by clearing its CHGDIE bit in the
CHGDICSR Register. Finally, the Charger Detect interrupt flag should be cleared by writing a
logical one to CHGDIF bit before the interrupt is re-enabled.
• Bit 1 - CHGDIF: Charger Detect Interrupt Flag
Depending on the configuration of the CHGDISC bits in the CHGDCSR, this bit is set when a
charger is either connected or disconnected. The Charger Detect Interrupt is executed if the
CHGDIE bit and the I-bit in SREG are set. This bit is cleared by hardware when executing the
corresponding interrupt handling vector or alternatively by writing a logical one to the CHGDIF. It
is recommended to write this bit to one when setting CHGDIE.
• Bit 0 - CHGDIE: Charger Detect Interrupt Enable
When the CHGDIE bit is set (one), and the I-bit in the Status Register is set (one), the Charger
Detect Interrupt is enabled.
Bit
7
6
5
43210
(0xD4)
-
-
-
BATTPVL
CHGDISC1
CHGDISC0
CHGDIF
CHGDIE
CHGDCSR
Read/Write
R
R
R
R
R/W
R/W
R/W
R/W
Initial Value
0
0
0
00000
Table 22-1.
Charger Detect Interrupt Sense Control.
CHGISC1:0
Detection
00
Charger Connect
01
Charger Disconnect
10
Charger Connect/Disconnect
11
None



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