File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
targets/TARGET_Silicon_Labs/TARGET_EFM32 Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ extern "C" {
37
37
#endif
38
38
39
39
typedef struct {
40
- PinName pin : 8 ;
41
- PinMode mode : 6 ;
42
- PinDirection dir : 2 ;
40
+ PinName pin ;
41
+ PinMode mode ;
42
+ PinDirection dir ;
43
43
} gpio_t ;
44
44
45
45
#if DEVICE_ANALOGIN
@@ -85,9 +85,9 @@ struct pwmout_s {
85
85
86
86
#if DEVICE_INTERRUPTIN
87
87
struct gpio_irq_s {
88
- PinName pin : 8 ; // Pin number 4 least significant bits, port number 4 most significant bits
89
- uint32_t risingEdge : 1 ;
90
- uint32_t fallingEdge : 1 ;
88
+ PinName pin ;
89
+ uint8_t risingEdge ;
90
+ uint8_t fallingEdge ;
91
91
};
92
92
#endif
93
93
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ void lp_ticker_set_interrupt(timestamp_t timestamp)
95
95
inline void lp_ticker_disable_interrupt ()
96
96
{
97
97
RTC_IntDisable (RTC_IF_COMP0 );
98
- lp_ticker_free ();
99
98
}
100
99
101
100
inline void lp_ticker_clear_interrupt ()
@@ -164,7 +163,6 @@ void lp_ticker_set_interrupt(timestamp_t timestamp)
164
163
inline void lp_ticker_disable_interrupt ()
165
164
{
166
165
RTCC_IntDisable (RTCC_IF_CC0 );
167
- lp_ticker_free ();
168
166
}
169
167
170
168
inline void lp_ticker_clear_interrupt ()
You can’t perform that action at this time.
0 commit comments