Index: TestSupport.c =================================================================== diff -u -r2c508d911fedf7fea1a081f449070aeed248b85c -rd6afafc35efa5dcfd151a871843070e249c1c09f --- TestSupport.c (.../TestSupport.c) (revision 2c508d911fedf7fea1a081f449070aeed248b85c) +++ TestSupport.c (.../TestSupport.c) (revision d6afafc35efa5dcfd151a871843070e249c1c09f) @@ -52,6 +52,19 @@ return result; } + +U16 getU16OverrideValue( OVERRIDE_U32_T *ovU32 ) +{ + U16 result = (U16)( ovU32->data & MASK_OFF_MSW ); + + if ( OVERRIDE_KEY == ovU32->override ) + { + result = (U16)( ovU32->ovData & MASK_OFF_MSW ); + } + + return result; +} + /*********************************************************************//** * @brief * The getS32OverrideValue function extracts the appropriate signed integer