| Electronic Components Datasheet Search |
|
AN3311 Datasheet(PDF) 36 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3311 Datasheet(HTML) 36 Page - STMicroelectronics |
|
36 / 58 page ![]() Getting started with the system AN3311 36/58 Doc ID 18209 Rev 1 /* * Configures the high frequency timers - those used to measure the timing * jitter while the real time kernel is executing. */ extern void vSetupHighFrequencyTimer( void ); u16 ticksSinceLastHeard[APPLICATION_ADDRESS_TABLE_SIZE]; EmberNetworkStatus networkState = EMBER_NO_NETWORK; /* insert Start */ xSemaphoreHandle xSemaphore_Ember = NULL; xSemaphoreHandle xSemaphore_Serial = NULL; extern void EZSP_Init(void); extern void emberTick(void); extern void processSerialInput(void); extern void applicationTick(void); /* insert End */ /*-------------------------*/ int main( void ) { #ifdef DEBUG debug(); #endif pLcdParam = NewLcdHwParamObj (); pTscParam = NewTscHwParamObj (); pJoyParam = NewJoyHwParamObj (); pBtnParam = NewBtnHwParamObj (); prvSetupHardware(); /* Start the tasks. FreeRTOS API. */ xTaskCreate( vEmberTickTask, "EMBER", configMINIMAL_STACK_SIZE, NULL, EMBER_Task, xEmberTaskHandle ); xTaskCreate( vSmartPlugSamplingTask, ( signed portCHAR * ) "SmartPlugSampling", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, xSmartSamplingTaskHandle ); xTaskCreate( vGraphicLibraryTask, ( signed portCHAR * ) "GraphicLibrary", configMINIMAL_STACK_SIZE*2, NULL, tskIDLE_PRIORITY+1, xGraphLibTaskHandle ); /* Start the scheduler. */ vTaskStartScheduler(); // emberLeaveNetwork(); /* Will only get here if there was insufficient memory to create the idle task. The idle task is created within vTaskStartScheduler(). */ for( ;; ); } The initialization process is charged with preparing the basic mechanism of the system: ● Hardware peripheral configuration and initialization ● ZigBee stack initialization ● FreeRTOS task creation ● Starting system. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |