I´m doing first contact with CCS 4 2 1 .
I don´t unsertand how work F3 go declaration
F3 does not always jump to the declaration and it is hard to read and follow the soft
For example
in file TI_CC_hardware_board.h there are next defines
#define TI_CC_CSn_PxOUT P3OUT
#define TI_CC_CSn_PxDIR P3DIR
#define TI_CC_CSn_PIN 0x01
in file TI_CC_spi.c is the next function
void TI_CC_PowerupResetCCxxxx(void)
{
TI_CC_CSn_PxOUT |= TI_CC_CSn_PIN; WHEN I USE F3 OVER TI_CC_CSn_PxOUT, ccs jump to file TI_CC_hardware_board.h
BUT WHEN I USE F3 OVER TI_CC_CSn_PIN, ccs not jump to file TI_CC_hardware_board.h
IT IS STRANGE BECAUSE TI_CC_CSn_PxOUT and TI_CC_CSn_PIN are both in the same file !!!!!
TI_CC_Wait(30);
TI_CC_CSn_PxOUT &= ~TI_CC_CSn_PIN;
TI_CC_Wait(30);
TI_CC_CSn_PxOUT |= TI_CC_CSn_PIN;
TI_CC_Wait(45);
TI_CC_CSn_PxOUT &= ~TI_CC_CSn_PIN; // /CS enable
while (TI_CC_SPI_USCIB0_PxIN&TI_CC_SPI_USCIB0_SOMI);// Wait for CCxxxx ready
UCB0TXBUF = TI_CCxxx0_SRES; // Send strobe
// Strobe addr is now being TX'ed
IFG2 &= ~UCB0RXIFG; // Clear flag
while (!(IFG2&UCB0RXIFG)); // Wait for end of addr TX
while (TI_CC_SPI_USCIB0_PxIN&TI_CC_SPI_USCIB0_SOMI);
TI_CC_CSn_PxOUT |= TI_CC_CSn_PIN; // /CS disable
TI_CC_Wait(20000); //45
}