In embedded C, I just input a value of 500000 into a 16-bit slot. It's giving me the warning of "Integer conversion resulted in truncation". In this event, does that mean the value is set to 65535, 41248 (which is the remainder of 500000/65536), or another value? Or is there not enough information given here to determine it's value and there are other factors at play? Please let me know if more info is needed.
(Sample code, in case it helps)
TA0CCR0 = 500000-1; TA0CCTL1 = OUTMOD_7; TA0CCR1 = 250000; TA0CCTL2 = OUTMOD_7; TA0CCR2 = 850; TA0CTL = TASSEL__SMCLK | MC__UP | TACLR;