參數(shù)資料
型號(hào): PSD513B1
英文描述: Field Programmable Microcontroller Peripherals(可編程邏輯,16K位SRAM,40個(gè)可編程I/O,通用PLD有61個(gè)輸入)
中文描述: 現(xiàn)場(chǎng)可編程微控制器外圍設(shè)備(可編程邏輯,16K的位的SRAM,40余個(gè)可編程輸入/輸出,通用PLD的有61個(gè)輸入)
文件頁數(shù): 19/25頁
文件大?。?/td> 186K
代理商: PSD513B1
PSD5XX – Application Note 042
4-315
Figure 16. A Sample *.C Program for this Application
(Cont.)
80C186
Interface to the
PSD503
(Cont.)
outport(WSiCNTR0,
outport(WSiCNTR1,
outport(WSiCNTR2,
outport(WSiCNTR3,
0x00);
0x00);
0x00);
0x00);
outportb(WSiDLCY,
outportb(WSiSFR,
0x04);
0x0f);
outport( WSiIMG0,
outport( WSiIMG1,
outport( WSiIMG2,
outport( WSiIMG3,
Image+0x340);
Image+0x300);
Image+0x260);
Image+0x220);
outportb(WSiSLR,0x0F);
outportb(WSiGLBREG,0x02);
/* Configure The Wsi Global Register */
_enable();
/* Enable Interrupt */
}
/*
This Routine Sets up timer 0 for the start up profile
*/
void Step_1_Init(void)
{
static SHORT s_en1,s1_c;
static SHORT c_r1,c_r2,m_c;
Stepper_1_Step_Count = 0;
Step_1_Count_Old = 0;
Stepper_1_Step_Count = 0;
Stepper_1_Total_Step_Count =1000;
Step_1_Max_Slew_Count = 998;
Step_1_Motion_Index = 0;
Step_1_Slew_Count = 0;
Stepper_1_Ramp_Up_Count = 5;
Stepper_1_Ramp_Down_Count = 7;
Step_1_Motion_Stat = 0;
Step_1_Time = 0x3000;
outportb(Step_Motor1_Control,s_en1);
/* Set Up For Ramp Up */
/* Reset Motor State */
outportb(WSiCMD0, 0x9d);
/* Enable Timer 0 for stepper 1 */
}
/*
This routin is used to update the profile table for motor 1
*/
void Stepper_1_Move(void)
{
if( Stepper_1_Step_Count > Step_1_Count_Old )
{
相關(guān)PDF資料
PDF描述
PSD611E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可編程邏輯,4K位SRAM,26個(gè)可編程I/O,通用PLD有63個(gè)輸入)
PSD601E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可編程邏輯,4K位SRAM,26個(gè)可編程I/O,通用PLD有63個(gè)輸入)
PSD602E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可編程邏輯,4K位SRAM,26個(gè)可編程I/O,通用PLD有63個(gè)輸入)
PSD603E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可編程邏輯,4K位SRAM,26個(gè)可編程I/O,通用PLD有63個(gè)輸入)
PSD612E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可編程邏輯,4K位SRAM,26個(gè)可編程I/O,通用PLD有63個(gè)輸入)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PSD513B1-12J 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Field-Programmable Peripheral
PSD513B1-12JI 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Field-Programmable Peripheral
PSD513B1-12LI 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Field-Programmable Peripheral
PSD513B1-12U 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Field-Programmable Peripheral
PSD513B1-12UI 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Field-Programmable Peripheral