參數(shù)資料
型號(hào): NT68P81
廠商: Electronic Theatre Controls, Inc.
英文描述: USB Keyboard Micro-Controller
中文描述: USB鍵盤微控制器
文件頁數(shù): 16/30頁
文件大小: 1003K
代理商: NT68P81
NT68P81
16
9. Interrupt Controller
There are 10 interrupt sources: Timer, INT0, INT1, KBD, SUSP, IN0, IN1, IN2, OT0 and STUP.
9.1. Timer Interrupt
When the BASE TIMER overflows, it will set the TMR flag, If the interrupt is enabled by writing "1" to the bit 0 in IE_FUNC
($0002H), then it will interrupt 6502 CPU. The TMR flag can be read by the software. Once set by an interrupt source, it can
read from bit0 in IRQFUNC ($0000H) and remains high unless cleared by writing "1" to the bit 0 in IRQCLRF ($0001H). All
of register's data is cleared to "0" at initialization by the system reset. When an interrupt occurs, the CPU jumps to $FFFEH
& $FFFFH to execute the interrupt service routine, thus the TMR flag must be cleared by the software.
9.2. INT0 Interrupt
As soon as INT0 pin detects a falling edge trigger, NT68P81 sets the INT0 flag ($0000H, bit1). After that, the 6502 CPU is
interrupted if this interrupt has been already been enabled by writing “1” to EINT0 ($0002H, bit1). If the EINT0 flag is
cleared, the 6502 CPU can’ t be INT0 interrupted even if the INT0 flag is set. INT0 flag can be only be set by hardware and
cannot be set or cleared directly by the software except for writing “1” to CINT0 ($0001H, bit1) flag to clear INT0 flag. When
an interrupt occurs, the CPU will jump to $FFFEH & $FFFFH to execute the interrupt service routine so the INT0 flag must
be cleared by software.
9.3. INT1 Interrupt
As soon as the INT1 pin detects a falling edge trigger, NT68P81 sets the INT1 flag ($0000H, bit2). Then the 6502 CPU is
interrupted if the interrupt has already been enabled by writing “1” to EINT1 ($0002H, bit2). If EINT0 flag is cleared, the
6502 CPU can’ t be INT1 interrupted even if INT1 flag is set. INT1 flag can only be set by the hardware and can not be set
or cleared directly by the software except for writing “1” to CINT1 ($0001H, bit2) flag to clear INT1 flag.
When an interrupt occurs, CPU jumps to $FFFEH & $FFFFH to execute the interrupt service routine, the INT1 flag must be
cleared by the software.
9.4. KBD Interrupt
This interrupt will set the KBD flag ($0000H, bit3) every 4ms(HID 1.00 version) to indicate that keyboard scan data is ready
to send for endpoint1. Then the 6502 CPU is interrupted if this interrupt has been enabled already by writing “1” to EKBD
($0002H, bit3). If the EKBD flag is cleared, the 6502 CPU can’ t be KBD interrupted even if the KBD flag is set. The KBD
flag can only be set by the hardware and can not be set or cleared directly by the software except for writing “1” to CKBD
($0001H, bit 3) flag to clear KBD flag.
When an interrupt occurs, the CPU jumps to $FFFEH & $FFFFH to execute the interrupt service routine, the KBD flag must
be cleared by the software.
9.5. IN0 Token Interrupt
When an IN TOKEN for endpoint 0 is done, it will set the IN0 flag. If this interrupt is enabled by writing "1" to EIN0 ($0005H,
bit0), it will interrupt 6502 CPU.
When an interrupt occurs, the CPU jumps to $FFFEH & $FFFFH to execute the interrupt service routine, the IN0 flag must
be cleared by the software.
9.6. OT0 (OUT 0) Token Interrupt
When an OUT TOKEN for endpoint 0 is done, it will set the OT0 flag. If this interrupt is enabled by writing "1" to EOT0
($0005H, bit1), it will interrupt 6502 CPU.
When an interrupt occurs, the CPU jumps to $FFFEH & $FFFFH to execute the interrupt service routine, the OT0 flag must
be cleared by the software.
相關(guān)PDF資料
PDF描述
NT68P81-D01012 USB Keyboard Micro-Controller
NT68P81-D01013 USB Keyboard Micro-Controller
NT68P81-D01014 USB Keyboard Micro-Controller
NT68P81H USB Keyboard Micro-Controller
NT78BS5DC9V0.8 Small size, light weight. / Low coil consumption.
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
NT6C34CA 制造商:ASTEC 功能描述: 制造商:Emerson Network Power - Embedded Power 功能描述:
NT6DM32M16AD-T1 制造商:Nanya Technology Corporation 功能描述:MOBILE DRAM
NT6DM32M16BD-T1 制造商:NANYA TECHNOLOGY 功能描述:512M LPDDR SDRAM, 32Mx16, 200MHz 制造商:NANYA TECHNOLOGY 功能描述:NT6DM32 Series 1.8 V 512 Mb (32 Mb x 16) 200 MHz SDRAM - FBGA-60
NT6DM64M16BD-T1 制造商:Nanya Technology Corporation 功能描述:MEMORY IC
NT6DM8M32AC-T3 制造商:NANYA TECHNOLOGY 功能描述:NT6DM8M32 Series 1.8 V 256 Mb (8 M x 32) 166 Mhz SDRAM - BGA-90 制造商:NANYA TECHNOLOGY 功能描述:NT6DM8M32AC Series 256-Mbit (8 M x 32) 166 Mhz LPDDR SDRAM - BGA-90