Embedded Component: NXP®.AN

Roll over image to zoom in

Features

Timing segments

  • The Synchronization Segment
  • The Propagation Segment
  • The Phase Segment 1
  • The Phase Segment 2

Methods for all architectures:

  • Enable - Enables the Embedded Component - it turns on the send and receive functions. Events may be generated ("DisableEvent"/"EnableEvent").
  • Disable - Disables the Embedded Component - it stops the send and receive functions. No events will be generated.
  • EnableEvent - Enables the events. This method is available if the interrupt service/event property is enabled and at least one event is enabled.
  • DisableEvent - Disables the events. This method is available if the interrupt service/event property is enabled and at least one event is enabled.
  • GetTransmitErrorCounter - Returns a value of the transmission error counter.
  • GetReceiverErrorCounter - Returns a value of the reception error counter.
  • SendFrame - Sends the frame via the CAN device. Using this method the user can send own message to the CAN bus. This method allows to specify CAN buffer number, message ID, data to be sent and frame type (DATA_FRAME/REMOTE_FRAME).
  • GetError - Returns the content of the receiver flag register.

Methods for HC08, HCS12 and DSP80x derivatives.

  • SetSleepRequest - This method sets the request to enter Sleep Mode, which is an internal power saving mode.
  • ClearSleepRequest - This method clears the request to enter Sleep Mode, which is an internal power saving mode.
  • GetSleepAck - Returns the status of sleep mode acknowledge.
  • AbortMessage - Requests that scheduled message buffer is aborted.
  • GetAbortMessageAck - Returns the status of the abort message acknowledge.
  • GetAccHitIndicator - Returns the value of acceptance hit generator.

Methods for HCS12 and DSP80x derivatives.

  • SetAcceptanceCode - Sets the acceptance code registers. This method writes a code mask directly to the acceptance code registers.
  • GetAcceptanceCode - Returns a content of the acceptance code registers.
  • SetAcceptanceMask - Sets the acceptance mask registers. This method writes an acceptance mask directly to the acceptance mask registers.
  • GetAcceptanceMask - Returns the content of acceptance mask registers.
  • SetAcceptanceMode - Sets the acceptance mode register.

Methods for DSP83x derivatives.

  • SetAcceptanceMask14 - Sets the acceptance mask registers for message buffer 14.
  • GetAcceptanceMask14 - Returns the content of acceptance mask registers for message buffer 14.
  • SetAcceptanceMask15 - Set the acceptance mask registers for message buffer 15.
  • GetAcceptanceMask15 - Returns the content of acceptance mask registers for message buffer 15.
  • SetAcceptanceCode - Sets the message ID of the given message buffer. Buffer ID is used for message filtering of incoming frames.
  • GetAcceptanceCode - Returns the message ID of a given message buffer. Buffer ID is used for message filtering of incoming frames.
  • SetAcceptanceMask - Sets the acceptance mask registers. This method writes an acceptance mask directly to the acceptance mask registers.
  • GetAcceptanceMask - Returns the content of acceptance mask registers.
  • ReadFrame - Reads a frame from the CAN device. The user is informed about CAN reception through OnFullRxBuffer event or GetStateRX method.
  • GetStateTX - Returns a value of the transmission complete flags.
  • GetStateRX - Returns a value of the reception complete flag.
  • SendFrame - Sends a frame via the CAN device. Using this method the user can send own message to the CAN bus. This method allows to specify CAN buffer number, message ID, data to be sent, frame type (DATA_FRAME/REMOTE_FRAME) and whether the message will be sent after the request comes.
  • ReadFrame - Reads a frame from the CAN device. The user is informed about CAN reception through OnFullRxBuffer event or GetStateRX method.
  • GetStateTX - Returns the value of the transmission complete flags (register FCIFLAG1).
  • GetStateRX - Returns the value of the reception complete flags (register FCIFLAG1).
  • GetReadyStatus - Returns the status of the FlexCAN module.
  • SetBufferCode - Sets up the message buffer code for the appropriate message buffer. This method is always enabled because it is used internally.
  • GetBufferCode - Sets the message buffer code for the appropriate message buffer.
  • EnterStopMode - Enter to the stop mode
  • ExitStopMode - Exits from the stop mode

Methods for NXP® 56800/E derivatives.

  • ConnectPin - This method reconnects the requested pin associated with the selected peripheral in this bean. This method is available only for CPU derivatives and peripherals that support runtime pin sharing with other internal on-chip peripherals.
Note: Some methods can be implemented as macros. 

Methods for HCS12X and 56F803x derivatives.

  • BusOffRecoveryRequest - The method sets the request for recovery from the bus-off mode. The method is available only if the "Bus-off recovery mode" property is set to "User".

Supported Devices

System Requirements

Support

What do you need help with?