công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC16F15213T-I/ST bảng dữ liệu(PDF) 216 Page - Microchip Technology

tên linh kiện PIC16F15213T-I/ST
Giải thích chi tiết về linh kiện  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213T-I/ST bảng dữ liệu(HTML) 216 Page - Microchip Technology

Back Button PIC16F15213T-I/ST Datasheet HTML 212Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 213Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 214Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 215Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 216Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 217Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 218Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 219Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 220Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 216 / 439 page
background image
23.10 Setup for PWM Operation to Other Device Peripherals
Follow the next steps when configuring the module for PWM operation to be used by other device peripherals:
1.
Disable the PWMx pin output driver(s) by setting the associated TRIS bit(s).
2.
Clear the PWMxCON register.
3.
Load the T2PR register with the PWM period value.
4.
Load the PWMxDCH register and bits [7:6] of the PWMxDCL register with the PWM duty cycle value.
5.
Configure and start Timer2:
– Clear the TMR2IF Interrupt Flag bit of the PIRx register.(1)
– Select the timer clock source to be as FOSC/4 using the T2CLKCON register. This is required for correct
operation of the PWM module.
– Configure the CKPS bits of the T2CON register with the Timer2 prescale value.
– Enable Timer2 by setting the ON bit of the T2CON register.
6.
Wait until Timer2 overflows; the TMR2IF bit of the PIRx register is set.(1)
7.
Configure the PWM module by loading the PWMxCON register with the appropriate values.
Note: 
1.
To send a complete duty cycle and period on the first PWM output, the above steps must be included in the
setup sequence. If it is not critical to start with a complete PWM signal on the first output, then step 6 may be
ignored.
23.11 Register Definitions: PWM Control
Long bit name prefixes for the PWM peripherals are shown in the table below. Refer to the “Long Bit Names” section
for more information.
Table 23-3. PWM Bit Name Prefixes
Peripheral
Bit Name Prefix
PWM3
PWM3
PWM4
PWM4
PIC16F15213/14/23/24/43/44
PWM - Pulse-Width Modulation
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 216



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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