repo_id
stringclasses 1
value | file_path
stringlengths 78
116
| content
stringlengths 0
1.59k
| __index_level_0__
int64 0
0
|
---|---|---|---|
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2P Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
// GPIO初始化
PORTB = 0x00; // 初始化端口B为输出低电平,PB0作为输出
PORTA = 0x00; // 初始化端口A为输入,PA0和PA1作为输入
IOSTB = C_PB_Output; // 配置端口B为输出模式,PB0用于输出比较结果
IOSTA = C_PA_Input; // 配置端口A为输入模式,PA0和PA1用于输入电压
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2P Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
// GPIO初始化
PORTB = 0x00; // 初始化端口B为输出低电平,PB0作为输出
PORTA = 0x00; // 初始化端口A为输入,PA0和PA1作为输入
IOSTB = C_PB_Output; // 配置端口B为输出模式,PB0用于输出比较结果
IOSTA = C_PA_Input; // 配置端口A为输入模式,PA0和PA1用于输入电压
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2P Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
// GPIO初始化
PORTB = 0x00; // 初始化端口B为输出低电平,PB0作为输出
PORTA = 0x00; // 初始化端口A为输入,PA0和PA1作为输入
IOSTB = C_PB_Output; // 配置端口B为输出模式,PB0用于输出比较结果
IOSTA = C_PA_Input; // 配置端口A为输入模式,PA0和PA1用于输入电压
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2P Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
// GPIO初始化
PORTB = 0x00; // 初始化端口B为输出低电平,PB0作为输出
PORTA = 0x00; // 初始化端口A为输入,PA0和PA1作为输入
IOSTB = C_PB_Output; // 配置端口B为输出模式,PB0用于输出比较结果
IOSTA = C_PA_Input; // 配置端口A为输入模式,PA0和PA1用于输入电压
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2P Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
// GPIO初始化
PORTB = 0x00; // 初始化端口B为输出低电平,PB0作为输出
PORTA = 0x00; // 初始化端口A为输入,PA0和PA1作为输入
IOSTB = C_PB_Output; // 配置端口B为输出模式,PB0用于输出比较结果
IOSTA = C_PA_Input; // 配置端口A为输入模式,PA0和PA1用于输入电压
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1 | 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_0.txt | while (1)
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void | 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\Comparator_P2V Mode_1.txt | void main(void)
{
// 系统初始化
DISI(); // 禁用所有未屏蔽中断
INTE = 0x00; // 禁用中断使能寄存器
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40 | 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1 | 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_1.txt | while(1)
{
CLRWDT(); // 死循环
}
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr | 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_2.txt | if(addr != read_tmp) // 验证从EEPROM读取的数据
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40 | 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_3.txt | for(addr = 0; addr < 0x40; ++addr)
{
read_tmp = eeprom_read(addr); // 从EEPROM地址读取EEPROM数据
if(addr != read_tmp) // 验证从EEPROM读取的数据
{
PORTB = 0x03; // EEPROM数据不正确
while(1)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1 | 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_4.txt | while(1) // 主循环
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void | 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Continuous Write_5.txt | void main(void)
{
PCON = 0xA8; // 启用看门狗定时器、低电压复位器、低电压检测器
PCON1 = 0x0C; // 设置LVDS[3:0]=0011b => LVD=2.4V
DISI(); // 关闭全局中断(GIE=PCON1[7]=0)
while(!(PCON1 & 0x40)) // 当PCON1[6]=1 => VDD>2.4V,允许写入EEPROM
CLRWDT();
IOSTB = 0x00; // PBs设置为输出
PORTB = 0x00; // PBs输出低电平
eeprom_protect_unlock(); // 解锁EEPROM写保护
for(addr = 0; addr < 0x40; ++addr)
{
data = addr;
eeprom_write_timeout(addr, data, EETO_8ms_or_2ms); // 设置EEW超时为8ms,将数据写入EEPROM
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Write One Byte_0.txt | for(addr = 0; addr < 0x40 | 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Write One Byte_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Write One Byte_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Write One Byte_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Write One Byte_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Write One Byte_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
| 0 |
D:\workCode\prepare_dataset\prepare_dataset_yfw_v4 | D:\workCode\prepare_dataset\prepare_dataset_yfw_v4\func_dataset_test\EEPROM_Write One Byte_0.txt | for(addr = 0; addr < 0x40; ++addr)
{
| 0 |