pub unsafe extern "C" fn pwm_channels(dev: pwm_t) -> u8
@brief Get the number of available channels
@param[in] dev PWM device
@return Number of channels available for the given device