| 数据搜索系统,热门电子元器件搜索 |
|
ST10F280 数据表(PDF) 120 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F280 数据表(HTML) 120 Page - STMicroelectronics |
|
120 / 186 page ![]() ST10F280 120/186 Control / Status Register (EF00h/EE00h) XReg Reset Value: XX01h Table 27 : CAN Control/Status Register 15 14 13 12 11 10 9 8 76543210 BOFF EWRN - RXOK TXOK LEC TST CCE 0 0 EIE SIE IE INIT R R RW RW RW RW RW R R RW RW RW RW Bit Function (Control Bit) INIT Initialization 1: Software initialization of the CAN controller. While init is set, all message transfers are stopped. Setting init does not change the configuration registers and does not stop transmission or reception of a message in progress. The INIT bit is also set by hardware, following a busoff condition; the CPU then needs to reset INIT to start the bus recovery sequence. 0: Disable software initialization of the CAN controller; on INI completion, the CAN waits for 11 consecutive recessive bit before taking part in bus activities. IE Interrupt Enable Does not affect status updates. 1: Global interrupt enable from CAN module. 0: Global interrupt disable from CAN module. SIE Status Change Interrupt Enable 1: Enables interrupt generation when a message transfer (reception or transmision is successfully completed) or CAN bus error is detected and registered in LEC is the status partition. 0: Disable status change interrupt. EIE Error Interrupt Enable 1: Enables interrupt generation on a change of bit BOFF or EWARN in the status partition. 0: Disable error interrupt. CCE Configuration Change Enable 1: Allows CPU access to the bit timing register 0: Disables CPU access to the bit timing register TST Test Mode (Bit 7) Make sure that bit 7 is cleared when writing to the Control Register. Writing a 1 during normal operation may lead erroneous device behaviour. LEC Last Error Code This field holds a code which indicates the type of the last error occurred on the CAN bus. If a message has been transferred (reception or transmission) without error, this field will be cleared. Code “7” is unused and may be written by the CPU to check for updates. 0: No Error 1: Stuff Error: More than 5 equal bit in a sequence have occurred in a part of a received message where this is not allowed. 2: Form Error: A fixed format part of a received frame has the wrong format. 3: AckError: The message this CAN controller transmitted was not acknowledged by another node 4: Bit1Error: During the transmission of a message (with the exception of the arbitration field), the device wanted to send a recessive level (“1”), but the monitored bus value was dominant 5: Bit0Error: During the transmission of a message (or acknowledge bit, active error flag, or overload flag), the device wanted to send a dominant level (“0”), but the monitored bus value was recessive. During busoff recovery this status is set each time a sequence of 11 recessive bit has been monitored. This enables the CPU to monitor the proceeding of the busoff recovery sequence (indicating the bus is not stuck at dominant or continuously disturbed). 6: CRCError: The CRC check sum was incorrect in the message received. |
|
链接网址 |
| 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 |