#ifndef TMPL_J1939_ADDRESS
#define TMPL_J1939_ADDRESS 0
#endif
#ifndef TMPL_J1939_TEST_MAIN
#define TMPL_J1939_TEST_MAIN 0
#endif
#ifndef TMPL_J1939_USE_CAN_IF
#define TMPL_J1939_USE_CAN_IF eCP_CHANNEL_1
#endif
int main(void)
{
uint32_t ulLastTimerTickT = 0;
while (1)
{
{
}
{
}
else
{
}
#if TMPL_J1939_TEST_MAIN > 0
static uint32_t ulTestMainCounterS = TMPL_J1939_TEST_MAIN;
if (ulTestMainCounterS == 0) break;
ulTestMainCounterS--;
#endif
}
return(0);
}
#define J1939_CONF_BITRATE_250K
Definition j1939_mgr.h:79
@ eJ1939_ERR_RESET
Definition j1939_defs.h:389
@ eJ1939_NET_1
Definition j1939_defs.h:117
void J1939_DemoAppInit(uint8_t ubNetV)
J1939 Management Functions .
J1939_Status_tv J1939_MgrProcess(void)
J1939_Status_tv J1939_MgrInit(uint8_t ubCanIfV, uint8_t ubNetV, uint8_t ubAddressV, uint16_t uwConfigV)
J1939_Status_tv J1939_MgrRelease(uint8_t ubNetV)
J1939_Status_tv J1939_MgrStart(uint8_t ubNetV)
void J1939_TmrEvent(void)
Execute Timer-based Services.
uint32_t McTmrTick(void)
Get timer tick.
void McTmrInit(void)
Initialise Timer.
MCL - Watchdog support functions .
Status_tv McWdtInit(void)
Initialize watchdog.