Controller Area Network (CAN)
Returns:
Returns
true
if the receive error count has reached the error passive limit, and
false
if the error
count is below the error passive limit.
6.2.1.7
ROM_CANInit
Initializes the CAN controller after reset.
Prototype:
void
ROM_CANInit(uint32_t ui32Base)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_CANTABLE
is an array of pointers located at
ROM_APITABLE[18]
.
ROM_CANInit
is a function pointer located at
ROM_CANTABLE[1]
.
Parameters:
ui32Base
is the base address of the CAN controller.
Description:
After reset, the CAN controller is left in the disabled state. However, the memory used for
message objects contains undefined values and must be cleared prior to enabling the CAN
controller the first time. This prevents unwanted transmission or reception of data before the
message objects are configured. This function must be called before enabling the controller
the first time.
Returns:
None.
6.2.1.8
ROM_CANIntClear
Clears a CAN interrupt source.
Prototype:
void
ROM_CANIntClear(uint32_t ui32Base,
uint32_t ui32IntClr)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_CANTABLE
is an array of pointers located at
ROM_APITABLE[18]
.
ROM_CANIntClear
is a function pointer located at
ROM_CANTABLE[0]
.
Parameters:
ui32Base
is the base address of the CAN controller.
ui32IntClr
is a value indicating which interrupt source to clear.
Description:
This function can be used to clear a specific interrupt source. The
ui32IntClr
parameter should
be one of the following values:
April 8, 2013
59
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...