| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PIC18F4331 bảng dữ liệu(PDF) 207 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC18F4331 bảng dữ liệu(HTML) 207 Page - Microchip Technology |
|
207 / 396 page ![]() 2003 Microchip Technology Inc. Preliminary DS39616B-page 205 PIC18F2331/2431/4331/4431 17.11 PWM Output and Polarity Control There are three device configuration bits associated with the PWM module that provide PWM output pin control defined in CONFIG3L configuration register. • HPOL configuration bit • LPOL configuration bit • PWMPIN configuration bit These three configuration bits work in conjunction with the three PWM enable bits (PWMEN2:PWMEN0) in the PWMCON0 register. The configuration bits and PWM enable bits ensure that the PWM pins are in the correct states after a device Reset occurs. 17.11.1 OUTPUT PIN CONTROL The PWMEN2:PWMEN0 control bits enable each PWM output pin as required in the application. All PWM I/O pins are general purpose I/O. When a pair of pins are enabled for PWM output, the PORT and TRIS registers controlling the pin are disabled. Refer to Figure 17-23 for details. FIGURE 17-23: PWM I/O PIN BLOCK DIAGRAM 17.11.2 OUTPUT POLARITY CONTROL The polarity of the PWM I/O pins is set during device programming via the HPOL and LPOL configuration bits in the CONFIG3L device configuration register. The HPOL configuration bit sets the output polarity for the high-side PWM outputs, PWM1, PWM3, PWM5 and PWM7. The polarity is active-high when HPOL is cleared (= 0), and active-low when it is set (= 1). The LPOL configuration bit sets the output polarity for the low-side PWM outputs, PWM0, PWM2, PWM4 and PWM6. As with HPOL, they are active-high when LPOL is cleared, and active-low when set. All output signals generated by the PWM module are referenced to the polarity control bits, including those generated by fault inputs or manual override (see Section 17.10 “PWM Output Override”). The default polarity configuration bits have the PWM I/O pins in active-high output polarity. Data Bus WR PORT WR TRIS RD PORT Data Latch TRIS Latch P VSS I/O Pin Q D Q CK Q D Q CK QD EN N VDD RD TRIS Schmitt Trigger TTL or 0 1 PWM Pin Enable PWM signal from module Note: I/O pin has protection diodes to VDD and VSS. PWM polarity selection logic not shown for clarity. |
|
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 |
| 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 |