| ??? 04/02/00 21:25 Read: times |
#2055 - RE: 80527/537 + interupt + K C51 |
Try this :
void LED_flash(void) interrupt 0 using 2 { //bla bla bla :-) } The interrupt number causes a vector to be generated at (8*n+3), where n is the argument of the "interrupt" declaration. Here a "LJMP LED_flash" will be placed at location 03h in the code memory. EXT0 = 03h -> interrupt 0 EXT1 = 13h -> interrupt 2 Mathias |
| Topic | Author | Date |
| 80527/537 + interupt + K C51 | 01/01/70 00:00 | |
| RE: 80527/537 + interupt + K C51 | 01/01/70 00:00 | |
RE: 80527/537 + interupt + K C51 | 01/01/70 00:00 |



