Content originally posted in LPCWare by Dave3891 on Sun Jul 17 10:24:28 MST 2011
I have read that chapter a few times and I understand how the match registers work and how to setup a PWM mode.
I was just looking for clarification on how the toggle setting worked
Quote:
[B][FONT=Arial][SIZE=1][COLOR=#005042][FONT=Arial][SIZE=1][COLOR=#005042][FONT=Arial][SIZE=1][COLOR=#005042][LEFT]Table 263. External match control[/LEFT]
[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Arial][SIZE=1][FONT=Arial][SIZE=1][LEFT]EMR[11:10], EMR[9:8],
EMR[7:6], or EMR[5:4]
Function[/LEFT]
[/B][/SIZE][/FONT][/SIZE][/FONT][FONT=Arial][SIZE=1][FONT=Arial][SIZE=1][LEFT]00 Do Nothing.
01 Clear the corresponding External Match bit/output to 0 (CT32Bn_MATm pin is LOW if
pinned out).
10 Set the corresponding External Match bit/output to 1 (CT32Bn_MATm pin is HIGH if
pinned out).[/LEFT]
11 Toggle the corresponding External Match bit/output
[/SIZE][/FONT][/SIZE][/FONT]
Does it switch between on and off each time the match happens?
Or does it toggle on for a set period and then off again?
:confused: