| 数据搜索系统,热门电子元器件搜索 |
|
HC05V7GRS/D 数据表(PDF) 95 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
HC05V7GRS/D 数据表(HTML) 95 Page - NXP Semiconductors |
|
95 / 170 page ![]() SECTION 13: PULSE WIDTH MODULATOR Page 81 MC68HC05V7 Specification Rev. 1.0 13.2 REGISTERS Associated with the PWM system, there is a PWM data register and a control register. The following registers can be written to and read at any time. Data written to the data register is held in a buffer and transferred to the PWM Data Register at the end of a PWM cycle. Reads of this register will always result in the read of the PWM Data Register and not the buffer. Upon RESET the user should write to the data register prior to enabling the PWM system (for example, prior to setting the PSA and PSB bits for PWM input clock rate). This will avoid an erroneous duty cycle from being driven. During regular user mode the user should write to the PWM Data data register after writing the PWM Control Register. Figure 13-4: PWM Write Sequences 13.2.1 PWM CONTROL Figure 13-5: PWM Control Register PSA1, PSA0, PSB3-PSB0- PWM Clock Rate These bits select the input clock rate and determines the period, as shown in Table 13-1. Note that some output frequencies can be obtained with more than one combination of PSA Table 13-1: PWM Clock Rate PSA1:PSA0 PSB3-PSB0 RCLK SCLK PWM OUT 00 xxxx off off off 01 0000-1111 fosc/1 fosc/1-fosc/16 fosc/64- fosc/1024 10 0000-1111 fosc/8 fosc/8-fosc/128 fosc/512- fosc/8192 Initialize PWM Data 0 Write PWM CONTROL OR RESET POR Write PWM CONTROL Write PWM Data 1 N Y PSA1 -- -- PSB2 PSB1 PSB0 PSA0 $31 0--0 0 0 0 0 RESET: -- PSB3 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |