repo_id
stringclasses
1 value
file_path
stringlengths
49
87
content
stringlengths
25
158
__index_level_0__
int64
0
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>TMR4设置为定时器值的低8位<code>TMR4 = timer_value & 0x00ff;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>TMR5设置为定时器值的高8位<code>TMR5 = (timer_value & 0xff00) >> 8;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>PWM4占空比设置为比较值的低8位<code>PWM4DUTY = compare_value & 0x00ff;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>PWM5占空比设置为比较值的高8位<code>PWM5DUTY = (compare_value & 0xff00) >> 8;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>从加载数据开始,重载数据/继续。不要启动定时器5。<code>T5CR1 = C_TMR5_Reload;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>定时器4关闭预分频器<code>T4CR2 = C_PS4_Dis;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>输出是切换<code>CCPCON = C_CCP_Comp_Toggle;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>启用CCP中断<code>INTE3 = C_INT_CCP;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>启用中断<code>ENI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>主循环<code>while(1)
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>清除看门狗定时器<code>CLRWDT();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>PB0取反<code>PORTB ^= 0x01;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_Compare.c
<comment>清除CCP中断<code>INTF3 = 0x00 ;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>禁用所有未屏蔽中断<code>DISI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>设置PortA为输出端口<code>IOSTA = C_PA_Output;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>设置PB0为输出端口<code>IOSTB = C_PB0_Output;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>PortA数据寄存器设置为0x00<code>PORTA = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>启用WDT和LVR<code>PCON = C_WDT_En | C_LVR_En;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>tmr5源为指令,预分频器关闭<code>T5CR2 = C_PS5_Dis;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>定时器5启用,重载<code>T5CR1 = C_TMR5_Reload;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>死区带宽为1 CPU周期<code>PWMDB = 0x01;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>半桥模式,P1A激活高电平,P1B激活低电平<code>CCPCON = C_CCP_HalfOut | C_CCP_PWM_All_ActHigh;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>启用所有未屏蔽中断<code>ENI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>清除看门狗定时器<code>CLRWDT();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>PB0输出翻转<code>PORTB ^= 0x01;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM Mode_Half Bridge.c
<comment>清除CCP中断<code>INTF3 = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>包含NY8A051F的头文件<code>#include <ny8.h>
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>包含常量定义<code>#include "ny8_constant.h"
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>计数器<code>unsigned char cnt = 0;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>更新寄存器宏定义<code>#define UPDATE_REG(x) __asm__("MOVR _" #x ",F")
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>禁用中断<code>DISI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>设置PortA为输出端口<code>IOSTA = C_PA_Output;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>设置PB0为输出端口<code>IOSTB = C_PB0_Output;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>PortA数据寄存器设置为0x00<code>PORTA = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>启用WDT和LVR<code>PCON = C_WDT_En | C_LVR_En;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>初始化计数器<code>cnt = 0;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>tmr5源=指令,预分频器关闭<code>T5CR2 = C_PS5_Dis;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>定时器5启用,重载<code>T5CR1 = C_TMR5_Reload;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>启用中断<code>ENI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>主循环<code>while(1)
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>清除看门狗定时器<code>CLRWDT();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>计数器加1<code>cnt++;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>如果计数器等于4<code>if(cnt == 4)
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>CCPCON取反<code>CCPCON ^= 0x80;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>重置计数器<code>cnt = 0;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>PB0取反<code>PORTB ^= 0x01;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Full Bridge.c
<comment>清除CCP中断<code>INTF3 = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>禁用所有未屏蔽中断<code>DISI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>设置PortA为输出端口<code>IOSTA = C_PA_Output;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>设置PB0为输出端口<code>IOSTB = C_PB0_Output;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>PortA数据寄存器设置为0x00<code>PORTA = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>启用WDT和LVR<code>PCON = C_WDT_En | C_LVR_En;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>tmr5源为指令,预分频器关闭<code>T5CR2 = C_PS5_Dis;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>定时器5启用,重载<code>T5CR1 = C_TMR5_Reload;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>单输出,P1A激活高电平<code>CCPCON = C_CCP_PWM_All_ActHigh;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>启用所有未屏蔽中断<code>ENI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>清除看门狗定时器<code>CLRWDT();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>PB0输出翻转<code>PORTB ^= 0x01;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\CCP_PWM_Single.c
<comment>清除CCP中断<code>INTF3 = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Checksum.c
<comment>ROM指针<code>__code char *rom_ptr;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Checksum.c
<comment>程序计算的校验和值<code>int checksum_val;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Checksum.c
<comment>从ROM读取的期望校验和值<code>int expect_checksum_val;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Checksum.c
<comment>初始化PORTB<code>PORTB = 0;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Checksum.c
<comment>初始化IOSTB<code>IOSTB = 0;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Checksum.c
<comment>初始化校验和值<code>checksum_val = 0;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Checksum.c
<comment>如果校验和匹配,PORTB输出全高<code>PORTB = 0xff;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Checksum.c
<comment>如果校验和不匹配,PORTB输出全低<code>PORTB = 0;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Checksum.c
<comment>无限循环,清除看门狗定时器<code>while(1) {CLRWDT();};
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>包含NY8微控制器的头文件<code>#include <ny8.h>
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>包含为NY8微控制器定义的常量<code>#include "ny8_constant.h"
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>禁用所有未屏蔽中断<code>DISI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>禁用中断使能寄存器<code>INTE = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>初始化端口B为输出低电平,PB0作为输出<code>PORTB = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>初始化端口A为输入,PA0和PA1作为输入<code>PORTA = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>配置端口B为输出模式,PB0用于输出比较结果<code>IOSTB = C_PB_Output;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>配置端口A为输入模式,PA0和PA1用于输入电压<code>IOSTA = C_PA_Input;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>设置比较器为P2P模式,VS[3:0] = 0,即PA0为非反相输入,PA1为反相输入<code>CMPCR = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>使能比较器<code>ANAENbits.CMPEN = 1;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>清除看门狗定时器<code>CLRWDT();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>检查比较器输出状态<code>if (OSCCR & 0x80)
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>当PA0电压大于PA1电压时,PB0输出高电平<code>PORTBbits.PB0 = 1;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2P Mode.c
<comment>当PA0电压小于PA1电压时,PB0输出低电平<code>PORTBbits.PB0 = 0;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>包含NY8微控制器的头文件<code>#include <ny8.h>
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>包含为NY8微控制器定义的常量<code>#include "ny8_constant.h"
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>禁用所有未屏蔽中断<code>DISI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>禁用中断使能寄存器<code>INTE = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>初始化端口B为输出低电平,PB0作为输出<code>PORTB = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>初始化端口A为输入,PA0作为输入<code>PORTA = 0x00;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>配置端口B为输出模式,PB0用于输出比较结果<code>IOSTB = C_PB_Output;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>配置端口A为输入模式,PA0用于输入电压<code>IOSTA = C_PA_Input;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>设置比较器为P2V模式,VDD*8/16作为反相输入<code>CMPCR = 0x08;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>使能比较器<code>ANAENbits.CMPEN = 1;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>清除看门狗定时器<code>CLRWDT();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>检查比较器输出状态<code>if (OSCCR & 0x80)
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>如果PA0电压大于VDD*8/16,PB0输出高电平<code>PORTBbits.PB0 = 1;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\Comparator_P2V Mode.c
<comment>如果PA0电压小于VDD*8/16,PB0输出低电平<code>PORTBbits.PB0 = 0;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\EEPROM_Continuous Write.c
<comment>启用看门狗定时器、低电压复位器、低电压检测器<code>PCON = 0xA8;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\EEPROM_Continuous Write.c
<comment>设置LVDS[3:0]=0011b => LVD=2.4V<code>PCON1 = 0x0C;
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\EEPROM_Continuous Write.c
<comment>关闭全局中断(GIE=PCON1[7]=0)<code>DISI();
0
C:\Users\IDEA\Desktop\workplace\LiuCode
C:\Users\IDEA\Desktop\workplace\LiuCode\Liu\EEPROM_Continuous Write.c
<comment>当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM<code>while(!(PCON1 & 0x40))
0