參數(shù)資料
型號: MC68HC05K3
廠商: Motorola, Inc.
英文描述: 8-Bit Microcontroller Units (MCU).(8位微控制器)
中文描述: 8位微控制器單元(MCU)。(8位微控制器)
文件頁數(shù): 28/56頁
文件大小: 311K
代理商: MC68HC05K3
Application Note
Source Code
AN1288
28
MOTOROLA
*
* Function input variables: None.
*
* Function outputs: None.
*
* This function accepts data from the user to be programmed into the
* K3's personality EEPROM.
*
*/
void enter_data(void)
{
int i,j;
char c;
// Let the user enter the data to be programmed into the K3.
for(i=0;i<16;i++)
{
data[i][3] = '\0';
printf("Enter the data for bits %3.3d-%3.3d: ", (i*8), ((i+1)*8)-1);
j=0;
while(j<2)
{
c = getch();
// Check to see if the user entered a valid hexadecimal number.
// If not, beep and do not accept the character.
if(not_hex_number(c))
beep();
else
{
data[i] [j] = c;
putchar(c);
j++;
}
}
printf("\n");
}
// Convert all user entered data to upper case.
for(i=0;i<16;i++)
strupr(data[i]);
return;
}
相關(guān)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微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
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