登录
首页 » c++,c » stm8s中断配置

stm8s中断配置

于 2022-04-23 发布 文件大小:1.34 MB
0 113
下载积分: 2 下载次数: 1

代码说明:

void io_init(void) {     PB_DDR = 0xff;         PB_CR1 = 0xff;         PB_CR2 = 0x00;         PB_ODR = 0x00;         PC_DDR = 0xff;         PC_CR1 = 0xff;         PC_CR2 = 0x00;         //PC_ODR = 0xff;         PD_DDR = 0xfe;      //PD0中断上拉输入         PD_CR1 = 0xff;         PD_CR2 = 0x01; }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 视频截图的类源码下载
    视频截图的类源码下载
    2013-08-30下载
    积分:1
  • /* neuron model*/re
    /*神经元模型*/ 学习 重新学习 实践新模型 演示已有模型-/* neuron model*/re-study and practice to learn the new model has been demonstrated Model
    2022-08-22 06:47:12下载
    积分:1
  • kepOPC 通讯示例源码(c#)
    kepOPC 通讯示例源码(c#)
    2019-07-31下载
    积分:1
  • stm8s003 小型系统 只带任务切换
    stm8s003 小型系统  只带任务切换,节省资源。
    2023-07-10 01:00:05下载
    积分:1
  • 俄罗斯方块C语言简易程序,已经调试正确,可完美运行。
    俄罗斯方块C语言简易程序,已经调试正确,可完美运行。
    2022-02-24 21:35:34下载
    积分:1
  • 这学期选修图形学的时候用c#写的实现dda算法的代码.
    这学期选修图形学的时候用c#写的实现dda算法的代码.-this semester elective graphics when used to write c# dda algorithm for the realization of the code.
    2023-02-14 07:25:03下载
    积分:1
  • csharpdeletefolder
    Visual C#删除目录源码实例,是一个FSO组件操作例子,例子包括了两种方法,一种是通过调用 Directory.Delete(string path) 来实现,另一种是调用 Directory.Delete(string path, bool recursive)来实现,演示先创建一个目录,然后删除它,测试时请打开CMD控制台窗口,将exe拖放到本窗口打开可看到效果。(Visual C# delete the directory source code examples, is an example of the operation FSO component, examples include two methods, one is by calling Directory.Delete (string path) to achieve, and the other is to call Directory.Delete (string path, bool recursive ) to achieve, demonstrate first create a directory, and then delete it, open the CMD console window when the test will be exe onto the window open to see the effect.)
    2014-05-06 21:53:53下载
    积分:1
  • 给出了2812的FIR滤波器设计的C语言程序,可以根据设计要求,灵活地调整参数,得到需要的滤波器参数。...
    给出了2812的FIR滤波器设计的C语言程序,可以根据设计要求,灵活地调整参数,得到需要的滤波器参数。-2812 gives the design of the FIR filter C language program may be based on design requirements, the flexibility to adjust parameters, filter parameters they need.
    2022-12-20 13:15:03下载
    积分:1
  • 实现简单的计算器
    用C#winfrom来实现的,里面实现了基本加减乘除运算,供给初学者来做入门的基础练习,加深对窗体开发的理解,希望能够帮助到大家!谢谢大家!
    2023-08-20 22:30:03下载
    积分:1
  • WPF/Silverlight-路由的命令演示
    如何使用 routed command 来进行界面交互 Demo包括: 1. What is Routed Commands 2. Routed Command Principle 3. Routed Command Concepts 4. Advantages of Routed Commands 5. WPF built in Routed Commands 6. WPF Routed Events Vs WPF Routed Commands 7. Demo 1 : Command Source and Command 8. Demo 2 : Command Binding & Key Binding 9. Demo 3 : Command Parameter & Command Target 10. Demo 4 : Custom RoutedCommand
    2022-08-05 12:50:03下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载