欢迎来到第一文库网! | 帮助中心 第一文库网-每个人都是第一
第一文库网
全部分类
  • 研究报告>
  • 学术论文>
  • 全科教育>
  • 应用文档>
  • 行业资料>
  • 企业管理>
  • 技术资料>
  • 生活休闲>
  • ImageVerifierCode 换一换
    首页 第一文库网 > 资源分类 > DOCX文档下载
    分享到微信 分享到微博 分享到QQ空间

    【开发教程3】AI语音人脸识别(会议记录仪/人脸打卡机)-定时器.docx

    • 资源ID:81920       资源大小:642.75KB        全文页数:27页
    • 资源格式: DOCX        下载积分:3金币
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    三方登录下载: QQ登录 微博登录
    二维码
    扫码关注公众号登录
    下载资源需要3金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP,免费下载
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    【开发教程3】AI语音人脸识别(会议记录仪/人脸打卡机)-定时器.docx

    CC3200AI实验教程疯壳开发板系列W olverine-Team2018/07/1:目录1.1 寄存器11.2 实验现象19官网地址:http:www.fen>k/.club购买链接:http:官方 QQ 群:193836402定时器1.1 寄存器CC3200包含4个32位用户可编程通用定时器(TimerAO3),通用定时器可以对定时器输入引脚的外部事件进行计数或定时。每个定时器模块包含2个16位的定时/计数器(TimerA和TimerB),可以作为定时器或事件计数器独立工作,也可以作为一个32位定时器工作。CC3200的定时器具有多种操作模式:16位或32位可编程单次定时器;16位或32位可编程周期定时器;16位通用定时器,带8位预分频器;16位输入边沿计数或时间捕捉模式,带8位预分频器;16位脉冲宽度调制模式(PWM),带8位预分频器和软件可编程输入。具有以下特性:a、向上或向下计数;b、16个16位或32位捕捉比较PWM (CCP)引脚;c、可以确定产生定时器中断到进入中断服务程序(ISR)的时间;d、可以触发使用DMA的高效传输;e、系统时钟运行(80MHz)。GPTMCFG寄存器主要是配置通用定时器模块的全局操作。确定通用定时器工作于32位模式还是16位模式。该寄存器中的值只能是在GPTMCTL寄存器中的TAEN和TBEN两位被清零时改变。如图1.0.1所示。Table 9-9. GPTMCFG Register Field DescriptionsBitFieldTypeResetDescription31-3RESERVEDROh2-0GPTMCFGR/WOhGPTM Configuration The GPTMCFG values are defined as follows:1h-3h = Reserved 5h - 7h = ReservedOh = For a 16/32-bit timer, this value selects the 32-bit timerconfiguration.4h = For a 16/32-bit timer, this value selects the 16-bit timerconfiguration. The function is controlled by bits 1:0 of GPTMTAMRand GPTMTBMR.图1O1 GPTMCFG寄存器20位:写入0,配置为32位定时器模式;写入4,配置为16位定时器模式。GPTMTAMR寄存器配置是基于GPTMCFG寄存器的配置来进行选择的。在PWM模式中,置位TAAMS位、清除TACMR位和配置TAMR为0x01或者0x02o寄存器如图1.0.2所示,位定义如图1.0.3所示。rlyuic D-v. r i m i /nmr rvyyioib3130292827262524RESERVEDR-Oh2322212019181716RESERVEDR-Oh15141312111098RESERVED| TAPLOTAMRSUTAPWMIETAILDR-OhR/WQhR/W-OhR/W-OhR/WQh76543210RESERVEDTAMIETACDIR | TAAMSTACMIRTAMRR-OhR/W-OhR/W-OhR/W«OhR/WQhFVW-Oh图102 GPTMTAMR寄存器官网地址:http:/www.fenRke.dub 淘宝店: 官方 QQ 群:1938364023Table 9-10. GPTMTAMR Register Field DescriptionsBitFieldTypeResetDescription31-12RESERVEDROh11TAPLOR/WOhGPTM Timer A PWM Legacy OperationOh = Legacy operation with CCP pin driven Low when theGPTMTAILR is reloaded after the timer reaches 0.1h = CCP is driven High when the GPTMTAILR is reloaded after thetimer reaches 0.10TAMRSUR/WOhGPTM Timer A Match Register Update If the timer is disabled (TAENis clear) when this bit is set, GPTMTAMATCHR and GPTMTAPRare updated when the timer is enabled. If the timer is stalled(TASTALL is set), GPTMTAMATCHR and GPTMTAPR are updatedaccording to the configuration of this bit.Oh = Update the GPTMTAMATCHR register and the GPTMTAPRregister, if used, on the next cycle.1h = Update the GPTMTAMATCHR register and the GPTMTAPRregister, if used, on the next timeout.9TAPWMIER/WOhGPTM Timer A PWM Interrupt Enable This bit enables interrupts inPWM mode on rising, falling, or both edges of the CCP output, asdefined by the TAEVENT field in the GPTMCTL register. In addition,when this bit is set and a capture event occurs. Timer Aautomatically generates triggers to the DMA if the trigger capability isenabled by setting the TAOTE bit in the GPTMCTL register and theCAEDMAEN bit in the GPTMDMAEV register, respectively. This bitis only valid in PWM mode.Oh = Capture event interrupt is disabled.1h = Capture event interrupt is enabled.Table 9-10. GPTMTAMR Register Field Descriptions (continued)BitFieldTypeResetDescription8TAILDR/WOhGPTM Timer A Interval Load Write Note the state of this txt has noeffect when counting up. The bit descriptions above apply if the timeris enabled and running. If the timer is disabled (TAEN is dear) whenthis bit is set. GPTMTAR GPTMTAV and GPTMTAPs. are updatedwhen the timer is enabled. If the timer is stalled (TASTALL is set),GPTMTAR and GPTMTAPS are updated according to theconfiguration of this bit.Oh = Update the GPTMTAR and GPTMTAV registers with the valuein the GPTMTAILR register on the next cycle. Also update theGPTMTAPS register with the value in the GPTMTAPR register onthe next cycle.1h = Update the GPTMTAR and GPTMTAV registers with the valuein the GPTMTAILR register on the next timeout. Also update theGPTMTAPS register with the value in the GPTMTAPR register onthe next timeout.7-6RESERVEDROh5TAMIER/WOhGPTM Timer A Match Internjpt EnableOh = The match interrupt is disabled for match events. Additionally,triggers to the DMA on match events are prevented.1h = An interrupt is generated when the match value in theGPTMTAMATCHR register is reached in the one-shot and periodicmodes.4TACDIRRA/VOhGPTM Timer A Count Direction When in PWM mode, the status ofthis bit is ignored. PWM mode always counts down.Oh = The timer counts down.1h = The timer counts up. When counting up( the timer starts from avalue of 0x0.3TAAMSR/WOhGPTM Timer A Alternate Mode Select The TAAMS values aredefined as follows: Note: To enable PWM mode, clear the TACMRbit and configure the TAMR field to 0x1 or 0x2.Oh = Capture or com

    注意事项

    本文(【开发教程3】AI语音人脸识别(会议记录仪/人脸打卡机)-定时器.docx)为本站会员(lao****ou)主动上传,第一文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知第一文库网(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2022 001doc.com网站版权所有   

    经营许可证编号:宁ICP备2022001085号

    本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有,必要时第一文库网拥有上传用户文档的转载和下载权。第一文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知第一文库网,我们立即给予删除!



    收起
    展开