2005-04-13 02:17 PM
T0OC1_IRQChannel referring to OCAIE?
2005-04-13 02:11 AM
8.5.0.1 Use of interrupt channels
To use the interrupt features, for each interrupt channel used, perform the following sequence: – Set the OCiIE and/or ICiIE and/or TOIE bits of CR2 register to enable the peripheral to perform interrupt requests on the desired events.I've got this extract from STR Reference Manual page 155. Im confused about setting the interrupts channels. In the software library, the parameter for T0OC is T0OC1_IRQChannel which refers to Timer 0 output compare 1 interrupt. But referring to the above extract, it refers to Output Compare A IE.Will setting OCAEI generate Timer 0 output compare 1 interrupt ? Why dont the software use the parameter T0OCA_IRQChannel? Rgrds, TH Ong2005-04-13 02:17 PM
Thanks for the clarification.
Rgrds, TH Ong