参数资料
型号: PSD513B1
英文描述: Field Programmable Microcontroller Peripherals(可编程逻辑,16K位SRAM,40个可编程I/O,通用PLD有61个输入)
中文描述: 现场可编程微控制器外围设备(可编程逻辑,16K的位的SRAM,40余个可编程输入/输出,通用PLD的有61个输入)
文件页数: 18/25页
文件大小: 186K
代理商: PSD513B1
4-314
PSD5XX – Application Note 042
Figure 16. A Sample *.C Program for this Application
(Cont.)
80C186
Interface to the
PSD503
(Cont.)
case 0:
outport(WSiIMG0, Step_1_Time);
Stepper_1_Step_Count++;
break;
case 1:
outport(WSiIMG1, Image);
break;
case 2:
outport(WSiIMG2, Image);
break;
case 3:
outport(WSiIMG3, Image);
break;
}
outport(EOI,0x8000);
_enable();
}
/* Load Timer 0 for step pulse */
void Init_Timers(void)
{
PULONG pIVT=NULL;
_disable();
Image = 100;
/* Pulse Mode Timer 0-3
*/
outportb(WSiCMD0, 0x99);
outportb(WSiCMD1, 0x99);
outportb(WSiCMD2, 0x99);
outportb(WSiCMD3, 0x99);
/* Program Command Register For The Counters */
/* All Counters to Pulse Mode */
/* All Counters Disabled */
/* Interrupt WSi Setup
*/
inportb( WSiINTRREAD);
outportb(WSiINTRMODE,0x00);
outportb(WSiINTRMASK,0x0f);
/* Clear All The Interrupts */
/* Unmask Timers Interrupt */
outportb(WSiPORTE_SFR,0x0d);
/* Confgure Port E For Special Function */
/* Interrupt 188 Setup
*/
pIVT[12] = (PULONG)SensorInt0;
outportb(I0CON,0x012);
pIVT[13] = (PULONG)WSiHandler;
outportb(I1CON,0x010);
outportb(IMASK,0xDD);
/* Sensor Interrupt */
/* Disable sensor inerrupt */
/* Interrupt # 1 Initilization */
/* Was level sensetive 0x07 */
Image = 0;
相关PDF资料
PDF描述
PSD611E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可编程逻辑,4K位SRAM,26个可编程I/O,通用PLD有63个输入)
PSD601E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可编程逻辑,4K位SRAM,26个可编程I/O,通用PLD有63个输入)
PSD602E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可编程逻辑,4K位SRAM,26个可编程I/O,通用PLD有63个输入)
PSD603E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可编程逻辑,4K位SRAM,26个可编程I/O,通用PLD有63个输入)
PSD612E1 Field Programmable Microcontroller Peripherals with Embedded Micro--Cell(可编程逻辑,4K位SRAM,26个可编程I/O,通用PLD有63个输入)
相关代理商/技术参数
参数描述
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