I am given a piece of code from my college professor to debug it. I have a small doubt in some portion of the code which is written below. Can anyone please explain me the code. and also tell me at what situation INTERRUPT is raised.
void initialize_timer2() { RCAP2L=0xcb;//0xe5; RCAP2H=0x7d;//0xbe; T2CON=4; ET2=1; EA=1; }
Please help me
Correct me if I'm wrong, but wasn't the intention by the professor that you either already have learned enough to know this. Or that you were expected to study the processor and figure it out yourself?
Don't you believe in the school system? Should the professors hand out the answers directly, instead of handing out pesky assignments?