| Electronic Components Datasheet Search |
|
ST2202 Datasheet(PDF) 16 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
ST2202 Datasheet(HTML) 16 Page - List of Unclassifed Manufacturers |
|
16 / 65 page ![]() Sitronix ST2202 Ver 2.0a 16/65 2003-May-05 9.1 Port-A Transistion Interrupt Port-A is designed for the return line inputs of keyboard scan with transition triggered interrupt and de-bounce option. Difference between current value and the data kept previously of Port-A will generate an interrupt request. The last state of Port-A must be latched before transition, and this can be done by one read instruction to Port-A. Steps and program example are shown below. Operate Port-A interrupt steps: 1. Set input mode. 2. Read Port-A. 3. Clear interrupt request flag (IRPT). 4. Set interrupt enable flag (IEPT). 5. Clear CPU interrupt disable flag (I). 6. Read Port-A before ‘RTI’ instruction in ISR Example: . . STZ <PCA ; Set input mode. LDA #$FF STA <PA ; PA be PULL-UP. LDA <PA ; Keep last state. RMB4 <IREQ ; Clear IRQ flag. SMB4 <IENA ; Enable INT. CLI . . Interrupt subroutine . . LDA <PA ; Keep last state. RTI |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |