Electronic Components Datasheet Search
  English  ▼

X  

AN3311 Datasheet(PDF) 35 Page - STMicroelectronics

Part # AN3311
Description  This application note describes
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3311 Datasheet(HTML) 35 Page - STMicroelectronics

Back Button AN3311 Datasheet HTML 31Page - STMicroelectronics AN3311 Datasheet HTML 32Page - STMicroelectronics AN3311 Datasheet HTML 33Page - STMicroelectronics AN3311 Datasheet HTML 34Page - STMicroelectronics AN3311 Datasheet HTML 35Page - STMicroelectronics AN3311 Datasheet HTML 36Page - STMicroelectronics AN3311 Datasheet HTML 37Page - STMicroelectronics AN3311 Datasheet HTML 38Page - STMicroelectronics AN3311 Datasheet HTML 39Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 58 page
background image
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);



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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