请问,E8a可以带多大的负载?

您好,E8a本身消耗500mA的电流,给目标板的最大供电电流是300mA。
关于单片机的上电初始化,您在建立工程的时候可以选择建立启动文件为汇编语言的Application型工程,也可以选择启动文件为C语言的c source startup application型的工程。对于复位向量,以及main()函数的调用,都是由启动文件自动完成的。


以M16C族的MCU的C编译器NC30的5.42版本为例:
生成的启动文件中包含中断向量表的部分:
;---------------------------------------------------------------------
; variable vector section
;---------------------------------------------------------------------
.section vector,ROMDATA
.org __VECTOR_ADR__
.if 0
.lword dummy_int ; vector 0
.lword dummy_int ; vector 1
......
......
.lword dummy_int ; vector 63
.endif
假设希望增加中断向量表中序号为0和1的中断,请作如下修改,
即可与C语言的中断程序interrupt0_int , interrupt1_int 等对应起来。
;---------------------------------------------------------------------
; variable vector section
;---------------------------------------------------------------------
.section vector,ROMDATA
.org __VECTOR_ADR__
.if 1
.glb _interrupt0_int
.lword _interrupt0_int ; vector 0 's entrance address
.glb _interrupt1_int
.lword _interrupt1_int ; vector 1's entrance address
......
......
.lword dummy_int ; vector 63
.endif
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
基于MSPM0L1306的MODBUS-RTU协议通讯实验被打赏50分 | |
每周了解几个硬件知识+485硬件知识分享被打赏10分 | |
【换取手持示波器】树莓派PICOW网页烟花被打赏18分 | |
【换取手持示波器】树莓派PICO逻辑分析仪被打赏16分 | |
【分享评测,赢取加热台】教你五分钟本地部署蒸馏版本的DeepSeekR1-7B被打赏12分 | |
【换取手持示波器】蓝牙音箱更换电池被打赏8分 | |
【换取手持示波器】鼠标更换微动开关被打赏10分 | |
【我要开发板】4.传感器移植被打赏50分 | |
【换取手持数字示波器】RISC-VGCC使用-fno-omit-frame-pointer编译选项实现栈回溯被打赏29分 | |
【分享评测,赢取加热台】+开关电源简述被打赏7分 |