Dear friends ,
I want to port the project of home auto (sample light) from msp430F5438 to MSP430f2274 ,any suggestion plz ??any documentations or recommendation ?? i got for example for the spi configuration this :
#define HAL_ZNP_RUN() st( P1OUT |= BV(HAL_ZNP_RST_BIT); )
#define HAL_ZNP_RST() st( P1OUT &= ~BV(HAL_ZNP_RST_BIT); )
#define HAL_ZNP_MRDY_BIT 6
#define HAL_ZNP_MRDY_CFG() st( P1SEL &= ~BV(HAL_ZNP_MRDY_BIT); \
P1OUT |= BV(HAL_ZNP_MRDY_BIT); \
HAL_ZNP_MRDY_CLR(); \
P1DIR |= BV(HAL_ZNP_MRDY_BIT); )
#define HAL_ZNP_MRDY_CLR() st( P1OUT |= BV(HAL_ZNP_MRDY_BIT); )
#define HAL_ZNP_MRDY_SET() st( P1OUT &= ~BV(HAL_ZNP_MRDY_BIT); )
how can i understand this configuration ?? thanls for advance