完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
/*------------------------------------------------------------------------- * Type Declarations *-----------------------------------------------------------------------*/ typedef struct PAL_Context_s { qbool_t Initialized; //初始化标志 qapi_UART_Handle_t Console_UART; //串口handle qbool_t Uart_Enabled; //串口使能标志 char Rx_Buffer[PAL_RECIEVE_BUFFER_COUNT][PAL_RECIEVE_BUFFER_SIZE]; //buffer char Rx_Buffer_Length[PAL_RECIEVE_BUFFER_COUNT]; //每个buffer的长度 uint8_t Rx_In_Index; uint8_t Rx_Out_Index; volatile uint32_t Rx_Buffers_Free; volatile uint32_t BytesToTx; qurt_signal_t Event; //事件 } PAL_Context_t; /*------------------------------------------------------------------------- * Static & global Variable Declarations *-----------------------------------------------------------------------*/ static PAL_Context_t PAL_Context;
/** @brief Function call to initialize the application. */ void app_init(qbool_t ColdBoot) { #ifdef ENABLE_DBGCALL dbgcall_setup(); #endif /* Initialize the platform. */ if(PAL_Initialize()) { /* Create a receive event. */ qurt_signal_init(&(PAL_Context.Event)); /* Initialize the samples. */ Initialize_Samples(); PAL_Context.Initialized = true; } }
/** @brief Main entry point of the application. */ void app_start(qbool_t ColdBoot) { if(PAL_Context.Initialized) { /* Start the main demo app. */ App_Start(ColdBoot); } }
只有小组成员才能发言,加入小组>>
80个成员聚集在这个小组
Qualcomm_Snapdragon_VR_SDK SvrPlugin脚本简介(1)
1670 浏览 0 评论
【DragonBoard 410c试用体验】之OpenCV中canny算子边缘检测
8976 浏览 0 评论
【DragonBoard 410c】汇总帖(2016.10.25更新)
36057 浏览 2 评论
电子发烧友网
电子发烧友论坛
查看 »
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-21 20:22 , Processed in 0.404165 second(s), Total 35, Slave 27 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com