PWM_Basic_load_duty_cycle_ch1

Load duty cycle register in for channel 1. The physical register may have different names, depending on the hardware. This is not the duty cycle as percentage of the whole period, but the actual counter compare value.

void PWM_Basic_load_duty_cycle_ch1(
    PWM_Basic_register_t duty_value
)

Parameters

counter_value

The value to load into the duty cycle register.

Returns

Type: void

Nothing