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

X  

STMPE2403 数据表(PDF) 43 Page - STMicroelectronics

部件名 STMPE2403
功能描述  24-bit Enhanced port expander with Keypad and PWM controller Xpander logic
PDF  63 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STMPE2403 数据表(HTML) 43 Page - STMicroelectronics

Back Button STMPE2403 Datasheet HTML 39Page - STMicroelectronics STMPE2403 Datasheet HTML 40Page - STMicroelectronics STMPE2403 Datasheet HTML 41Page - STMicroelectronics STMPE2403 Datasheet HTML 42Page - STMicroelectronics STMPE2403 Datasheet HTML 43Page - STMicroelectronics STMPE2403 Datasheet HTML 44Page - STMicroelectronics STMPE2403 Datasheet HTML 45Page - STMicroelectronics STMPE2403 Datasheet HTML 46Page - STMicroelectronics STMPE2403 Datasheet HTML 47Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 63 page
background image
STMPE2403
PWM controller
43/63
11.3
PWM Instruction Channel x (PWMICx)
This PWMICx is the dataport that allows the instructions to be loaded into the PWM
channel. The loading of the instructions is achieved by continuously writing to this dataport.
As this dataport address falls on the non-auto increment region, continuous write operation
on I2C will write into the same dataport address. The ‘x’ value is from 0 to 2 as there are 3
independent PWM channels. To access these dataports, the corresponding ENx in the
PWMCS register must be set to 0 first to put the PWM channel in reset state.
11.4
PWM commands
The STMPE2403 PWM Controller works as a simple MCU, with program space of 64
instructions and a simple instruction set. The instructions are all 16 bits in length. The 3
most significant bits are used to identify the commands.
Bit
7654321
0
IB7
IB6
IB5
IB4
IB3
IB2
IB1
IB0
Read/Write
RW
RW
RW
RW
RW
RW
RW
RW
Reset Value
0000000
0
Table 41. Bit description
Bits
Name
Description
7:0
IB[y]
PWM Instruction Channel x, where y is 7 to 0
As an instruction is 16-bit width, writing the instruction into this 8-bit PWMICx
dataport requires two 8-bit data write. The most significant byte of the 16-bit
instruction is to be written in first and followed by the least significant byte of the
instruction. The same effect applies to the read operation.
Table 42. PWM commands
Instruction
Description
RAMP
This instruction starts the PWM counters and set the pwm_x_out with the result
from the counting.
Prescale: (0 or 1)
‘0’ - divide 32KHz clock by 16
‘1’ – divide 32KHz clock by 512
Step Time: (1-63)
One ramp increment done in (step time) x (clock after prescale)
Sign: (0 or 1)
“0” – increase PWM output
‘1’ – decrease PWM output
Increment: (0-127)
The number of increment/decrement cycles



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


数据表 下载

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