| Electronic Components Datasheet Search |
|
AN3311 Datasheet(PDF) 35 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3311 Datasheet(HTML) 35 Page - STMicroelectronics |
|
35 / 58 page ![]() AN3311 Getting started with the system Doc ID 18209 Rev 1 35/58 /* Exported variables--------------------------------------------------------*/ LCD_HW_Parameters_TypeDef* pLcdParam; TSC_HW_Parameters_TypeDef* pTscParam; JOY_HW_Parameters_TypeDef* pJoyParam; BTN_HW_Parameters_TypeDef* pBtnParam; extern volatile GL_u8 touch_done; GL_s16 smart_points1[N_SAMPLES]; GL_s16 smart_points1B[N_SAMPLES]; GL_s16 smart_points2[N_SAMPLES]; GL_s16 smart_points2B[N_SAMPLES]; SmartPlugType** ppSmartPlugList; SmartPlugType* pCurrentSmartPlug; extern GL_Page_TypeDef pageS2B; extern GL_Page_TypeDef pageS2C; /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ static volatile ErrorStatus HSEStartUpStatus /*= SUCCESS*/; volatile GL_u8 restart_calibration = 0; GPIO_InitTypeDef GPIO_InitStructure; static u32 TimingDelay; static xTaskHandle xEmberTaskHandle, xApplTaskHandle, xSmartSamplingTaskHandle, xGraphLibTaskHandle; /* The time between cycles of the 'check' functionality (defined within the tick hook. */ #define mainCHECK_DELAY ( ( portTickType ) 5000 / portTICK_RATE_MS ) /* Task priorities. */ #define EMBER_Task ( tskIDLE_PRIORITY + 3 ) #define APPLICATION_Tick_Task ( tskIDLE_PRIORITY + 2 ) #define mainINIT_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 ) /* The period of the system clock in nano seconds. This is used to calculate the jitter time in nano seconds. */ #define mainNS_PER_CLOCK ((unsigned portLONG)((1.0 / (double)configCPU_CLOCK_HZ)*1000000000.0)) /*-----------------------------------------------------------*/ /* Configure the hardware for the demo. */ static void prvSetupHardware( void ); static void vEmberTickTask( void *pvParameters ); extern void EZSPInit(void); static void prvApplicationTask( void * pvParameters ); void vApplication_EXIT2_ISRFunc( void ); void vApplication_USART0_ISRFunc( void ); /* Configure the hardware for the demo. */ static void prvSetupHardware( void ); /* Configure the board, LCD, Joystick, Button, GPIO and other peripherals as required by the demo. */ static void vBoardInit( void ); /* Check Touchscreen, Joystick, Button in polling mode as required by the demo. */ static void vGraphicLibraryTask(void *pvParameters); /* Check the SmartPlug Energy data as required by the demo. */ static void vSmartPlugSamplingTask( void *pvParameters); |
|
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 |