AnsweredAssumed Answered

Engine Control eTPU Library   add Link's

Question asked by Guido Helfenstein on Jun 13, 2016
Latest reply on Jun 14, 2016 by David Tosenovjan

Hi

 

System: MPC5676R   /   Engine Control eTPU Library AN4907

 

The Can API have the follow struct: instance_t.

 

Question: Is it possible to add more Link`s

              

struct crank_instance_t

{

  const uint8_t  chan_num;

  const uint8_t  priority;

  const uint8_t  polarity;

  const uint8_t  teeth_till_gap;

  const uint8_t  teeth_in_gap;

  const uint8_t  teeth_per_cycle;

  const uint24_t tcr2_ticks_per_tooth;

  const uint24_t tcr2_ticks_per_add_tooth;

  const uint8_t  log_tooth_periods; .

  const uint32_t link_cam;  /**< Set of 4 link numbers to send to reset the Cam

    log. Up to 4 Cam channel numbers can be used. In case of a single Cam on

    channel 1, use 0x01010101. */

  const uint32_t link_1;    /**< The first  set of 4 link numbers to send when

    stall conditions accure. */

  const uint32_t link_2;    /**< The second set of 4 link numbers to send when

    stall conditions accure. */

  const uint32_t link_3;    /**< The third  set of 4 link numbers to send when

    stall conditions accure. */

  const uint32_t link_4;    /**< The fourth set of 4 link numbers to send when

    stall conditions accure. */

        uint32_t *cpba;   

        uint32_t *cpba_tooth_period_log;

};

 

 

thanks for your help!

Outcomes