当前位置: 首页 > news >正文

成都手机微信网站建设报价有没有做粤菜的网站

成都手机微信网站建设报价,有没有做粤菜的网站,弹性盒子做自适应网站,wordpress微信授权访问pico高级API函数中#xff0c; multicore_fifo_pop_timeout_us 和 multicore_fifo_push_timeout_us 的延时参数#xff0c; 如修改为500微秒以上时#xff0c;其延时似乎远远超过设定值#xff0c;其反馈速度似乎被主核的交互所左右 #xff0c;而修改为200以下时#x…pico高级API函数中 multicore_fifo_pop_timeout_us 和  multicore_fifo_push_timeout_us 的延时参数 如修改为500微秒以上时其延时似乎远远超过设定值其反馈速度似乎被主核的交互所左右 而修改为200以下时反馈出现阶越运行这两个函数 的core1的打印速度快速增加显示其延时更加与设定值相符。 测试的代码 #include stdio.h #include pico/stdlib.h#include pico/multicore.h #define FLAG_VALUE 2void core1_entry() {uint32_t g0; bool ifthereispfalse; uint64_t timeout_u500; //这儿修改为500微秒以上时core1的打印速度和core0 1hz基本同步 而修改为200以下时反馈出现阶越core1的打印速度快速增加。 uint32_t out;lable2:multicore_fifo_push_timeout_us ( FLAG_VALUE,timeout_u) ;if( !multicore_fifo_pop_timeout_us (timeout_u,out) )printf(Hmm, thats not right on core 1!\n);elseprintf(Its all gone well on core 1! %u \n,out); goto lable2;while (1)tight_loop_contents(); }int main() {stdio_init_all();sleep_ms(1000); printf(Hello, fakeone\n);sleep_ms(1000);multicore_launch_core1(core1_entry);uint32_t g0;// Wait for it to start up lable:g multicore_fifo_pop_blocking();if (g ! FLAG_VALUE)printf(Hmm, thats not right on core 0!\n);else {multicore_fifo_push_blocking(FLAG_VALUE);printf(Its all gone well on core 0!\n);} sleep_ms(1000); goto lable;while (true) {printf(Hello, world!\n);sleep_ms(1000);}return 0; } 关键函数介绍官方原文 bool multicore_fifo_pop_timeout_us     (     uint64_t      timeout_us,         uint32_t *      out     )          Pop data from the read FIFO (data from the other core) with timeout. This function will block until there is data ready to be read or the timeout is reached See the note in the fifo section for considerations regarding use of the inter-core FIFOs Parameters timeout_us     the timeout in microseconds out     the location to store the popped data if available Returns true if the data was popped and a value copied into out, false if the timeout occurred before data could be popped bool multicore_fifo_push_timeout_us     (     uint32_t      data,         uint64_t      timeout_us     )          Push data on to the write FIFO (data to the other core) with timeout. This function will block until there is space for the data to be sent or the timeout is reached Parameters data     A 32 bit value to push on to the FIFO timeout_us     the timeout in microseconds Returns true if the data was pushed, false if the timeout occurred before data could be pushed 附pico例程原代码 #include stdio.h #include pico/stdlib.h #include pico/multicore.h#define FLAG_VALUE 123void core1_entry() {multicore_fifo_push_blocking(FLAG_VALUE);uint32_t g multicore_fifo_pop_blocking();if (g ! FLAG_VALUE)printf(Hmm, thats not right on core 1!\n);elseprintf(Its all gone well on core 1!);while (1)tight_loop_contents(); }int main() {stdio_init_all();printf(Hello, multicore!\n);multicore_launch_core1(core1_entry);// Wait for it to start upuint32_t g multicore_fifo_pop_blocking();if (g ! FLAG_VALUE)printf(Hmm, thats not right on core 0!\n);else {multicore_fifo_push_blocking(FLAG_VALUE);printf(Its all gone well on core 0!);}}
http://www.dnsts.com.cn/news/236105.html

相关文章:

  • 怎么样可以做网站有名的软件开发公司有哪些
  • 源码之家网站模板如何查看网站推广做的好
  • 做网站策划书文档莱州市建设局网站
  • 企业建设网站的优势用户权限网站
  • 靖江网站优化网站怎么备案
  • 广州建设集团网站网站前端提成多少
  • 泉州网站建站模板网站建设考核标准
  • 购买域名后如何建设网站成都市建设学校网站
  • 网站设计开发方案在线公司网站查询
  • 做网站手机端不做PC可以吗加盟全屋定制
  • 网站建设 概念股河源网站建设多少钱
  • 滨州网站建设哪家好外贸网站做排名
  • 做异形建筑的网站农业大学网站建设特点
  • 东莞seo网站排名优化公司百度seo点击
  • 北京华夏网站建设设计公司找哪个网站做摩配
  • dell公司网站设计特色专业商城网站建设报价
  • 网站建设时间及简介网站设计及内容策划
  • 滁州网站建设hi444小学生简短小新闻十条
  • 新乡网络网站建设网络营销计划包括哪七个步骤
  • 论文中网站数据如何做脚注营销推广企业
  • 网站建设怎么设置留言界面oa系统有哪些
  • 搜索关键词的网站网站建设项目中标通知
  • 施工企业年终总结及明年工作计划360手机优化大师下载
  • 前端网站开发心得体会企业营销策划咨询
  • 揭阳网站建设网站路由器怎么做网站
  • 网站建设公司软文域名是什么有什么用
  • 免费网站主机网站建设市场调研框架
  • 高大上的公司网站旅游网站怎么做
  • 怎么查网站的关键词排名百度下载安装2021
  • 网站建设费计入哪个二级科目网络营销的含义