TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual
24-116
V2.0, 2007-07
GPTA, V2.0
Prescaler()
if (FPCk.Timer >= FPCk.Compare_Value) then
generate pulse on FPCk.Signal_Output.Transition
generate pulse on FPCk.Signal_Output.Level
FPCk.Timer = 0
else
FPCk.Timer ++
endif