| поискавой системы для электроныых деталей |
|
AN2556 датащи(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2556 датащи(HTML) 22 Page - STMicroelectronics |
|
22 / 35 page ![]() New features AN2556 22/35 2.3.1 Hardware impacts None. 2.3.2 Software impacts The XIRxSEL registers must be configured. If none of the new X-Peripherals are used, that is, only the X-Peripherals that were already present on ST10F269Zx are used, the following values must be programmed: ● XIR0SEL = 0x0100, only CAN1 interrupt is enabled and can generate an interrupt to the ST10 through XP0IC. ● XIR1SEL = 0x0100, only CAN2 interrupt is enabled and can generate an interrupt to the ST10 through XP1IC. ● XIR2SEL = 0x0, not used. ● XIR3SEL = 0x2000, only PLL unlock interrupt is enabled and will generate an interrupt to the ST10 through XP3IC. Then, in the interrupt routines associated with the XPxIC, the respective flag in the XIRxSEL register must be cleared. Since the XIRxSEL registers are not bit addressable, a pair of registers (a pair for each XIRxSEL) is provided to allow setting and clearing the bits of XIRxSEL without risking overwriting requests coming after reading the register and before writing it. Therefore the following registers must be written to clear the flags: ● In the CAN1 interrupt routine, XIR0CLR (@ EB14h) = 0x0001. ● In the CAN2 interrupt routine, XIR1CLR (@ EB24h) = 0x0001. ● In the PLL unlock interrupt routine, XIR3CLR (@ EB44h) = 0x0020. Additional information on the X-Interrupt multiplexer structure Figure 1 on page 17 shows that the X-Interrupt sources are connected to the interrupt request flag of the XIRxSEL registers and to the XPxIR request flag via an AND gate with I2C Transmit X X X I2C Error X SSC1 Receive X X X SSC1 Transmit X X X SSC1 Error X ASC1 Receive X X X ASC1 Transmit X X X ASC1 Transmit Buffer X X X ASC1 Error X PLL Unlock / OWD X PWM1 Channel 3...0 X X Table 13. X-Interrupt detailed mapping (continued) XP0INT XP1INT XP2INT XP3INT |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |