Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16F18323-E/RF Datasheet(PDF) 185 Page - Microchip Technology

Part # PIC16F18323-E/RF
Description  Full-Featured, Low Pin Count Microcontrollers with XLP
PDF  442 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F18323-E/RF Datasheet(HTML) 185 Page - Microchip Technology

Back Button PIC16F18323-E/RF Datasheet HTML 181Page - Microchip Technology PIC16F18323-E/RF Datasheet HTML 182Page - Microchip Technology PIC16F18323-E/RF Datasheet HTML 183Page - Microchip Technology PIC16F18323-E/RF Datasheet HTML 184Page - Microchip Technology PIC16F18323-E/RF Datasheet HTML 185Page - Microchip Technology PIC16F18323-E/RF Datasheet HTML 186Page - Microchip Technology PIC16F18323-E/RF Datasheet HTML 187Page - Microchip Technology PIC16F18323-E/RF Datasheet HTML 188Page - Microchip Technology PIC16F18323-E/RF Datasheet HTML 189Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 185 / 442 page
background image
 2015 Microchip Technology Inc.
Preliminary
DS40001799A-page 185
PIC16(L)F18313/18323
19.7.1.3
Pin Override Levels
The levels driven to the CWG outputs during an auto-
shutdown event are controlled by the LSBD<1:0> and
LSAC<1:0>
bits
of
the
CWG1AS0
register
(Register 19-6). The LSBD<1:0> bits control CWG1B/
D output levels, while the LSAC<1:0> bits control the
CWG1A/C output levels.
19.7.1.4
Auto-shutdown Interrupts
When an auto-shutdown event occurs, either by
software or hardware setting SHUTDOWN, the CWG1IF
flag bit of the PIR4 register is set (Register 7-11).
19.8
Auto-Shutdown Restart
After an auto-shutdown event has occurred, there are
two ways to resume operation:
• Software controlled
• Auto-restart
In either case, the shut-down source must be cleared
before the restart can take place. That is, either the
shutdown condition must be removed, or the
corresponding ASxE bit must be cleared.
19.8.1
SOFTWARE-CONTROLLED
RESTART
If the REN bit of the CWG1AS0 register is clear
(REN = 0), the CWG module must be restarted after an
auto-shutdown event through software.
Once all auto-shutdown sources are removed, the
software must clear SHUTDOWN. Once SHUTDOWN
is cleared, the CWG module will resume operation
upon the first rising edge of the CWG data input.
19.8.2
AUTO-RESTART
If the REN bit of the CWG1AS0 register is set
(REN = 1), the CWG module will restart from the shut-
down state automatically.
Once all auto-shutdown conditions are removed, the
hardware will automatically clear SHUTDOWN. Once
SHUTDOWN is cleared, the CWG module will resume
operation upon the first rising edge of the CWG data
input.
19.9
Operation during Sleep
The CWG module will operate during Sleep, provided
that the input sources remain active.
If the HFINTOSC is selected as the module clock
source, dead-band generation will remain active. This
will have a direct effect on the Sleep mode current.
19.10
Configuring the CWG
1.
Ensure that the TRIS control bits corresponding
to CWG outputs are set so that all are
configured as inputs, ensuring that the outputs
are inactive during setup. External hardware
should ensure that pin levels are held to safe
levels.
2.
Clear the EN bit, if not already cleared.
3.
Configure
the
MODE<2:0>
bits
of
the
CWG1CON0 register to set the output operating
mode.
4.
Configure the POLy bits of the CWG1CON1
register to set the output polarities.
5.
Configure the DAT<3:0> bits of the CWG1DAT
register to select the data input source.
6.
If a Steering mode is selected, configure the
STRx bits to select the desired output on the
CWG outputs.
7.
Configure the LSBD<1:0> and LSAC<1:0> bits
of the CWG1AS0 register to select the auto-
shutdown output override states (this is
necessary even if not using auto-shutdown
because start-up will be from a shutdown state).
8.
If auto-restart is desired, set the REN bit of
CWG1AS0.
9.
If auto-shutdown is desired, configure the ASxE
bits of the CWG1AS1 register to select the shut-
down source.
10. Set the desired rising and falling dead-band
times with the CWG1DBR and CWG1DBF
registers.
11. Select the clock source in the CWG1CLKCON
register.
12. Set the EN bit to enable the module.
13. Clear the TRIS bits that correspond to the CWG
outputs to set them as outputs.
14. If auto-restart is to be used, set the REN bit and
the
SHUTDOWN
bit
will
be
cleared
automatically.
Otherwise,
clear
the
SHUTDOWN bit in software to start the CWG.
Note:
SHUTDOWN bit cannot be cleared in
software if the auto-shutdown condition is
still present.
Note:
SHUTDOWN bit cannot be cleared in
software if the auto-shutdown condition is
still present.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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