#include "cbl_demo_app.h"
#ifndef TMPL_CBL_CONFIG
#define TMPL_CBL_CONFIG 0
#endif
#ifndef TMPL_CBL_TEST_MAIN
#define TMPL_CBL_TEST_MAIN 0
#endif
#ifndef TMPL_CBL_USE_CAN_IF
#define TMPL_CBL_USE_CAN_IF eCP_CHANNEL_1
#endif
int main(void)
{
int32_t slBitrateSelT;
uint8_t ubNodeIdT;
CblDemoAppInit();
{
{
}
}
while (1)
{
{
}
#if TMPL_CBL_TEST_MAIN > 0
static uint32_t ulTestMainCounterS = TMPL_CBL_TEST_MAIN;
if (ulTestMainCounterS == 0) break;
ulTestMainCounterS--;
#endif
}
return(0);
}
@ eCblErr_NODE_RESET
Definition cbl_defs.h:241
CANopen Bootloader Management Functions .
uint8_t CblMgrStart(uint8_t ubBitrateSelV, uint8_t ubNodeIdV)
uint8_t CblMgrRelease(void)
uint8_t CblMgrProcess(void)
uint8_t CblMgrInit(uint8_t ubCanIfV, uint16_t uwConfigV)
uint8_t CblMgrGetBitrate(void)
uint8_t CblMgrGetNodeId(void)
CANopen Bootloader Network Management functions .
CANopen Bootloader objects .
CANopen Bootloader timing functions .
void CblTmrEvent(void)
Execute Timer-based Services.
MCL - erase and write flash memory .
Status_tv McFlashInit(void)
Initialise flash of MCU.
MCL - In-Application Programming framework .
@ eIAP_APP_AUTOSTART
Definition mc_iap.h:109
uint8_t McIapIsAppValid(void)
bool_t McIapIsBootLocked(void)
void McIapJumpToApp(void)
@ eTMR_CTRL_START
Definition mc_tmr.h:164
void McTmrInit(void)
Initialise Timer.
Status_tv McTmrFunctionInit(TmrHandler_fn fnHandlerV, uint32_t ulTicksV, uint8_t ubControlV)
Initialise function timer.
uint32_t McTmrTimeToTicks(uint32_t ulTimeV)
Convert time value to ticks.
MCL - Watchdog support functions .