| 전자부품 데이터시트 검색엔진 |
|
ST72561 데이터시트(PDF) 198 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72561 데이터시트(HTML) 198 Page - STMicroelectronics |
|
198 / 262 page ![]() ST72561 198/262 beCAN CONTROLLER (Cont’d) CAN ERROR STATUS REGISTER (CESR) Read / Write Reset Value: 0000 0000 (00h) Bit 7 = Reserved. Forced to 0 by hardware. Bit 6:4 = LEC[2:0] Last Error Code - Read/Set/Clear This field holds a code which indicates the type of the last error detected on the CAN bus. If a mes- sage has been transferred (reception or transmis- sion) without error, this field will be cleared to ‘0’. The code 7 is unused and may be written by the CPU to check for update Table 29. LEC Error Types Bit 3 = Reserved. Forced to 0 by hardware. Bit 2 = BOFF Bus-Off Flag - Read This bit is set by hardware when it enters the bus- off state. The bus-off state is entered on TECR overrun, TEC greater than 255, refer to Section 10.9.4.5 on page 184. Bit 1 = EPVF Error Passive Flag - Read This bit is set by hardware when the Error Passive limit has been reached (Receive Error Counter or Transmit Error Counter greater than 127). Bit 1 = EWGF Error Warning Flag - Read This bit is set by hardware when the warning limit has been reached. Receive Error Counter or Transmit Error Counter greater than 96. CAN ERROR INTERRUPT ENABLE REGISTER (CEIER) All bits of this register are set and clear by soft- ware. Read/Write Reset Value: 0000 0000 (00h) Bit 7 = ERRIE Error Interrupt Enable 0: No interrupt will be generated when an error condition is pending in the CESR. 1: An interrupt will be generation when an error condition is pending in the CESR. Bit 6:5 = Reserved. Forced to 0 by hardware. Bit 4 = LECIE Last Error Code Interrupt Enable 0: ERRI bit will not be set when the error code in LEC[2:0] is set by hardware on error detection. 1: ERRI bit will be set when the error code in LEC[2:0] is set by hardware on error detection. Bit 3 = Reserved. Forced to 0 by hardware. Bit 2 = BOFIE Bus-Off Interrupt Enable 0: ERRI bit will not be set when BOFF is set. 1: ERRI bit will be set when BOFF is set. Bit 1 = EPVIE Error Passive Interrupt Enable 0: ERRI bit will not be set when EPVF is set. 1: ERRI bit will be set when EPVF is set. Bit 0 = EWGIE Error Warning Interrupt Enable 0: ERRI bit will not be set when EWGF is set. 1: ERRI bit will be set when EWGF is set. 70 0 LEC2 LEC1 LEC0 0 BOFF EPVF EWGF Code Error Type 0No Error 1 Stuff Error 2 Form Error 3 Acknowledgment Error 4 Bit recessive Error 5 Bit dominant Error 6 CRC Error 7 Set by software 70 ERRIE 0 0 LECIE 0 BOFIE EPVIE EWGIE |
|
링크 URL |
| 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 |