Engine Control eTPU Library   add Link's

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Engine Control eTPU Library   add Link's

817 Views
guidohelfenstei
Contributor I

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!

Labels (1)
0 Kudos
1 Reply

605 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you clarify this question a bit? What would you like to achieve?

0 Kudos