Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC18LF4331 Datasheet(PDF) 176 Page - Microchip Technology

Part # PIC18LF4331
Description  28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PDF  392 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18LF4331 Datasheet(HTML) 176 Page - Microchip Technology

Back Button PIC18LF4331 Datasheet HTML 172Page - Microchip Technology PIC18LF4331 Datasheet HTML 173Page - Microchip Technology PIC18LF4331 Datasheet HTML 174Page - Microchip Technology PIC18LF4331 Datasheet HTML 175Page - Microchip Technology PIC18LF4331 Datasheet HTML 176Page - Microchip Technology PIC18LF4331 Datasheet HTML 177Page - Microchip Technology PIC18LF4331 Datasheet HTML 178Page - Microchip Technology PIC18LF4331 Datasheet HTML 179Page - Microchip Technology PIC18LF4331 Datasheet HTML 180Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 176 / 392 page
background image
PIC18F2331/2431/4331/4431
DS39616D-page 176
 2010 Microchip Technology Inc.
18.1
Control Registers
The operation of the PWM module is controlled by a
total of 22 registers. Eight of these are used to
configure the features of the module:
• PWM Timer Control Register 0 (PTCON0)
• PWM Timer Control Register 1 (PTCON1)
• PWM Control Register 0 (PWMCON0)
• PWM Control Register 1 (PWMCON1)
• Dead-Time Control Register (DTCON)
• Output Override Control Register (OVDCOND)
• Output State Register (OVDCONS)
• Fault Configuration Register (FLTCONFIG)
There are also 14 registers that are configured as
seven register pairs of 16 bits. These are used for the
configuration values of specific features. They are:
• PWM Time Base Registers (PTMRH and PTMRL)
• PWM Time Base Period Registers (PTPERH and
PTPERL)
• PWM Special Event Trigger Compare Registers
(SEVTCMPH and SEVTCMPL)
• PWM Duty Cycle #0 Registers
(PDC0H and PDC0L)
• PWM Duty Cycle #1 Registers
(PDC1H and PDC1L)
• PWM Duty Cycle #2 Registers
(PDC2H and PDC2L)
• PWM Duty Cycle #3 Registers
(PDC3H and PDC3L)
All of these register pairs are double-buffered.
18.2
Module Functionality
The PWM module supports several modes of operation
that are beneficial for specific power and motor control
applications. Each mode of operation is described in
subsequent sections.
The PWM module is composed of several functional
blocks. The operation of each is explained separately
in relation to the several modes of operation:
•PWM Time Base
• PWM Time Base Interrupts
•PWM Period
• PWM Duty Cycle
• Dead-Time Generators
• PWM Output Overrides
• PWM Fault Inputs
• PWM Special Event Trigger
18.3
PWM Time Base
The PWM time base is provided by a 12-bit timer with
prescaler and postscaler functions. A simplified block
diagram of the PWM time base is shown in Figure 18-4.
The PWM time base is configured through the
PTCON0 and PTCON1 registers. The time base is
enabled or disabled by respectively setting or clearing
the PTEN bit in the PTCON1 register.
Note:
The PTMR register pair (PTMRL:PTMRH)
is not cleared when the PTEN bit is
cleared in software.



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