Hi,
I am running the MISRA error checks for some code on the 430F249, I am finding there are a large number of issues with the the TI header files. Is there a switch so that only customer (non TI code) is checked?
I have also noticed issues such as the code below produces warnings 12.7 & 10.1 and relates to TI code, what is the best way of fixing this?
Thanks
{
P3SEL |= 0x11u;
// P3.0,4 USCI_A0 option select
UCA0CTL0 |= UCCKPH + UCMSB + UCMST + UCSYNC;
// 3-pin, 8-bit SPI master
UCA0CTL1 |= UCSSEL_2;
// SMCLK
UCA0BR0 |= 0x04;
UCA0BR1 = 0;
UCA0MCTL = 0;
UCA0CTL1 &= ~UCSWRST;
// **Initialize USCI state machine**
}