Question: 2. Provide the subroutine for the specific output compare channel as shown in the table above That means you have to provide four different subroutines.

 2. Provide the subroutine for the specific output compare channel as

2. Provide the subroutine for the specific output compare channel as shown in the table above That means you have to provide four different subroutines. All four Output Compare Channels are different. Ch. # | 7 | 6 | 5 | 4 | 3 | 2 | 110 a) : enable TCNT and fast flags clear :configure prescale factor to 128 ; enable OC delay movb #890, TSCRI TSCR2 TIOS ldd TCNT addd std TC brclr TFLG1,S rts start an output compare operation : with 152 ms time delay if equal, C2F in TFLG1 is set to 1 Ch. # 7 615 |4 |3 |2 |1 b) #$90, TSCRI : enable TCNT and fast flags clear : configure prescale factor to 64 : enable OC4 delay movb TSCR2 TIOS movb #$ ldd TCNT addd std TC brclr TELG1,Sif cqual, C4F in TFLGI is set to l rts start an output compare operation : with 60 ms time delay

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!