7. (30) For the following source code, explain the line of code where the comment field exists. #include "hcs12.h" // #i
Posted: Sun May 15, 2022 6:52 pm
7. (30) For the following source code, explain the line of code where the comment field exists. #include "hcs12.h" // #include "vectors12.h" // #define INTERRUPT attribute__((interrupt)) #define u8 #define ul 6 unsigned char unsigned short u8 count; // int main(void) { Vector PAI = (u16) (&PAI_isr); // asm ("sei"); // PAI_init(); while (1) { count = 0; asm("cli"); // wait_one second(); // asm ("sei"); // display_count_on_lcd (); } } void INTERRUPT PAI_isr( void ) 1 TFLAG1 = 0x40; count++;