欧美成人免费电影,国产欧美一区二区三区精品酒店,精品国产a毛片,色网在线免费观看

參數資料
型號: MC68HC05K3
廠商: Motorola, Inc.
英文描述: 8-Bit Microcontroller Units (MCU).(8位微控制器)
中文描述: 8位微控制器單元(MCU)。(8位微控制器)
文件頁數: 33/56頁
文件大?。?/td> 311K
代理商: MC68HC05K3
Application Note
Source Code
AN1288
MOTOROLA
33
/* evaluate_results_program function
*
* Function input variables: None.
*
* Function outputs: an integer;
* -1: If the emulator log file failed to open.
* 0: If the K3's personality EEPROM was successfully
* programmed.
* 1: If the K3's personality EEPROM failed to program.
*
* This function reads the log file made by the emulator and from the address
* of the PC register, determines if the EEPROM was successfully programmed or
* not. The addresses are as follows: $013D-EEPROM was correctly programmed,
* $013F-EEPROM failed to be programmed.
*
*/
int evaluate_program_results(void)
{
FILE *k3eeprog_log_file; // file pointer to emulator log file.
char linestring[80]; // generic character string.
// Open emulator log file. If it fails to open, return a negative one.
if((k3eeprog_log_file = fopen("k3eeprog.log","r")) == NULL)
return(-1);
// Find the line in the log file that contain the register contents.
// When it is found, determine the location of the PC register.
while(fgets(linestring,80,k3eeprog_log_file) != NULL)
{
if(strstr(linestring,"PC") != NULL)
{
// If the PC address is $13D return a zero.
if(strstr(linestring,"13D") != NULL)
return(0);
// If the PC address is $13F return a one.
else if(strstr(linestring,"13F") != NULL)
return(1);
// If neither address is found, return a negative one.
else
return(-1);
}
}
return(-1);
}
相關PDF資料
PDF描述
MC68HC805K3 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05L16 80-Pin Microcontroller Unit (MCU) With Highly Sophisticated On-Chip Peripheral Functions(80腳、8位帶高級外圍電路功能的微控制器單元)
MC68HC05P18A Low Cost HCMOS Microcontroller(低成本、8位HCMOS微控制器)
MC68HC05P4A 28-pin MCU (microcontroller unit) based on the MC68HC05P4(28引腳、基于MC68HC05P4升級的8位微控制器單元)
MC68HC05PV8A Low Cost HCMOS Microcontroller(低成本、8位HCMOS微控制器)
相關代理商/技術參數
參數描述
MC68HC05K3CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3CP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3CSD 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
主站蜘蛛池模板: 武山县| 玉林市| 兴海县| 金门县| 阳春市| 房产| 磐安县| 北海市| 丰县| 东辽县| 韩城市| 萨迦县| 利川市| 黄陵县| 蚌埠市| 九龙坡区| 隆尧县| 武汉市| 白朗县| 宝鸡市| 麻栗坡县| 肃宁县| 蒙山县| 瓦房店市| 伊春市| 淳化县| 中山市| 安宁市| 百色市| 当雄县| 霍州市| 普陀区| 蓝山县| 海安县| 西乡县| 淮南市| 北京市| 嘉峪关市| 通化市| 大冶市| 霍林郭勒市|