| 数据搜索系统,热门电子元器件搜索 |
|
STMPE2401 数据表(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STMPE2401 数据表(HTML) 37 Page - STMicroelectronics |
|
37 / 55 page ![]() STMPE2401 PWM commands 37/55 12 PWM commands The STMPE2401 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. Table 34. PWM commands Instruction Description RAMP This instruction starts the PWM counters and set the pwm_x_out with the result from the counting. Set Maximum (SMAX) Load the PWM counter with the value of 0xff and the pwm_x_out will result in logic level low. Set Minimum (SMIN) Load the PWM counter with the value of 0x0 and the pwm_x_out will result in logic level high. Go to Start (GTS) Branch to the address 0x0 and execute from 0x0 and onwards. BRANCH Branch to a relative or an absolute address to execute with the looping capability. There are 4 loop counters available and these allow 4 nested loops. END End the instruction execution by resetting and interrupting to the host. Trigger (TRIG) Capable of waiting as well as sending triggers to another PWM channel. Table 35. Identification of instructions Instruction Bit 15 Bit 14 Bit 13 Ramp 0- - SetFullScale 0- - SetMinimum 0- - GoToStart 0- - Branch 101 End 110 Trigger 111 Reserved 100 |
|
链接网址 |
| 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 |