Timers 2 and 4 (Type B Timers)
Type B Timers are very similar to Type A Timers except for a few exceptions:
- They can not operate in Asynchronous Counter Mode so the external clock input (TxCK) is always synchronized to the internal clock after the prescaler; and
- They can be joined (concatenated) to the Type C Timers to implement 32-bit Timers. When they are joined, the Type B timer becomes the LSW while the Type C timer becomes the MSW. Timer 2 can be joined to Timer 3 while Timer 4 can be joined to Timer 5.
- Timers 2 ans 3 can also trigger a DMA data transfer.
Because of the similarity of type B timers to type A timers, no specific example code will be given.