| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
ST7FLITE25F2M6 bảng dữ liệu(PDF) 100 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7FLITE25F2M6 bảng dữ liệu(HTML) 100 Page - STMicroelectronics |
|
100 / 166 page ![]() On-chip peripherals ST7LITE20F2 ST7LITE25F2 ST7LITE29F2 100/166 Doc ID 8349 Rev 5 11.4.7 Interrupts Note: The SPI interrupt events are connected to the same interrupt vector (see Section 8: Interrupts). They generate an interrupt if the corresponding Enable Control bit is set and the interrupt mask in the CC register is reset (RIM instruction). 11.4.8 Register description Control register (SPICR) Read/Write Reset Value: 0000 xxxx (0xh) ● Bit 7 = SPIE Serial peripheral interrupt enable This bit is set and cleared by software. 0: Interrupt is inhibited 1: An SPI interrupt is generated whenever an End of Transfer event, Master mode Fault or Overrun error occurs (SPIF=1, MODF=1 or OVR=1 in the SPICSR register). ● Bit 6 = SPE Serial Peripheral Output Enable This bit is set and cleared by software. It is also cleared by hardware when, in master mode, SS=0 (see Section : Master mode fault (MODF)). The SPE bit is cleared by reset, so the SPI peripheral is not initially connected to the external pins. 0: I/O pins free for general purpose I/O 1: SPI I/O pin alternate functions enabled. ● Bit 5 = SPR2 Divider enable This bit is set and cleared by software and is cleared by reset. It is used with the SPR[1:0] bits to set the baud rate. Refer to Table 42: SPI Master mode SCK frequency. 0: Divider by 2 enabled 1: Divider by 2 disabled Note: This bit has no effect in slave mode. ● Bit 4 = MSTR Master mode This bit is set and cleared by software. It is also cleared by hardware when, in master mode, SS=0 (see Section : Master mode fault (MODF)). 0: Slave mode Table 41. Interrupt events Interrupt Event Event flag Enable control bit Exit from WAIT Exit from HALT SPI end of transfer event SPIF SPIE Yes Yes Master mode fault event MODF Yes No Overrun error OVR Yes No 7 0 SPIE SPE SPR2 MSTR CPOL CPHA SPR1 SPR0 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |