Software Detailed Design

Introduction

The Brightness Controller is responsible for adjusting the brightness of the LED.

Design Considerations

Specification: Brightness Value SWDD_BC-100 ../../../_images/arrow-right-circle.svg
is implemented by: SWIMPL_BC-001
is tested by: TS_BC-002

The brightness of the light is represented by an integer value from 0 up to 255.

Interfaces

Specification: Runnable SWDD_BC-200 ../../../_images/arrow-right-circle.svg
is implemented by: SWIMPL_BC-003
is tested by: TS_BC-003

The Brightness Controller is be called by its runnable brightnessController().

Specification: Brightness Value Output SWDD_BC-202 ../../../_images/arrow-right-circle.svg
is implemented by: SWIMPL_BC-003
is tested by: TS_BC-003

The Brightness Controller is use the RTE interface RteSetBrightnessValue() to set the brightness value.