const Fr_HW_config_type Fr_HW_cfg_00 =
{
0x000400, // FlexRay module base address
0x0FF000,//0x0FF000 // FlexRay memory base address (MB headers start at this address)
FR_MFR4310, // Type of Freescale FlexRay module
FALSE, // Synchronization filtering
//FR_EXTERNAL_OSCILLATOR,
FR_INTERNAL_SYSTEM_BUS_CLOCK,
0, // Prescaler value
16, // Data size - segment 1
8, // Data size - segment 2
30, // Last MB in segment 1 (Number of MB in Segment1 - 1)
30, // Last individual MB (except FIFO); (Number of MB in Segment1 + Number of MB in Segment2 - 1)
31, // Total number of used MB (Last_individual_MB + 1 + FIFO)
TRUE, // Allow coldstart
0, // The value of the TIMEOUT bit field in the SYMATOR register - not implemented for all FlexRay modules
0, // Offset of the Sync Frame Table in the FlexRay memory
FR_DUAL_CHANNEL_MODE // Single channel mode disabled
};
const Fr_receive_shadow_buffers_config_type Fr_rx_shadow_cfg =
{
TRUE, // Rx shadow buffer for channel A, seg 1 - enabled?
FALSE, // Rx shadow buffer for channel A, seg 2 - enabled?
TRUE, // Rx shadow buffer for channel B, seg 1 - enabled?
FALSE, // Rx shadow buffer for channel B, seg 2 - enabled?
28, // Ch A, seg 1 - the current index of the MB header field
28, // Ch A, seg 2 - the current index of the MB header field
29, // Ch B, seg 1 - the current index of the MB header field
29 // Ch B, seg 2 - the current index of the MB header field
};