You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parent Stakeholder Requirement: Traces to: #33 (HAL Interface: PEv2)
Quality Attribute Category: Correctness (enumeration and API compliance)
Requirement Description
The PEv2 HAL implementation shall use the correct PoKeysLib enumerations and constants
when interpreting bitmapped fields. No magic numbers shall be used where a named
enumeration constant exists in PoKeysLib.h.
Required enumeration usage:
ePK_PEv2_AxisConfig — for AxesConfig[] bit interpretation
ePK_PEv2_AxisSwitchOptions — for AxesSwitchConfig[] bit interpretation
ePK_PEv2_AxisSignalOptions — for SignalConfig[] bit interpretation
ePoKeysPEState — for PulseEngineState value interpretation
ePK_PEAxisState — for AxesState[] value interpretation
Non-Functional Requirement
Parent Stakeholder Requirement: Traces to: #33 (HAL Interface: PEv2)
Quality Attribute Category: Correctness (enumeration and API compliance)
Requirement Description
The PEv2 HAL implementation shall use the correct PoKeysLib enumerations and constants
when interpreting bitmapped fields. No magic numbers shall be used where a named
enumeration constant exists in
PoKeysLib.h.Required enumeration usage:
ePK_PEv2_AxisConfig— forAxesConfig[]bit interpretationePK_PEv2_AxisSwitchOptions— forAxesSwitchConfig[]bit interpretationePK_PEv2_AxisSignalOptions— forSignalConfig[]bit interpretationePoKeysPEState— forPulseEngineStatevalue interpretationePK_PEAxisState— forAxesState[]value interpretationMeasurable Criteria
grepfor raw hex/integer masks)-Wall -WextraVerification Method
Code inspection + Build verification
Priority
P1 – High
Traceability
PoKeysLibPulseEngine_v2Async.c