Exam 2 - March 22
- C Programming
- Accessing memory locations
- Setting and clearing bits
- Clearing timer flags
- Interrupts
- Interrupt vectors
- How to set interrupt vector in C
- What happens to stack, stack pointer and program counter when an
interrupt occurs
- Enabling interrupts
- What to do in interrupt service routines
- Take care of things to do when interrupt occurs
- Clear source of interrupt
- Exit with RTI instead of RTS
- HC12 Timer Subsystem
- Timer Prescaler and Enable
- Timer Overflow Interrupt
- Real Time Interrupt
- Input Capture
- Output Compare
- How to enable specific interrupt in timer subsystem
- How to clear timer interrupt flags
- Pulse Width Modulation
- 8-bit, left-aligned, high polarity
- How to set clock source and period registers to get desired PWM frequency
- How to set and change duty cycle
Bill Rison
2000-03-27