File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ void ADC_Init (void)
44
44
// ADC_CLK on
45
45
ADC_PowerDownEnable (ENABLE );
46
46
ADC_PowerDownEnable (DISABLE );
47
- //ADC_ChannelSelect(num);
47
+ //ADC_ChannelSelect(num);
48
48
}
49
49
50
50
void ADC_DeInit (void )
51
51
{
52
- // ADC_CLK off
52
+ // ADC_CLK off
53
53
ADC_PowerDownEnable (ENABLE );
54
- ADC_InterruptMask (DISABLE );
54
+ ADC_InterruptMask (DISABLE );
55
55
}
56
56
Original file line number Diff line number Diff line change @@ -130,8 +130,8 @@ typedef struct
130
130
#define UART_Mode_Rx ((uint16_t)(UART_CR_RXE))
131
131
#define UART_Mode_Tx ((uint16_t)(UART_CR_TXE))
132
132
#define IS_UART_MODE (MODE ) (((MODE) == UART_Mode_Rx) || \
133
- ((MODE) == UART_Mode_Tx) || \
134
- ((MODE) == (URAT_Mode_Rx | UART_Mode_Tx)))
133
+ ((MODE) == UART_Mode_Tx) || \
134
+ ((MODE) == (UART_Mode_Rx | UART_Mode_Tx)))
135
135
136
136
/**
137
137
* @}
@@ -222,7 +222,7 @@ typedef struct
222
222
#define UART_IT_FLAG_FEI ((uint16_t)0x01UL << 7) /*!< Framing error interrupt */
223
223
#define UART_IT_FLAG_RTI ((uint16_t)0x01UL << 6) /*!< Receive timeout interrupt */
224
224
#define UART_IT_FLAG_TXI ((uint16_t)0x01UL << 5) /*!< Transmit interrupt */
225
- #define UART_IT_FLAG_RXI ((uint16_t)0x01UL << 4) /*!< Receive interruptt */
225
+ #define UART_IT_FLAG_RXI ((uint16_t)0x01UL << 4) /*!< Receive interrupt */
226
226
#define UART_IT_FLAG_DSRMI ((uint16_t)0x01UL << 3) /*!< UARTDSR modem interrupt */
227
227
#define UART_IT_FLAG_DCDMI ((uint16_t)0x01UL << 2) /*!< UARTDCD modem interrupt */
228
228
#define UART_IT_FLAG_CTSMI ((uint16_t)0x01UL << 1) /*!< UARTCTS modem interrupt */
You can’t perform that action at this time.
0 commit comments