数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST10F280 数据表(PDF) 66 Page - STMicroelectronics

部件名 ST10F280
功能描述  16-BIT MCU WITH MAC UNIT, 512K BYTE FLASH MEMORY AND 18K BYTE RAM
PDF  186 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST10F280 数据表(HTML) 66 Page - STMicroelectronics

Back Button ST10F280 Datasheet HTML 62Page - STMicroelectronics ST10F280 Datasheet HTML 63Page - STMicroelectronics ST10F280 Datasheet HTML 64Page - STMicroelectronics ST10F280 Datasheet HTML 65Page - STMicroelectronics ST10F280 Datasheet HTML 66Page - STMicroelectronics ST10F280 Datasheet HTML 67Page - STMicroelectronics ST10F280 Datasheet HTML 68Page - STMicroelectronics ST10F280 Datasheet HTML 69Page - STMicroelectronics ST10F280 Datasheet HTML 70Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 66 / 186 page
background image
ST10F280
66/186
11.2.2 - XPWM Module Registers
The XPWM module is controlled via two sets of
registers. The waveforms are selected by the
channel specific registers XPTx (timer), XPPx
(period) and XPWx (pulse width).
Three common registers control the operating
modes and the general functions (XPWMCON0
and XPWMCON1) of the PWM module as well as
the interrupt behavior (XP2IC).
Up/Down Counters XPTx
Each counter XPTx of a PWM channel is clocked
either directly by the CPU clock or by the CPU
clock
divided
by
64.
Bit
PTIx
in
register
XPWMCON0 selects the respective clock source.
A XPWM counter counts up or down (controlled
by hardware), while its respective run control bit
PTRx is set. A timer is started (PTRx = ’1’) via
software and is stopped (PTRx = ’0’) either via
hardware or software, depending on its operating
mode. Control bit PTRx enables or disables the
clock input of counter XPTx rather than controlling
the XPWM output signal.
Note
For the register locations please refer to
the Table 14.
Table 15 summarizes the XPWM frequencies that
result from various combinations of operating
mode, counter resolution (input clock) and pulse
width resolution.
Period Registers XPPx
The 16-bit period register XPPx of a XPWM chan-
nel determines the period of a PWM cycle, i.e. the
frequency of the PWM signal. This register is buff-
ered with a shadow register. The shadow register
is loaded from the respective XPPx register at the
beginning of every new 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 14.
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 con-
tents of the shadow register with the contents of
the associated counter XPTx. The shadow regis-
ter 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 sig-
nal 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
theTable 14.
Table 14 : 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 15 : 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



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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