32 #ifndef BSP430_PLATFORM_EXP430FG4618_PLATFORM_H
33 #define BSP430_PLATFORM_EXP430FG4618_PLATFORM_H
54 #define BSP430_PLATFORM_EXP430FG4618 1
59 #define BSP430_PLATFORM_BUTTON0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
60 #define BSP430_PLATFORM_BUTTON0_PORT_BIT BIT0
61 #define BSP430_PLATFORM_BUTTON1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
62 #define BSP430_PLATFORM_BUTTON1_PORT_BIT BIT2
65 #define BSP430_LED_GREEN 0
66 #define BSP430_LED_YELLOW 1
67 #define BSP430_LED_RED 3
71 #ifndef BSP430_TIMER_CCACLK_ACLK_CCIDX
73 #define BSP430_TIMER_CCACLK_ACLK_CCIDX 6
75 #ifndef BSP430_TIMER_CCACLK_ACLK_CCIS
77 #define BSP430_TIMER_CCACLK_ACLK_CCIS CCIS_1
79 #ifndef BSP430_TIMER_CCACLK_CLK_PORT_BIT
81 #define BSP430_TIMER_CCACLK_CLK_PORT_BIT BIT4
83 #ifndef BSP430_TIMER_CCACLK_CC0_PORT_BIT
85 #define BSP430_TIMER_CCACLK_CC0_PORT_BIT BIT1
87 #ifndef BSP430_TIMER_CCACLK_CC1_PORT_BIT
89 #define BSP430_TIMER_CCACLK_CC1_PORT_BIT BIT2
94 #if (configBSP430_RFEM - 0)
98 #define BSP430_RFEM_RF1P3_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
99 #define BSP430_RFEM_RF1P3_PORT_BIT BIT5
100 #define BSP430_RFEM_RF1P5_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
101 #define BSP430_RFEM_RF1P5_PORT_BIT BIT4
102 #define BSP430_RFEM_RF1P6_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
103 #define BSP430_RFEM_RF1P6_PORT_BIT BIT6
104 #define BSP430_RFEM_RF1P8_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
105 #define BSP430_RFEM_RF1P8_PORT_BIT BIT7
106 #define BSP430_RFEM_RF1P10_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
107 #define BSP430_RFEM_RF1P10_PORT_BIT BIT2
108 #define BSP430_RFEM_RF1P10_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA0
109 #define BSP430_RFEM_RF1P10_TIMER_CCIDX 1
110 #define BSP430_RFEM_RF1P10_TIMER_CCIS CCIS_0
111 #define BSP430_RFEM_RF1P12_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
112 #define BSP430_RFEM_RF1P12_PORT_BIT BIT3
113 #define BSP430_RFEM_RF1P14_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
114 #define BSP430_RFEM_RF1P14_PORT_BIT BIT2
115 #define BSP430_RFEM_RF1P16_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
116 #define BSP430_RFEM_RF1P16_PORT_BIT BIT5
117 #define BSP430_RFEM_RF1P18_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
118 #define BSP430_RFEM_RF1P18_PORT_BIT BIT3
119 #define BSP430_RFEM_RF1P20_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
120 #define BSP430_RFEM_RF1P20_PORT_BIT BIT4