Bruce's approach sounds better to me.
It probably uses less code than issuing the HPWM command again also.

Cheers.