| 数据搜索系统,热门电子元器件搜索 |
|
ST7MC1K2 数据表(PDF) 265 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7MC1K2 数据表(HTML) 265 Page - STMicroelectronics |
|
265 / 371 page ![]() Obsolete Product(s) - Obsolete Product(s) ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto On-chip peripherals 265/371 Note: 1 Loading value FFh in the MISR register resets the PWM generator counter and transfers the compare preload registers in the active registers by generating a U event (PUI bit set to 1). Refer to Timer resynchronization on page 258. 2 When several MTC interrupts are enabled at the same time the BRES instruction must not be used to avoid unwanted clearing of status flags: if a second interrupt occurs while BRES is executed (which performs a read-modify-write sequence) to clear the flag of a first interrupt, the flag of the second interrupt may also be cleared and the corresponding interrupt routine is not serviced. It is thus recommended to use a load instruction to clear the flag, with a value equal to the logical complement of the bit. For instance, to clear the PUI flag: ld MISR, # 0x7F. 3 In autoswitched mode (SWA = 1 in the MRCA register): As all bits in the MISR register are status flags, they are set by internal hardware signals and must be cleared by software. Any attempt to write them to 1 has no effect (they are read as 0) without interrupt generation. In switched mode (SWA = 0 in the MRCA register): To avoid losing any interrupts when modifying the RMI and RPI bits the following instruction sequence is recommended: ld MISR, # 0x9F; reset both RMI and RPI bits. ld MISR, # 0xBF; set RMI bit. ld MISR, # 0xDF; set RPI bit. Control register A (MCRA) 1DI End of demagnetization interrupt flag 0: No end of demagnetization interrupt pending 1: End of demagnetization interrupt pending 0CI Commutation/capture interrupt flag 0: No commutation/capture interrupt pending 1: Commutation/capture interrupt pending Table 125. MISR register description (continued) Bit Name Function MCRA Reset value: 0000 0000 (00h) 7 654 32 10 MOE CKE SR DAC V0C1 SWA PZ DCB R/W R/W R/W R/W R/W R/W R/W R/W Table 126. MCRA register description Bit Name Function 7 MOE Output enable bit 0: Outputs disabled; MC0[5:0] outputs are put in reset state(1)(2) 1: Outputs enabled; MC0[5:0] outputs enabled Obsolete Product(s) - Obsolete Product(s) |
|
链接网址 |
| 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 |