AN241
3. Creating User Applications
The Application layer must start the ZigBee network in a specified sequence. This section describes initialization,
network startup, and joining procedures.
3.1. System Initialization
These functions should be called in order as the node is initially powered up.
Disable Global Interrupts:
DISABLE_GLOBAL_INT();
Initialize System Hardware:
SystemInit();
Initialize Transceiver:
CC2420Init();
Initialize Transceiver Interrupt:
EINT_Init ();
Initialize MAC Internal Variables and Default PIB settings:
MAC_Init();
macInitEnv();
mlmeResetRequest(FALSE);
Initialize NWK layer:
netInit();
Enable Global Interrupts:
ENABLE_GLOBAL_INT();
2
Rev. 0.1