Software Detailed Design

Introduction

The main control knob component is responsible for calculating a value between 0 and 100 percent depending on the user’s input.

Design Considerations

Specification: Arrow Up Key press SWDD_MCK-100 ../../../_images/arrow-right-circle.svg
is implemented by: SWIMPL_MCK-001
is tested by: TS_MCK-001

The Arrow Up key is pressed to increase the percentage value.

Specification: Arrow Down Key press SWDD_MCK-101 ../../../_images/arrow-right-circle.svg
is implemented by: SWIMPL_MCK-001
is tested by: TS_MCK-001

The Arrow Down key is pressed to decrease the percentage value.

Interfaces

Specification: Runnable SWDD_MCK-200 ../../../_images/arrow-right-circle.svg
is implemented by: SWIMPL_MCK-001
is tested by: TS_MCK-001

The main control knob component is called by its runnable mainControlKnob().

Specification: Arrow Key Input SWDD_MCK-201 ../../../_images/arrow-right-circle.svg
is implemented by: SWIMPL_MCK-001
is tested by: TS_MCK-001

The main control knob component uses the RTE interface RteIsKeyPressed() to check if the Arrow Up or Arrow Down key is pressed.

Specification: Main Knob Value Input SWDD_MCK-202 ../../../_images/arrow-right-circle.svg
is implemented by: SWIMPL_MCK-001
is tested by: TS_MCK-001

The main control knob component uses the RTE interface RteGetMainKnobValue() to get the current value of the main control knob.

Specification: Main Knob Value Output SWDD_MCK-203 ../../../_images/arrow-right-circle.svg
is implemented by: SWIMPL_MCK-001
is tested by: TS_MCK-001

The main control knob component uses the RTE interface RteSetMainKnobValue() to set the new value of the main control knob.