Color Control Server#

Callbacks for Color Control Server Component.

Callbacks#

void

Compute PWM from HSV.

void

Compute PWM from HSV.

void

Compute PWM from HSV.

Callbacks Documentation#

emberAfPluginColorControlServerComputePwmFromHsvCallback#

void emberAfPluginColorControlServerComputePwmFromHsvCallback (uint8_t endpoint)

Compute PWM from HSV.

Parameters
TypeDirectionArgument NameDescription
uint8_tN/Aendpoint

The identifying endpoint Ver.: always

This function is called from the color server when the PWMs need to be driven with a new value from the HSV values.


emberAfPluginColorControlServerComputePwmFromXyCallback#

void emberAfPluginColorControlServerComputePwmFromXyCallback (uint8_t endpoint)

Compute PWM from HSV.

Parameters
TypeDirectionArgument NameDescription
uint8_tN/Aendpoint

The identifying endpoint Ver.: always

This function is called from the color server when the PWMs need to be driven with a new value from the color X and color Y values.


emberAfPluginColorControlServerComputePwmFromTempCallback#

void emberAfPluginColorControlServerComputePwmFromTempCallback (uint8_t endpoint)

Compute PWM from HSV.

Parameters
TypeDirectionArgument NameDescription
uint8_tN/Aendpoint

The identifying endpoint Ver.: always

This function is called from the color server when the PWMs need to be driven with a new value from the color temperature.