在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → 延时1S的KL25完整代码,给入门学定时的小伙伴提供

延时1S的KL25完整代码,给入门学定时的小伙伴提供

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:8.28M
  • 下载次数:1
  • 浏览次数:70
  • 发布时间:2021-03-02
  • 实例类别:一般编程问题
  • 发 布 人:好学IT男
  • 文件格式:.zip
  • 所需积分:2
 

实例介绍

【实例简介】
定时1S,给初学KL25的同学 IAR环境
【实例截图】
【核心代码】
e7f6e4b8-1eb0-4c36-b932-3c7626e1e792
└── delay1S
└── arm
└── 7.40.1
└── Freescale
└── Kinetis
└── FRDM-KL25Z
├── build
│   └── iar
│   ├── blinky
│   │   ├── blinky.eww
│   │   ├── blinky_freedom.dep
│   │   ├── blinky_freedom.ewd
│   │   ├── blinky_freedom.ewp
│   │   ├── blinky_freedom.ewt
│   │   ├── ewinfo.ENU.html
│   │   ├── ewinfo.JPN.html
│   │   ├── ExampleInfo.ENU.xml
│   │   ├── FLASH_128KB
│   │   │   ├── Exe
│   │   │   │   ├── blinky_freedom.out
│   │   │   │   ├── blinky_freedom.sim
│   │   │   │   └── blinky_freedom.srec
│   │   │   ├── List
│   │   │   │   └── blinky_freedom.map
│   │   │   └── Obj
│   │   │   ├── alloc.o
│   │   │   ├── alloc.pbi
│   │   │   ├── alloc.pbi.cout
│   │   │   ├── arm_cm0.o
│   │   │   ├── arm_cm0.pbi
│   │   │   ├── arm_cm0.pbi.cout
│   │   │   ├── assert.o
│   │   │   ├── assert.pbi
│   │   │   ├── assert.pbi.cout
│   │   │   ├── blinky_freedom.pbd
│   │   │   ├── blinky_freedom.pbd.browse
│   │   │   ├── blinky.o
│   │   │   ├── blinky.pbi
│   │   │   ├── blinky.pbi.cout
│   │   │   ├── crt0.o
│   │   │   ├── io.o
│   │   │   ├── io.pbi
│   │   │   ├── io.pbi.cout
│   │   │   ├── llwu.o
│   │   │   ├── llwu.pbi
│   │   │   ├── llwu.pbi.cout
│   │   │   ├── lptmr.o
│   │   │   ├── lptmr.pbi
│   │   │   ├── lptmr.pbi.cout
│   │   │   ├── mcg.o
│   │   │   ├── mcg.pbi
│   │   │   ├── mcg.pbi.cout
│   │   │   ├── memtest.o
│   │   │   ├── memtest.pbi
│   │   │   ├── memtest.pbi.cout
│   │   │   ├── pmc.o
│   │   │   ├── pmc.pbi
│   │   │   ├── pmc.pbi.cout
│   │   │   ├── printf.o
│   │   │   ├── printf.pbi
│   │   │   ├── printf.pbi.cout
│   │   │   ├── queue.o
│   │   │   ├── queue.pbi
│   │   │   ├── queue.pbi.cout
│   │   │   ├── rcm.o
│   │   │   ├── rcm.pbi
│   │   │   ├── rcm.pbi.cout
│   │   │   ├── rtc.o
│   │   │   ├── rtc.pbi
│   │   │   ├── rtc.pbi.cout
│   │   │   ├── smc.o
│   │   │   ├── smc.pbi
│   │   │   ├── smc.pbi.cout
│   │   │   ├── start.o
│   │   │   ├── start.pbi
│   │   │   ├── start.pbi.cout
│   │   │   ├── startup.o
│   │   │   ├── startup.pbi
│   │   │   ├── startup.pbi.cout
│   │   │   ├── stdlib.o
│   │   │   ├── stdlib.pbi
│   │   │   ├── stdlib.pbi.cout
│   │   │   ├── sysinit.o
│   │   │   ├── sysinit.pbi
│   │   │   ├── sysinit.pbi.cout
│   │   │   ├── Systick.o
│   │   │   ├── Systick.pbi
│   │   │   ├── Systick.pbi.cout
│   │   │   ├── uart.o
│   │   │   ├── uart.pbi
│   │   │   ├── uart.pbi.cout
│   │   │   ├── uif.o
│   │   │   ├── uif.pbi
│   │   │   ├── uif.pbi.cout
│   │   │   ├── vectors.o
│   │   │   ├── vectors.pbi
│   │   │   └── vectors.pbi.cout
│   │   ├── RAM_8KB
│   │   │   ├── Exe
│   │   │   │   ├── blinky_freedom.out
│   │   │   │   └── blinky_freedom.srec
│   │   │   ├── List
│   │   │   │   └── blinky_freedom.map
│   │   │   └── Obj
│   │   │   ├── alloc.o
│   │   │   ├── alloc.pbi
│   │   │   ├── alloc.pbi.cout
│   │   │   ├── arm_cm0.o
│   │   │   ├── arm_cm0.pbi
│   │   │   ├── arm_cm0.pbi.cout
│   │   │   ├── assert.o
│   │   │   ├── assert.pbi
│   │   │   ├── assert.pbi.cout
│   │   │   ├── blinky_freedom.pbd
│   │   │   ├── blinky_freedom.pbd.browse
│   │   │   ├── blinky.o
│   │   │   ├── blinky.pbi
│   │   │   ├── blinky.pbi.cout
│   │   │   ├── crt0.o
│   │   │   ├── io.o
│   │   │   ├── io.pbi
│   │   │   ├── io.pbi.cout
│   │   │   ├── llwu.o
│   │   │   ├── llwu.pbi
│   │   │   ├── llwu.pbi.cout
│   │   │   ├── lptmr.o
│   │   │   ├── lptmr.pbi
│   │   │   ├── lptmr.pbi.cout
│   │   │   ├── mcg.o
│   │   │   ├── mcg.pbi
│   │   │   ├── mcg.pbi.cout
│   │   │   ├── memtest.o
│   │   │   ├── memtest.pbi
│   │   │   ├── memtest.pbi.cout
│   │   │   ├── pmc.o
│   │   │   ├── pmc.pbi
│   │   │   ├── pmc.pbi.cout
│   │   │   ├── printf.o
│   │   │   ├── printf.pbi
│   │   │   ├── printf.pbi.cout
│   │   │   ├── queue.o
│   │   │   ├── queue.pbi
│   │   │   ├── queue.pbi.cout
│   │   │   ├── rcm.o
│   │   │   ├── rcm.pbi
│   │   │   ├── rcm.pbi.cout
│   │   │   ├── rtc.o
│   │   │   ├── rtc.pbi
│   │   │   ├── rtc.pbi.cout
│   │   │   ├── smc.o
│   │   │   ├── smc.pbi
│   │   │   ├── smc.pbi.cout
│   │   │   ├── start.o
│   │   │   ├── start.pbi
│   │   │   ├── start.pbi.cout
│   │   │   ├── startup.o
│   │   │   ├── startup.pbi
│   │   │   ├── startup.pbi.cout
│   │   │   ├── stdlib.o
│   │   │   ├── stdlib.pbi
│   │   │   ├── stdlib.pbi.cout
│   │   │   ├── sysinit.o
│   │   │   ├── sysinit.pbi
│   │   │   ├── sysinit.pbi.cout
│   │   │   ├── uart.o
│   │   │   ├── uart.pbi
│   │   │   ├── uart.pbi.cout
│   │   │   ├── uif.o
│   │   │   ├── uif.pbi
│   │   │   ├── uif.pbi.cout
│   │   │   ├── vectors.o
│   │   │   ├── vectors.pbi
│   │   │   └── vectors.pbi.cout
│   │   ├── settings
│   │   │   ├── blinky_freedom.crun
│   │   │   ├── blinky_freedom.dbgdt
│   │   │   ├── blinky_freedom.dni
│   │   │   ├── blinky_freedom.FLASH_128KB.cspy.bat
│   │   │   ├── blinky_freedom.FLASH_128KB.driver.xcl
│   │   │   ├── blinky_freedom.FLASH_128KB.general.xcl
│   │   │   ├── blinky_freedom.RAM_8KB.cspy.bat
│   │   │   ├── blinky_freedom.RAM_8KB.driver.xcl
│   │   │   ├── blinky_freedom.RAM_8KB.general.xcl
│   │   │   ├── blinky.wsdt
│   │   │   └── blinky.wspos
│   │   └── StartupScreen.ewsample
│   ├── config files
│   │   ├── 128KB_Pflash.icf
│   │   ├── 16KB_RAM.icf
│   │   ├── 32KB_Pflash.icf
│   │   ├── 4KB_RAM.icf
│   │   ├── 64KB_Pflash.icf
│   │   └── 8KB_RAM.icf
│   ├── iar.h
│   └── low_power_demo
│   ├── ewinfo.ENU.html
│   ├── ewinfo.JPN.html
│   ├── ExampleInfo.ENU.xml
│   ├── low_power_demo.eww
│   ├── low_power_demo_freedom.ewd
│   ├── low_power_demo_freedom.ewp
│   └── StartupScreen.ewsample
└── src
├── common
│   ├── alloc.c
│   ├── assert.c
│   ├── assert.h
│   ├── common.h
│   ├── io.c
│   ├── io.h
│   ├── memtest.c
│   ├── memtest.h
│   ├── printf.c
│   ├── queue.c
│   ├── queue.h
│   ├── startup.c
│   ├── startup.h
│   ├── stdlib.c
│   ├── stdlib.h
│   ├── typedef.h
│   ├── uif.c
│   └── uif.h
├── cpu
│   ├── arm_cm0.c
│   ├── arm_cm0.h
│   ├── crt0.s
│   ├── cw_crt0.s
│   ├── dma_channels.h
│   ├── headers
│   │   ├── MKL05Z32LF4.h
│   │   ├── MKL05Z4.h
│   │   ├── MKL25Z128LK4.h
│   │   ├── MKL25Z4.h
│   │   └── MKM34Z128LL5.h
│   ├── nmi_isr_handler.c
│   ├── nmi_isr_handler.h
│   ├── start.c
│   ├── start.h
│   ├── sysinit.c
│   ├── sysinit.h
│   ├── vectors.c
│   └── vectors.h
├── drivers
│   ├── cmp
│   │   ├── cmp.c
│   │   └── cmp.h
│   ├── led
│   │   ├── Systick.c
│   │   └── Systick.h
│   ├── llwu
│   │   ├── llwu.c
│   │   └── llwu.h
│   ├── lptmr
│   │   ├── lptmr.c
│   │   └── lptmr.h
│   ├── mcg
│   │   ├── mcg.c
│   │   ├── mcg.h
│   │   └── readme.txt
│   ├── pmc
│   │   ├── pmc.c
│   │   └── pmc.h
│   ├── prelim_flash
│   │   ├── prelim_ftfl.c
│   │   └── prelim_ftfl.h
│   ├── rcm
│   │   ├── rcm.c
│   │   └── rcm.h
│   ├── rtc
│   │   ├── rtc.c
│   │   └── rtc.h
│   ├── smc
│   │   ├── smc.c
│   │   └── smc.h
│   └── uart
│   ├── uart.c
│   └── uart.h
├── platforms
│   ├── freedom.h
│   └── tower.h
└── projects
├── blinky
│   ├── blinky.c
│   └── isr.h
├── FRDM_KL25ZDemo
│   ├── angle_calculation
│   │   ├── angle_cal.c
│   │   ├── angle_cal.h
│   │   ├── asin.c
│   │   ├── asin.h
│   │   ├── median.c
│   │   ├── median.h
│   │   ├── sqrt16.c
│   │   └── sqrt16.h
│   ├── bsp
│   │   ├── bsp_KL25.c
│   │   └── bsp_KL25.h
│   ├── firebird.h
│   ├── FRDM_KL25ZDemo.c
│   ├── freedom_gpio
│   │   ├── freedom_gpio.c
│   │   └── freedom_gpio.h
│   ├── freedom.h
│   ├── FslTypes.h
│   ├── global.c
│   ├── global.h
│   ├── I2C
│   │   ├── hal_dev_mma8451.c
│   │   ├── hal_dev_mma8451.h
│   │   ├── hal_i2c.c
│   │   └── hal_i2c.h
│   ├── isr.h
│   ├── pit
│   │   ├── pit.c
│   │   └── pit.h
│   ├── sysinit.c
│   ├── task_mgr
│   │   ├── task_mgr.c
│   │   └── task_mgr.h
│   ├── tsi
│   │   ├── TSIDrv.c
│   │   └── TSIDrv.h
│   └── usb
│   ├── ring_buffer.c
│   ├── ring_buffer.h
│   ├── usb.c
│   ├── usb_cdc.c
│   ├── usb_cdc.h
│   ├── usb_descriptor.h
│   ├── usb.h
│   ├── usb_reg.c
│   └── usb_reg.h
├── low_power_demo
│   ├── AMO
│   │   ├── ridd.c
│   │   └── ridd.h
│   ├── CoreMark
│   │   ├── core_list_join.c
│   │   ├── core_main.c
│   │   ├── coremark.h
│   │   ├── core_matrix.c
│   │   ├── core_state.c
│   │   ├── core_util.c
│   │   ├── docs
│   │   │   ├── balance_O0_joined.png
│   │   │   ├── coremark_logo.jpg
│   │   │   ├── coremark_profile_o0_joined.png
│   │   │   ├── Coremark-requirements.doc
│   │   │   ├── core_state.dot
│   │   │   ├── core_state.png
│   │   │   ├── html
│   │   │   │   ├── files
│   │   │   │   │   ├── core_list_join-c.html
│   │   │   │   │   ├── core_main-c.html
│   │   │   │   │   ├── coremark-h.html
│   │   │   │   │   ├── core_matrix-c.html
│   │   │   │   │   ├── core_state-c.html
│   │   │   │   │   ├── core_util-c.html
│   │   │   │   │   ├── docs
│   │   │   │   │   │   └── core_state.png
│   │   │   │   │   ├── linux
│   │   │   │   │   │   ├── core_portme-c.html
│   │   │   │   │   │   ├── core_portme-h.html
│   │   │   │   │   │   └── core_portme-mak.html
│   │   │   │   │   ├── PIC32
│   │   │   │   │   │   └── core_portme-mak.html
│   │   │   │   │   ├── readme-txt.html
│   │   │   │   │   └── release_notes-txt.html
│   │   │   │   ├── index
│   │   │   │   │   ├── BuildTargets.html
│   │   │   │   │   ├── Configuration.html
│   │   │   │   │   ├── Configurations.html
│   │   │   │   │   ├── Files.html
│   │   │   │   │   ├── Functions.html
│   │   │   │   │   ├── General2.html
│   │   │   │   │   ├── General.html
│   │   │   │   │   ├── Types.html
│   │   │   │   │   └── Variables.html
│   │   │   │   ├── index.html
│   │   │   │   ├── search
│   │   │   │   │   ├── BuildTargetsP.html
│   │   │   │   │   ├── ConfigurationC.html
│   │   │   │   │   ├── ConfigurationH.html
│   │   │   │   │   ├── ConfigurationM.html
│   │   │   │   │   ├── ConfigurationsH.html
│   │   │   │   │   ├── ConfigurationS.html
│   │   │   │   │   ├── ConfigurationsM.html
│   │   │   │   │   ├── ConfigurationsS.html
│   │   │   │   │   ├── ConfigurationsT.html
│   │   │   │   │   ├── ConfigurationT.html
│   │   │   │   │   ├── ConfigurationU.html
│   │   │   │   │   ├── FilesC.html
│   │   │   │   │   ├── FilesR.html
│   │   │   │   │   ├── FunctionsC.html
│   │   │   │   │   ├── FunctionsG.html
│   │   │   │   │   ├── FunctionsI.html
│   │   │   │   │   ├── FunctionsM.html
│   │   │   │   │   ├── FunctionsP.html
│   │   │   │   │   ├── FunctionsS.html
│   │   │   │   │   ├── FunctionsT.html
│   │   │   │   │   ├── GeneralB.html
│   │   │   │   │   ├── GeneralC.html
│   │   │   │   │   ├── GeneralD.html
│   │   │   │   │   ├── GeneralF.html
│   │   │   │   │   ├── GeneralG.html
│   │   │   │   │   ├── GeneralH.html
│   │   │   │   │   ├── GeneralI.html
│   │   │   │   │   ├── GeneralL.html
│   │   │   │   │   ├── GeneralM.html
│   │   │   │   │   ├── GeneralO.html
│   │   │   │   │   ├── GeneralP.html
│   │   │   │   │   ├── GeneralR.html
│   │   │   │   │   ├── GeneralS.html
│   │   │   │   │   ├── GeneralT.html
│   │   │   │   │   ├── GeneralU.html
│   │   │   │   │   ├── GeneralV.html
│   │   │   │   │   ├── GeneralW.html
│   │   │   │   │   ├── NoResults.html
│   │   │   │   │   ├── TypesS.html
│   │   │   │   │   ├── VariablesC.html
│   │   │   │   │   ├── VariablesD.html
│   │   │   │   │   ├── VariablesL.html
│   │   │   │   │   ├── VariablesO.html
│   │   │   │   │   ├── VariablesP.html
│   │   │   │   │   ├── VariablesR.html
│   │   │   │   │   └── VariablesS.html
│   │   │   │   └── styles
│   │   │   │   ├── 1.css
│   │   │   │   ├── 2.css
│   │   │   │   └── main.css
│   │   │   └── LICENSE.DOC
│   │   ├── LICENSE.txt
│   │   ├── readme.txt
│   │   └── release_notes.txt
│   ├── Coremark_sources
│   │   ├── core_list_join.c
│   │   ├── core_main.c
│   │   ├── coremark.h
│   │   ├── coremark.md5
│   │   ├── core_matrix.c
│   │   ├── core_portme.c
│   │   ├── core_portme.h
│   │   ├── core_portme.mak
│   │   ├── core_state.c
│   │   ├── core_util.c
│   │   ├── LICENSE.txt
│   │   ├── readme.txt
│   │   └── release_notes.txt
│   ├── isr.h
│   ├── Kinetis
│   │   ├── core_portme.c
│   │   ├── core_portme.h
│   │   ├── core_portme.mak
│   │   ├── cvt.c
│   │   └── ee_printf.c
│   ├── low_power_demo.c
│   ├── low_power_demo.h
│   └── tower.h
├── platinum
│   ├── isr.h
│   └── platinum.c
└── uart_stream
├── isr.h
└── uart_stream.c

64 directories, 400 files

标签:

实例下载地址

延时1S的KL25完整代码,给入门学定时的小伙伴提供

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警