How to program 16-bit pwms in the different Arduino boards ?

The fastest way would be to read the datasheet. The pwm module is very easy to configure.