The PWM will be normal but I want to fire separate digital outputs at zero crossing and max to sync up an external device.

Is there a way to access the PWM registers directly, so I can fire these outputs based on their value?