Part Number: TMS320F28027
Other Parts Discussed in Thread: CONTROLSUITE
Hi all,
I'm trying to use this intrinsic
void * result = __rpt_mov_imm(void * dst , int src , int count );
in such a way
interrupt some_int()
{
...
signed int BL_ZC_HIGH_RPM_ZC_FUNC[BL_ZC_HIGH_RPM_ZC_FUNC_ARRAY_MASK + 1];//[32];
__rpt_mov_imm(BL_ZC_HIGH_RPM_ZC_FUNC, -1, BL_ZC_HIGH_RPM_ZC_FUNC_ARRAY_MASK);
....
}
and get a such compiler error:
>> Compilation failure
_code_/subdir_rules.mk:16: recipe for target '_code_/BLR2_z_cross_evo3_04_07_18.obj' failed
"../_code_/BLR2_z_cross_evo3_04_07_18.c", line 2672: warning #69-D: integer conversion resulted in a change of sign
>> ../_code_/BLR2_z_cross_evo3_04_07_18.c, line 2672:
INTERNAL ERROR: no match for COMMA
This may be a serious problem. Please contact customer support with a
description of this problem and a sample of the source files that caused this
INTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
This code compiles witht issues if I try to fill array with negative int.
I need to fill the array with -1, so I've tried -1 as above, 0xFFFF, 65535 - no difference. If the src is positive, it's ok.
Can anybody help me with that