Hi,
in fact the init is very similar for input mode as well. Step 2 is needed if IPM/IPWM channel will run from any global or local counter bus. For step 3 you will omit writing to A/B register and need to select Cn[EDPOL] value. If channel internal counter is selected (BSL=3), then channel prescaler have to be set too, as shown.
BR, Petr