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

X  

R8C/2G 数据表(PDF) 79 Page - Renesas Technology Corp

部件名 R8C/2G
功能描述  RENESAS MCU R8C FAMILY / R8C/2x SERIES
PDF  344 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  RENESAS [Renesas Technology Corp]
网页  http://www.renesas.com
标志 RENESAS - Renesas Technology Corp

R8C/2G 数据表(HTML) 79 Page - Renesas Technology Corp

Back Button R8C/2G Datasheet HTML 75Page - Renesas Technology Corp R8C/2G Datasheet HTML 76Page - Renesas Technology Corp R8C/2G Datasheet HTML 77Page - Renesas Technology Corp R8C/2G Datasheet HTML 78Page - Renesas Technology Corp R8C/2G Datasheet HTML 79Page - Renesas Technology Corp R8C/2G Datasheet HTML 80Page - Renesas Technology Corp R8C/2G Datasheet HTML 81Page - Renesas Technology Corp R8C/2G Datasheet HTML 82Page - Renesas Technology Corp R8C/2G Datasheet HTML 83Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 79 / 344 page
background image
R8C/2G Group
7. Comparator
Rev.1.00
Apr 04, 2008
Page 59 of 318
REJ09B0387-0100
7.4.2
Comparator 2
Table 7.4 lists the Procedure for Setting Bits Associated with Comparator 2 Interrupt, Figure 7.14 shows an
Operating Example of Comparator 2 (When Digital Filter Enabled), and Figure 7.15 shows an Operating
Example of Comparator 2 (When Digital Filter Disabled).
NOTE:
1. When the VW2C0 bit is set to 0, steps 6 and 7 can be executed at the same time (with one instruction).
Table 7.4
Procedure for Setting Bits Associated with Comparator 2 Interrupt
Step
When Using Digital Filter
When Not Using Digital Filter
1
Set the COMPSEL bit in the PINSR4 register to 1 (comparator 1, comparator 2)
2
Set the VCAB6 bit in the VCAB register to 1 (VCMP2 pin input voltage)
3
Set the VCA27 bit in the VCA2 register to 1 (comparator 2 circuit enabled)
4
Wait for td(E-A)
5
Select the interrupt type by the IRQ2SEL bit in the ALCMR register
6
Select the sampling clock by bits VW2F0
and VW2F1 in the VW2C register
Set the VW2C1 bit in the VW2C register to 1 (digital
filter disabled)
7(1)
Set the VW2C1 bit in the VW2C register
to 0 (digital filter enabled)
8
Select the interrupt request timing by the VCAC2 bit in the VCAC register and the VW2C7 bit in
the VW2C register
9
Set the VW2C2 bit in the VW2C register to 0
10
Set the CM14 bit in the CM1 register to 0
(low-speed on-chip oscillator on)
11
Wait for 2 cycles of the sampling clock of
the digital filter.
− (No wait time required)
12
Set the VW2C0 bit in the VW2C register to 1 (comparator 2 interrupt enabled)



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