![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
松翰
胡电子
本人专业电子技术现在主用8位MCU开发小家电产品慢慢向ARM进发
展开
-
ADC 检测 ---SONIX-查询方式
chip sn8p2711A.data adc_buf ds 1.code org 00h jmp main org 10hmain: b0bset fadenb // Enable ADC circuit call delay100us // Delay 100us mov a,#0feh原创 2013-08-14 11:43:18 · 1298 阅读 · 0 评论 -
TC0 定时方式初始化设置 时间验算方法 SONIX
chip sn8p2711A.data acc_buf ds 1 pflag_buf ds 1 TC0_buf ds 1.code org 00h jmp main org 08h jmp isr org 10h//=============================================================原创 2013-08-14 11:57:19 · 1187 阅读 · 0 评论 -
单字节乘法 MCU:SONIX
;**********************************************;Name : hex_1B_mul_1B;Function: ;单字节乘法;Input : temp0,temp1;Output : temp2,temp3;Register Used: temp4;***************************************原创 2013-08-10 10:40:51 · 1496 阅读 · 0 评论 -
TC0 用作PWM 设置方式 SONIX
chip sn8p2711A.data.code org 00h jmp main org 10h//============================================================================// timer TC0 --> PWM0//=========================原创 2013-08-14 11:59:21 · 1431 阅读 · 0 评论 -
ADC 检测 SONIX 中断方式
chip sn8p2711A.data adc_buf ds 1 acc_buf ds 1 pflag_buf ds 1 .code org 00h jmp main org 08h jmp isr org 10hmain: b0bset fadenb // Enabl原创 2013-08-14 11:45:01 · 1158 阅读 · 0 评论 -
双字节除以单字节 除法 MCU:SONIX
;**********************************************;Name : hex_2B_div_1B;Function: ;temp3temp2/temp0;Input : temp3temp2,temp0;Output : temp8,temp7;Register Used: temp1,temp6,temp5,temp4,temp7,t原创 2013-08-10 10:45:23 · 2363 阅读 · 0 评论