| Electronic Components Datasheet Search |
|
ST10F280 Datasheet(PDF) 88 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F280 Datasheet(HTML) 88 Page - STMicroelectronics |
|
88 / 239 page ![]() PWM module ST10F280 88/239 Doc ID 8673 Rev. 3 PWM cycle, or upon a write access to XPPx, while the timer is stopped. The CPU accesses the XPPx register while the hardware compares the contents of the shadow register with the contents of the associated counter XPTx. When a match is found between counter and XPPx shadow register, the counter is either reset to 0000h, or the count direction is switched from counting up to counting down, depending on the selected operating mode of that XPWM channel. For the register locations refer to the Table 15. Pulse width registers XPWx This 16-bit register holds the actual PWM pulse width value which corresponds to the duty cycle of the PWM signal. This register is buffered with a shadow register. The CPU accesses the XPWx register while the hardware compares the contents of the shadow register with the contents of the associated counter XPTx. The shadow register is loaded from the respective XPWx register at the beginning of every new PWM cycle, or upon a write access to XPWx, while the timer is stopped.When the counter value is greater than or equal to the shadow register value, the PWM signal is set, otherwise it is reset. The output of the comparators may be described by the boolean formula: PWM output signal = [XPTx] ≥ [XPWx shadow latch]. This type of comparison allows a flexible control of the PWM signal. For the register locations refer to the Table 15. Table 15. XPWM module channel specific register addresses Register Address Register Address XPW0 EC30h XPT0 EC10h XPW1 EC32h XPT1 EC12h XPW2 EC34h XPT2 EC14h XPW3 EC36h XPT3 EC16h These registers are not bit-addressable. XPP0 EC20h XPP1 EC22h XPP2 EC24h XPP3 EC26h Table 16. XPWM frequency Mode 0 Resolution 8-bit 10-bit 12-bit 14-bit 16-bit CPU Clock/1 25ns 156.25kHz 39.06kHz 9.77kHz 2.44Hz 610.35Hz CPU Clock/64 1.6 μs 2.44Hz 610.35Hz 152.58Hz 38.15Hz 9.54Hz Mode 1 Resolution 8-bit 10-bit 12-bit 14-bit 16-bit CPU Clock/1 25ns 78.12kHz 19.53kHz 4.88kHz 1.22kHz 305.17Hz CPU Clock/64 1.6 μs 1.22kHz 305.17Hz 76.29Hz 19.07Hz 4.77Hz |
|
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 |
| 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 |