1.1.6.4 LEDx_DutyCycleMaxSet Function
C
/* x = LED peripheral instance number */
void LEDx_DutyCycleMaxSet(uint8_t max)
Summary
Specifies the maximum duty cycle value.
Description
when the current duty cycle is greater than or equal to the max value the breathing apparatus holds the current duty cycle for the period specified by the field HD in register LED_DELAY
Precondition
None
Parameters
Param | Description |
---|---|
max | Maximum value of the duty cycle in LED breathing mode |
Returns
None
Example
LED0_DutyCycleMaxSet(200);
Remarks
None