215k views
3 votes
Configure Timer 1 to operate in split-pair mode, where Timer A is a periodic counter, and Timer B is a set as a one-shot counter that counts up.

Tinerconfigure (
,
|
|
):
Note there are 3 different elements ORed together for the configuration argument) All answers should be the correct case, and include no spaces

User Amit Aviv
by
7.0k points

1 Answer

2 votes

Final answer:

To configure Timer 1 to operate in split-pair mode, set the Timer Control Register (T1CON) with the appropriate configuration argument.

Step-by-step explanation:

To configure Timer 1 to operate in split-pair mode with Timer A as a periodic counter and Timer B as a one-shot counter that counts up, you need to set the Timer Control Register (T1CON) appropriately.

The configuration argument for T1CON in split-pair mode is '11 11 0111 0'

So the configuration for Timer 1 in split-pair mode would be: T1CON = 0x770

User Jacob Vlijm
by
6.9k points