Home
last modified time | relevance | path

Searched refs:NewState (Results 1 – 25 of 142) sorted by relevance

123456

/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/
A Dstm32f4xx_pwr.c182 assert_param(IS_FUNCTIONAL_STATE(NewState)); in PWR_BackupAccessCmd()
252 void PWR_PVDCmd(FunctionalState NewState) in PWR_PVDCmd() argument
255 assert_param(IS_FUNCTIONAL_STATE(NewState)); in PWR_PVDCmd()
289 assert_param(IS_FUNCTIONAL_STATE(NewState)); in PWR_WakeUpPinCmd()
309 assert_param(IS_FUNCTIONAL_STATE(NewState)); in PWR_WakeUpPinCmd()
310 assert_param(IS_PWR_WAKEUP_PIN(NewState)); in PWR_WakeUpPinCmd()
518 if (NewState != DISABLE) in PWR_UnderDriveCmd()
545 if (NewState != DISABLE) in PWR_MainRegulatorUnderDriveCmd()
569 if (NewState != DISABLE) in PWR_LowRegulatorUnderDriveCmd()
595 if (NewState != DISABLE) in PWR_MainRegulatorLowVoltageCmd()
[all …]
A Dstm32f4xx_fmpi2c.c278 if (NewState != DISABLE) in FMPI2C_Cmd()
335 if (NewState != DISABLE) in FMPI2C_ITConfig()
360 if (NewState != DISABLE) in FMPI2C_StretchClockCmd()
385 if (NewState != DISABLE) in FMPI2C_StopModeCmd()
410 if (NewState != DISABLE) in FMPI2C_DualAddressCmd()
474 if (NewState != DISABLE) in FMPI2C_GeneralCallCmd()
499 if (NewState != DISABLE) in FMPI2C_SlaveByteControlCmd()
553 if (NewState != DISABLE) in FMPI2C_10BitAddressingModeCmd()
618 if (NewState != DISABLE) in FMPI2C_AutoEndCmd()
643 if (NewState != DISABLE) in FMPI2C_ReloadCmd()
[all …]
A Dstm32f4xx_spdifrx.c172 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SPDIFRX_SetPreambleTypeBit()
174 if (NewState != DISABLE) in SPDIFRX_SetPreambleTypeBit()
195 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SPDIFRX_SetUserDataChannelStatusBits()
197 if (NewState != DISABLE) in SPDIFRX_SetUserDataChannelStatusBits()
218 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SPDIFRX_SetValidityBit()
220 if (NewState != DISABLE) in SPDIFRX_SetValidityBit()
241 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SPDIFRX_SetParityBit()
243 if (NewState != DISABLE) in SPDIFRX_SetParityBit()
266 if (NewState != DISABLE) in SPDIFRX_RxDMACmd()
289 if (NewState != DISABLE) in SPDIFRX_CbDMACmd()
[all …]
A Dstm32f4xx_rcc.c1796 if (NewState != DISABLE) in RCC_AHB1PeriphClockCmd()
1828 if (NewState != DISABLE) in RCC_AHB2PeriphClockCmd()
1858 if (NewState != DISABLE) in RCC_AHB3PeriphClockCmd()
1914 if (NewState != DISABLE) in RCC_APB1PeriphClockCmd()
1960 if (NewState != DISABLE) in RCC_APB2PeriphClockCmd()
2002 if (NewState != DISABLE) in RCC_AHB1PeriphResetCmd()
2031 if (NewState != DISABLE) in RCC_AHB2PeriphResetCmd()
2058 if (NewState != DISABLE) in RCC_AHB3PeriphResetCmd()
2110 if (NewState != DISABLE) in RCC_APB1PeriphResetCmd()
2152 if (NewState != DISABLE) in RCC_APB2PeriphResetCmd()
[all …]
A Dstm32f4xx_sdio.c334 void SDIO_ClockCmd(FunctionalState NewState) in SDIO_ClockCmd() argument
337 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_ClockCmd()
622 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_StartSDIOReadWait()
636 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_StopSDIOReadWait()
666 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_SetSDIOOperation()
680 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_SendSDIOSuspendCmd()
712 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_CommandCompletionCmd()
723 void SDIO_CEATAITCmd(FunctionalState NewState) in SDIO_CEATAITCmd() argument
726 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_CEATAITCmd()
769 void SDIO_DMACmd(FunctionalState NewState) in SDIO_DMACmd() argument
[all …]
A Dstm32f4xx_i2c.c318 if (NewState != DISABLE) in I2C_Cmd()
347 if (NewState != DISABLE) in I2C_AnalogFilterCmd()
404 if (NewState != DISABLE) in I2C_GenerateSTART()
428 if (NewState != DISABLE) in I2C_GenerateSTOP()
483 if (NewState != DISABLE) in I2C_AcknowledgeConfig()
533 if (NewState != DISABLE) in I2C_DualAddressCmd()
557 if (NewState != DISABLE) in I2C_GeneralCallCmd()
583 if (NewState != DISABLE) in I2C_SoftwareResetCmd()
607 if (NewState == DISABLE) in I2C_StretchClockCmd()
723 if (NewState != DISABLE) in I2C_ARPCmd()
[all …]
A Dstm32f4xx_dbgmcu.c84 void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_Config() argument
88 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_Config()
89 if (NewState != DISABLE) in DBGMCU_Config()
123 void DBGMCU_APB1PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_APB1PeriphConfig() argument
127 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_APB1PeriphConfig()
129 if (NewState != DISABLE) in DBGMCU_APB1PeriphConfig()
152 void DBGMCU_APB2PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_APB2PeriphConfig() argument
156 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_APB2PeriphConfig()
158 if (NewState != DISABLE) in DBGMCU_APB2PeriphConfig()
A Dstm32f4xx_dcmi.c223 void DCMI_CROPCmd(FunctionalState NewState) in DCMI_CROPCmd() argument
226 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DCMI_CROPCmd()
228 if (NewState != DISABLE) in DCMI_CROPCmd()
261 void DCMI_JPEGCmd(FunctionalState NewState) in DCMI_JPEGCmd() argument
264 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DCMI_JPEGCmd()
266 if (NewState != DISABLE) in DCMI_JPEGCmd()
299 void DCMI_Cmd(FunctionalState NewState) in DCMI_Cmd() argument
302 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DCMI_Cmd()
304 if (NewState != DISABLE) in DCMI_Cmd()
327 if (NewState != DISABLE) in DCMI_CaptureCmd()
[all …]
A Dstm32f4xx_usart.c433 if (NewState != DISABLE) in USART_Cmd()
480 if (NewState != DISABLE) in USART_OverSampling8Cmd()
506 if (NewState != DISABLE) in USART_OneBitMethodCmd()
651 if (NewState != DISABLE) in USART_ReceiverWakeUpCmd()
765 if (NewState != DISABLE) in USART_LINCmd()
842 if (NewState != DISABLE) in USART_HalfDuplexCmd()
944 if (NewState != DISABLE) in USART_SmartCardCmd()
969 if (NewState != DISABLE) in USART_SmartCardNACKCmd()
1059 if (NewState != DISABLE) in USART_IrDACmd()
1106 if (NewState != DISABLE) in USART_DMACmd()
[all …]
A Dstm32f4xx_dac.c270 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_Cmd()
272 if (NewState != DISABLE) in DAC_Cmd()
298 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_SoftwareTriggerCmd()
300 if (NewState != DISABLE) in DAC_SoftwareTriggerCmd()
321 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_DualSoftwareTriggerCmd()
323 if (NewState != DISABLE) in DAC_DualSoftwareTriggerCmd()
354 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_WaveGenerationCmd()
356 if (NewState != DISABLE) in DAC_WaveGenerationCmd()
514 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_DMACmd()
516 if (NewState != DISABLE) in DAC_DMACmd()
[all …]
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/
A Dstm32f2xx_rcc.c1100 if (NewState != DISABLE) in RCC_AHB1PeriphClockCmd()
1132 if (NewState != DISABLE) in RCC_AHB2PeriphClockCmd()
1159 if (NewState != DISABLE) in RCC_AHB3PeriphClockCmd()
1209 if (NewState != DISABLE) in RCC_APB1PeriphClockCmd()
1249 if (NewState != DISABLE) in RCC_APB2PeriphClockCmd()
1288 if (NewState != DISABLE) in RCC_AHB1PeriphResetCmd()
1317 if (NewState != DISABLE) in RCC_AHB2PeriphResetCmd()
1341 if (NewState != DISABLE) in RCC_AHB3PeriphResetCmd()
1387 if (NewState != DISABLE) in RCC_APB1PeriphResetCmd()
1423 if (NewState != DISABLE) in RCC_APB2PeriphResetCmd()
[all …]
A Dstm32f2xx_sdio.c333 void SDIO_ClockCmd(FunctionalState NewState) in SDIO_ClockCmd() argument
336 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_ClockCmd()
621 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_StartSDIOReadWait()
635 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_StopSDIOReadWait()
665 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_SetSDIOOperation()
679 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_SendSDIOSuspendCmd()
711 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_CommandCompletionCmd()
722 void SDIO_CEATAITCmd(FunctionalState NewState) in SDIO_CEATAITCmd() argument
725 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_CEATAITCmd()
768 void SDIO_DMACmd(FunctionalState NewState) in SDIO_DMACmd() argument
[all …]
A Dstm32f2xx_i2c.c319 if (NewState != DISABLE) in I2C_Cmd()
343 if (NewState != DISABLE) in I2C_GenerateSTART()
367 if (NewState != DISABLE) in I2C_GenerateSTOP()
422 if (NewState != DISABLE) in I2C_AcknowledgeConfig()
472 if (NewState != DISABLE) in I2C_DualAddressCmd()
496 if (NewState != DISABLE) in I2C_GeneralCallCmd()
522 if (NewState != DISABLE) in I2C_SoftwareResetCmd()
546 if (NewState == DISABLE) in I2C_StretchClockCmd()
662 if (NewState != DISABLE) in I2C_ARPCmd()
744 if (NewState != DISABLE) in I2C_TransmitPEC()
[all …]
A Dstm32f2xx_pwr.c136 void PWR_BackupAccessCmd(FunctionalState NewState) in PWR_BackupAccessCmd() argument
139 assert_param(IS_FUNCTIONAL_STATE(NewState)); in PWR_BackupAccessCmd()
141 *(__IO uint32_t *) CR_DBP_BB = (uint32_t)NewState; in PWR_BackupAccessCmd()
209 void PWR_PVDCmd(FunctionalState NewState) in PWR_PVDCmd() argument
212 assert_param(IS_FUNCTIONAL_STATE(NewState)); in PWR_PVDCmd()
214 *(__IO uint32_t *) CR_PVDE_BB = (uint32_t)NewState; in PWR_PVDCmd()
243 void PWR_WakeUpPinCmd(FunctionalState NewState) in PWR_WakeUpPinCmd() argument
246 assert_param(IS_FUNCTIONAL_STATE(NewState)); in PWR_WakeUpPinCmd()
294 assert_param(IS_FUNCTIONAL_STATE(NewState)); in PWR_BackupRegulatorCmd()
326 void PWR_FlashPowerDownCmd(FunctionalState NewState) in PWR_FlashPowerDownCmd() argument
[all …]
A Dstm32f2xx_dbgmcu.c84 void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_Config() argument
88 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_Config()
89 if (NewState != DISABLE) in DBGMCU_Config()
123 void DBGMCU_APB1PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_APB1PeriphConfig() argument
127 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_APB1PeriphConfig()
129 if (NewState != DISABLE) in DBGMCU_APB1PeriphConfig()
152 void DBGMCU_APB2PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_APB2PeriphConfig() argument
156 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_APB2PeriphConfig()
158 if (NewState != DISABLE) in DBGMCU_APB2PeriphConfig()
A Dstm32f2xx_usart.c420 if (NewState != DISABLE) in USART_Cmd()
467 if (NewState != DISABLE) in USART_OverSampling8Cmd()
493 if (NewState != DISABLE) in USART_OneBitMethodCmd()
637 if (NewState != DISABLE) in USART_ReceiverWakeUpCmd()
751 if (NewState != DISABLE) in USART_LINCmd()
828 if (NewState != DISABLE) in USART_HalfDuplexCmd()
931 if (NewState != DISABLE) in USART_SmartCardCmd()
956 if (NewState != DISABLE) in USART_SmartCardNACKCmd()
1046 if (NewState != DISABLE) in USART_IrDACmd()
1093 if (NewState != DISABLE) in USART_DMACmd()
[all …]
A Dstm32f2xx_dcmi.c225 void DCMI_CROPCmd(FunctionalState NewState) in DCMI_CROPCmd() argument
228 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DCMI_CROPCmd()
230 if (NewState != DISABLE) in DCMI_CROPCmd()
263 void DCMI_JPEGCmd(FunctionalState NewState) in DCMI_JPEGCmd() argument
266 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DCMI_JPEGCmd()
268 if (NewState != DISABLE) in DCMI_JPEGCmd()
301 void DCMI_Cmd(FunctionalState NewState) in DCMI_Cmd() argument
304 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DCMI_Cmd()
306 if (NewState != DISABLE) in DCMI_Cmd()
329 if (NewState != DISABLE) in DCMI_CaptureCmd()
[all …]
A Dstm32f2xx_dac.c263 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_Cmd()
265 if (NewState != DISABLE) in DAC_Cmd()
291 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_SoftwareTriggerCmd()
293 if (NewState != DISABLE) in DAC_SoftwareTriggerCmd()
314 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_DualSoftwareTriggerCmd()
316 if (NewState != DISABLE) in DAC_DualSoftwareTriggerCmd()
347 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_WaveGenerationCmd()
349 if (NewState != DISABLE) in DAC_WaveGenerationCmd()
507 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_DMACmd()
509 if (NewState != DISABLE) in DAC_DMACmd()
[all …]
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/
A Dstm32f10x_sdio.c234 void SDIO_ClockCmd(FunctionalState NewState) in SDIO_ClockCmd() argument
237 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_ClockCmd()
310 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_ITConfig()
312 if (NewState != DISABLE) in SDIO_ITConfig()
330 void SDIO_DMACmd(FunctionalState NewState) in SDIO_DMACmd() argument
333 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_DMACmd()
531 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_StartSDIOReadWait()
545 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_StopSDIOReadWait()
575 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_SetSDIOOperation()
589 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_SendSDIOSuspendCmd()
[all …]
A Dstm32f10x_i2c.c326 if (NewState != DISABLE) in I2C_Cmd()
350 if (NewState != DISABLE) in I2C_DMACmd()
374 if (NewState != DISABLE) in I2C_DMALastTransferCmd()
398 if (NewState != DISABLE) in I2C_GenerateSTART()
422 if (NewState != DISABLE) in I2C_GenerateSTOP()
446 if (NewState != DISABLE) in I2C_AcknowledgeConfig()
496 if (NewState != DISABLE) in I2C_DualAddressCmd()
520 if (NewState != DISABLE) in I2C_GeneralCallCmd()
551 if (NewState != DISABLE) in I2C_ITConfig()
662 if (NewState != DISABLE) in I2C_SoftwareResetCmd()
[all …]
A Dstm32f10x_rcc.c353 void RCC_HSICmd(FunctionalState NewState) in RCC_HSICmd() argument
400 void RCC_PLLCmd(FunctionalState NewState) in RCC_PLLCmd() argument
504 void RCC_PLL2Cmd(FunctionalState NewState) in RCC_PLL2Cmd() argument
704 if (NewState != DISABLE) in RCC_ITConfig()
861 void RCC_LSICmd(FunctionalState NewState) in RCC_LSICmd() argument
1069 if (NewState != DISABLE) in RCC_AHBPeriphClockCmd()
1099 if (NewState != DISABLE) in RCC_APB2PeriphClockCmd()
1130 if (NewState != DISABLE) in RCC_APB1PeriphClockCmd()
1158 if (NewState != DISABLE) in RCC_AHBPeriphResetCmd()
1189 if (NewState != DISABLE) in RCC_APB2PeriphResetCmd()
[all …]
A Dstm32f10x_usart.c354 if (NewState != DISABLE) in USART_Cmd()
420 if (NewState != DISABLE) in USART_ITConfig()
451 if (NewState != DISABLE) in USART_DMACmd()
521 if (NewState != DISABLE) in USART_ReceiverWakeUpCmd()
569 if (NewState != DISABLE) in USART_LINCmd()
682 if (NewState != DISABLE) in USART_SmartCardCmd()
707 if (NewState != DISABLE) in USART_SmartCardNACKCmd()
734 if (NewState != DISABLE) in USART_HalfDuplexCmd()
765 if (NewState != DISABLE) in USART_OverSampling8Cmd()
792 if (NewState != DISABLE) in USART_OneBitMethodCmd()
[all …]
A Dstm32f10x_dac.c176 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_Cmd()
177 if (NewState != DISABLE) in DAC_Cmd()
206 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_ITConfig()
209 if (NewState != DISABLE) in DAC_ITConfig()
236 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_DMACmd()
237 if (NewState != DISABLE) in DAC_DMACmd()
263 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_SoftwareTriggerCmd()
264 if (NewState != DISABLE) in DAC_SoftwareTriggerCmd()
286 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DAC_DualSoftwareTriggerCmd()
287 if (NewState != DISABLE) in DAC_DualSoftwareTriggerCmd()
[all …]
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/inc/
A Dstm32f4xx_pwr.h182 void PWR_BackupAccessCmd(FunctionalState NewState);
186 void PWR_PVDCmd(FunctionalState NewState);
190 void PWR_WakeUpPinCmd(FunctionalState NewState);
196 void PWR_BackupRegulatorCmd(FunctionalState NewState);
198 void PWR_OverDriveCmd(FunctionalState NewState);
199 void PWR_OverDriveSWCmd(FunctionalState NewState);
200 void PWR_UnderDriveCmd(FunctionalState NewState);
203 void PWR_MainRegulatorUnderDriveCmd(FunctionalState NewState);
204 void PWR_LowRegulatorUnderDriveCmd(FunctionalState NewState);
209 void PWR_LowRegulatorLowVoltageCmd(FunctionalState NewState);
[all …]
A Dstm32f4xx_fmpi2c.h409 void FMPI2C_Cmd(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
413 void FMPI2C_StopModeCmd(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
414 void FMPI2C_DualAddressCmd(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
416 void FMPI2C_GeneralCallCmd(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
422 void FMPI2C_AutoEndCmd(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
423 void FMPI2C_ReloadCmd(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
426 void FMPI2C_GenerateSTART(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
427 void FMPI2C_GenerateSTOP(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
435 void FMPI2C_SMBusAlertCmd(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
441 void FMPI2C_CalculatePEC(FMPI2C_TypeDef* FMPI2Cx, FunctionalState NewState);
[all …]

Completed in 69 milliseconds

123456