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

X  

PIC18F258-E/SOSQTP 数据表(PDF) 144 Page - Microchip Technology

部件名 PIC18F258-E/SOSQTP
功能描述  28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
PDF  402 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

PIC18F258-E/SOSQTP 数据表(HTML) 144 Page - Microchip Technology

Back Button PIC18F258-E/SOSQTP Datasheet HTML 140Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 141Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 142Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 143Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 144Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 145Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 146Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 147Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 148Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 144 / 402 page
background image
PIC18FXX8
DS41159E-page 142
© 2006 Microchip Technology Inc.
16.6
Enhanced CCP Auto-Shutdown
When the ECCP is programmed for any of the PWM
modes, the output pins associated with its function may
be configured for auto-shutdown.
Auto-shutdown allows the internal output of either of
the
two
comparator
modules,
or
the
external
interrupt 0, to asynchronously disable the ECCP output
pins. Thus, an external analog or digital event can
discontinue an ECCP sequence. The comparator out-
put(s) to be used is selected by setting the proper mode
bits in the ECCPAS register. To use external interrupt
INT0 as a shutdown event, INT0IE must be set. To use
either of the comparator module outputs as a shutdown
event, corresponding comparators must be enabled.
When a shutdown occurs, the selected output values
(PSSACn, PSSBDn) are written to the ECCP port pins.
The internal shutdown signal is gated with the outputs
and will immediately and asynchronously disable the
outputs. If the internal shutdown is still in effect at the
time a new cycle begins, that entire cycle is
suppressed, thus eliminating narrow, glitchy pulses.
The ECCPASE bit is set by hardware upon a compara-
tor event and can only be cleared in software. The
ECCP outputs can be re-enabled only by clearing the
ECCPASE bit.
The Auto-Shutdown mode can be manually entered by
writing a ‘1’ to the ECCPASE bit.
REGISTER 16-3:
ECCPAS: ENHANCED CAPTURE/COMPARE/PWM AUTO-SHUTDOWN
CONTROL REGISTER
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
ECCPASE ECCPAS2 ECCPAS1 ECCPAS0
PSSAC1
PSSAC0
PSSBD1
PSSBD0
bit 7
bit 0
bit 7
ECCPASE: ECCP Auto-Shutdown Event Status bit
0
= ECCP outputs enabled, no shutdown event
1
= A shutdown event has occurred, must be reset in software to re-enable ECCP
bit 6-4
ECCPAS<2:0>: ECCP Auto-Shutdown bits
000
= No auto-shutdown enabled, comparators have no effect on ECCP
001
= Comparator 1 output will cause shutdown
010
= Comparator 2 output will cause shutdown
011
= Either Comparator 1 or 2 can cause shutdown
100
=INT0
101
= INT0 or Comparator 1 output
110
= INT0 or Comparator 2 output
111
= INT0 or Comparator 1 or Comparator 2 output
bit 3-2
PSSACn: Pins A and C Shutdown State Control bits
00
= Drive Pins A and C to ‘0’
01
= Drive Pins A and C to ‘1’
1x
= Pins A and C tri-state
bit 1-0
PSSBDn: Pins B and D Shutdown State Control bits
00
= Drive Pins B and D to ‘0’
01
= Drive Pins B and D to ‘1’
1x
= Pins B and D tri-state
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown



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