Quantcast
Channel: MSP 低功耗微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 3634

MSP430FR5994

$
0
0

在使用CCS打开官方例程时 有警告,用iar直接是错误:

#pragma LOCATION(dataRecorded1, 0x10000);
#pragma __persistent(dataRecorded1);
uint16_t dataRecorded1[SAMPLES_LENGTH] = {0};

dacValue = __data20_read_short(&dataRecorded1[pointer++]);//这句错误

iar提示:argument of type "uint16_t *" is incompatible with parameter of type "unsigned long"


CSS提示: argument of type "uint16_t *" is incompatible with parameter of type "unsigned long" 


Viewing all articles
Browse latest Browse all 3634

Trending Articles