поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

PIC16F684-E/ST датащи(PDF) 90 Page - Microchip Technology

номер детали PIC16F684-E/ST
подробное описание детали  14-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PDF  164 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MICROCHIP [Microchip Technology]
домашняя страница  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F684-E/ST датащи(HTML) 90 Page - Microchip Technology

Back Button PIC16F684-E/ST Datasheet HTML 86Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 87Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 88Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 89Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 90Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 91Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 92Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 93Page - Microchip Technology PIC16F684-E/ST Datasheet HTML 94Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 90 / 164 page
background image
PIC16F684
DS41202C-page 88
Preliminary
 2004 Microchip Technology Inc.
11.3.9
OPERATION IN SLEEP MODE
In Sleep mode, all clock sources are disabled. Timer2
will not increment, and the state of the module will not
change. If the ECCP pin is driving a value, it will
continue to drive that value. When the device wakes
up, it will continue from this state.
11.3.9.1
OPERATION WITH FAIL-SAFE
CLOCK MONITOR
If the Fail-Safe Clock Monitor is enabled, a clock failure
will force the ECCP to be clocked from the internal
oscillator clock source, which may have a different
clock frequency than the primary clock.
See Section 3.0 “Clock Sources” for additional
details.
11.3.10
EFFECTS OF A RESET
Any Reset will force all ports to Input mode and the
ECCP registers to their Reset states.
This forces the Enhanced CCP module to reset to a
state compatible with the standard CCP module.
11.3.11
SETUP FOR PWM OPERATION
The following steps should be taken when configuring
the ECCP module for PWM operation:
1.
Configure the PWM pins P1A and P1B (and
P1C and P1D, if used) as inputs by setting the
corresponding TRISC bits.
2.
Set the PWM period by loading the PR2 register.
3.
Configure the ECCP module for the desired
PWM mode and configuration by loading the
CCP1CON register with the appropriate values:
• Select one of the available output
configurations and direction with the
P1M<1:0> bits.
• Select the polarities of the PWM output
signals with the CCP1M<3:0> bits.
4.
Set the PWM duty cycle by loading the CCPR1L
register and CCP1CON<5:4> bits.
5.
For Half-bridge Output mode, set the dead band
delay by loading PWM1CON<6:0> with the
appropriate value.
6.
If auto-shutdown operation is required, load the
ECCPAS register:
• Select the auto-shutdown sources using the
ECCPAS<2:0> bits.
• Select the shutdown states of the PWM
output pins using PSSAC<1:0> and
PSSBD<1:0> bits.
• Set the ECCPASE bit (ECCPAS<7>).
• Configure the comparators using the
CMCON0 register (Register 8-1).
• Configure the comparator inputs as analog
inputs.
7.
If auto-restart operation is required, set the
PRSEN bit (PWM1CON<7>).
8.
Configure and start TMR2:
• Clear the TMR2 interrupt flag bit by clearing
the TMR2IF bit (PIR1<1>).
• Set the TMR2 prescale value by loading the
T2CKPS bits (T2CON<1:0>).
• Enable Timer2 by setting the TMR2ON bit
(T2CON<2>).
9.
Enable PWM outputs after a new PWM cycle
has started:
• Wait until TMR2 overflows (TMR2IF bit is set).
• Enable the CCP1/P1A, P1B, P1C and/or P1D
pin outputs by clearing the respective TRISC
bits.
• Clear the ECCPASE bit (ECCPAS<7>).



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


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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