| /bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ |
| A D | ft32f0xx_adc.c | 144 if (NewState != DISABLE) in ADC_Cmd() 199 if (NewState != DISABLE) in ADC_JitterCmd() 235 if (NewState != DISABLE) in ADC_AutoPowerOffCmd() 269 if (NewState != DISABLE) in ADC_WaitModeCmd() 297 if (NewState != DISABLE) in ADC_AnalogWatchdogCmd() 393 if (NewState != DISABLE) in ADC_AnalogWatchdogSingleChannelCmd() 419 if (NewState != DISABLE) in ADC_TempSensorCmd() 442 if (NewState != DISABLE) in ADC_VrefintCmd() 466 if (NewState != DISABLE) in ADC_VbatCmd() 558 if (NewState != DISABLE) in ADC_ContinuousModeCmd() [all …]
|
| A D | ft32f0xx_i2c.c | 177 if (NewState != DISABLE) in I2C_Cmd() 233 if (NewState != DISABLE) in I2C_ITConfig() 258 if (NewState != DISABLE) in I2C_StretchClockCmd() 283 if (NewState != DISABLE) in I2C_DualAddressCmd() 347 if (NewState != DISABLE) in I2C_GeneralCallCmd() 372 if (NewState != DISABLE) in I2C_SlaveByteControlCmd() 426 if (NewState != DISABLE) in I2C_10BitAddressingModeCmd() 458 if (NewState != DISABLE) in I2C_AutoEndCmd() 483 if (NewState != DISABLE) in I2C_ReloadCmd() 562 if (NewState != DISABLE) in I2C_GenerateSTART() [all …]
|
| A D | ft32f0xx_rcc.c | 202 if (NewState != DISABLE) in RCC_HSICmd() 259 if (NewState != DISABLE) in RCC_HSI14Cmd() 280 if (NewState != DISABLE) in RCC_HSI14ADCRequestCmd() 362 if (NewState != DISABLE) in RCC_LSICmd() 419 if (NewState != DISABLE) in RCC_PLLCmd() 444 if (NewState != DISABLE) in RCC_HSI48Cmd() 493 if (NewState != DISABLE) in RCC_ClockSecuritySystemCmd() 1047 if (NewState != DISABLE) in RCC_RTCCLKCmd() 1070 if (NewState != DISABLE) in RCC_BackupResetCmd() 1109 if (NewState != DISABLE) in RCC_AHBPeriphClockCmd() [all …]
|
| A D | ft32f0xx_usart.c | 256 if (NewState != DISABLE) in USART_Cmd() 286 if (NewState != DISABLE) in USART_DirectionModeCmd() 315 if (NewState != DISABLE) in USART_OverSampling8Cmd() 341 if (NewState != DISABLE) in USART_OneBitMethodCmd() 369 if (NewState != DISABLE) in USART_MSBFirstCmd() 401 if (NewState != DISABLE) in USART_DataInvCmd() 436 if (NewState != DISABLE) in USART_InvPinCmd() 466 if (NewState != DISABLE) in USART_SWAPPinCmd() 491 if (NewState != DISABLE) in USART_ReceiverTimeOutCmd() 540 if (NewState != DISABLE) in USART_AutoBaudRateCmd() [all …]
|
| A D | ft32f0xx_debug.c | 55 void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_Config() argument 59 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_Config() 61 if (NewState != DISABLE) in DBGMCU_Config() 92 void DBGMCU_APB1PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_APB1PeriphConfig() argument 96 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_APB1PeriphConfig() 98 if (NewState != DISABLE) in DBGMCU_APB1PeriphConfig() 120 void DBGMCU_APB2PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_APB2PeriphConfig() argument 124 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_APB2PeriphConfig() 126 if (NewState != DISABLE) in DBGMCU_APB2PeriphConfig()
|
| /bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/src/ |
| A D | hk32f0xx_i2c.c | 255 if (NewState != DISABLE) in I2C_Cmd() 311 if (NewState != DISABLE) in I2C_ITConfig() 336 if (NewState != DISABLE) in I2C_StretchClockCmd() 364 if (NewState != DISABLE) in I2C_StopModeCmd() 389 if (NewState != DISABLE) in I2C_DualAddressCmd() 453 if (NewState != DISABLE) in I2C_GeneralCallCmd() 478 if (NewState != DISABLE) in I2C_SlaveByteControlCmd() 532 if (NewState != DISABLE) in I2C_10BitAddressingModeCmd() 597 if (NewState != DISABLE) in I2C_AutoEndCmd() 622 if (NewState != DISABLE) in I2C_ReloadCmd() [all …]
|
| A D | hk32f0xx_adc.c | 206 if (NewState != DISABLE) in ADC_Cmd() 261 if (NewState != DISABLE) in ADC_JitterCmd() 316 if (NewState != DISABLE) in ADC_AutoPowerOffCmd() 350 if (NewState != DISABLE) in ADC_WaitModeCmd() 402 if (NewState != DISABLE) in ADC_AnalogWatchdogCmd() 498 if (NewState != DISABLE) in ADC_AnalogWatchdogSingleChannelCmd() 549 if (NewState != DISABLE) in ADC_TempSensorCmd() 572 if (NewState != DISABLE) in ADC_VrefintCmd() 596 if (NewState != DISABLE) in ADC_VbatCmd() 722 if (NewState != DISABLE) in ADC_ContinuousModeCmd() [all …]
|
| A D | hk32f0xx_usart.c | 355 if (NewState != DISABLE) in USART_Cmd() 386 if (NewState != DISABLE) in USART_DirectionModeCmd() 416 if (NewState != DISABLE) in USART_OverSampling8Cmd() 443 if (NewState != DISABLE) in USART_OneBitMethodCmd() 472 if (NewState != DISABLE) in USART_MSBFirstCmd() 505 if (NewState != DISABLE) in USART_DataInvCmd() 541 if (NewState != DISABLE) in USART_InvPinCmd() 572 if (NewState != DISABLE) in USART_SWAPPinCmd() 597 if (NewState != DISABLE) in USART_ReceiverTimeOutCmd() 692 if (NewState != DISABLE) in USART_STOPModeCmd() [all …]
|
| A D | hk32f0xx_rcc.c | 274 if (NewState != DISABLE) in RCC_HSICmd() 331 if (NewState != DISABLE) in RCC_HSI14Cmd() 352 if (NewState != DISABLE) in RCC_HSI14ADCRequestCmd() 445 if (NewState != DISABLE) in RCC_LSICmd() 501 if (NewState != DISABLE) in RCC_PLLCmd() 551 if (NewState != DISABLE) in RCC_ClockSecuritySystemCmd() 1158 if (NewState != DISABLE) in RCC_RTCCLKCmd() 1181 if (NewState != DISABLE) in RCC_BackupResetCmd() 1219 if (NewState != DISABLE) in RCC_AHBPeriphClockCmd() 1258 if (NewState != DISABLE) in RCC_APB2PeriphClockCmd() [all …]
|
| A D | hk32f0xx_dbgmcu.c | 93 void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_Config() argument 97 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_Config() 99 if (NewState != DISABLE) in DBGMCU_Config() 129 void DBGMCU_APB1PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_APB1PeriphConfig() argument 133 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_APB1PeriphConfig() 135 if (NewState != DISABLE) in DBGMCU_APB1PeriphConfig() 157 void DBGMCU_APB2PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState) in DBGMCU_APB2PeriphConfig() argument 161 assert_param(IS_FUNCTIONAL_STATE(NewState)); in DBGMCU_APB2PeriphConfig() 163 if (NewState != DISABLE) in DBGMCU_APB2PeriphConfig()
|
| /bsp/Vango/v85xxp/Libraries/VangoV85xxP_standard_peripheral/Source/ |
| A D | lib_misc.c | 74 assert_parameters(IS_FUNCTIONAL_STATE(NewState)); in MISC_INTConfig() 77 if (NewState == ENABLE) in MISC_INTConfig() 95 void MISC_SRAMParityCmd(uint32_t NewState) in MISC_SRAMParityCmd() argument 98 assert_parameters(IS_FUNCTIONAL_STATE(NewState)); in MISC_SRAMParityCmd() 100 if (NewState == ENABLE) in MISC_SRAMParityCmd() 162 void MISC_IRCmd(uint32_t IRx, uint32_t NewState) in MISC_IRCmd() argument 171 if (NewState == ENABLE) in MISC_IRCmd() 203 void MISC_HardFaultCmd(uint32_t NewState) in MISC_HardFaultCmd() argument 208 if (NewState == ENABLE) in MISC_HardFaultCmd() 225 void MISC_LockResetCmd(uint32_t NewState) in MISC_LockResetCmd() argument [all …]
|
| /bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Source/ |
| A D | lib_misc.c | 74 assert_parameters(IS_FUNCTIONAL_STATE(NewState)); in MISC_INTConfig() 77 if (NewState == ENABLE) in MISC_INTConfig() 95 void MISC_SRAMParityCmd(uint32_t NewState) in MISC_SRAMParityCmd() argument 98 assert_parameters(IS_FUNCTIONAL_STATE(NewState)); in MISC_SRAMParityCmd() 100 if (NewState == ENABLE) in MISC_SRAMParityCmd() 166 void MISC_IRCmd(uint32_t IRx, uint32_t NewState) in MISC_IRCmd() argument 175 if (NewState == ENABLE) in MISC_IRCmd() 207 void MISC_HardFaultCmd(uint32_t NewState) in MISC_HardFaultCmd() argument 212 if (NewState == ENABLE) in MISC_HardFaultCmd() 229 void MISC_LockResetCmd(uint32_t NewState) in MISC_LockResetCmd() argument [all …]
|
| /bsp/airm2m/air32f103/libraries/AIR32F10xLib/src/ |
| A D | air32f10x_sdio.c | 211 void SDIO_ClockCmd(FunctionalState NewState) in SDIO_ClockCmd() argument 214 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_ClockCmd() 287 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_ITConfig() 289 if (NewState != DISABLE) in SDIO_ITConfig() 307 void SDIO_DMACmd(FunctionalState NewState) in SDIO_DMACmd() argument 310 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_DMACmd() 508 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_StartSDIOReadWait() 522 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_StopSDIOReadWait() 552 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_SetSDIOOperation() 566 assert_param(IS_FUNCTIONAL_STATE(NewState)); in SDIO_SendSDIOSuspendCmd() [all …]
|
| A D | air32f10x_i2c.c | 302 if (NewState != DISABLE) in I2C_Cmd() 326 if (NewState != DISABLE) in I2C_DMACmd() 350 if (NewState != DISABLE) in I2C_DMALastTransferCmd() 374 if (NewState != DISABLE) in I2C_GenerateSTART() 398 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() 527 if (NewState != DISABLE) in I2C_ITConfig() 638 if (NewState != DISABLE) in I2C_SoftwareResetCmd() [all …]
|
| A D | air32f10x_rcc.c | 267 void RCC_HSICmd(FunctionalState NewState) in RCC_HSICmd() argument 270 assert_param(IS_FUNCTIONAL_STATE(NewState)); in RCC_HSICmd() 314 void RCC_PLLCmd(FunctionalState NewState) in RCC_PLLCmd() argument 472 if (NewState != DISABLE) in RCC_ITConfig() 561 void RCC_LSICmd(FunctionalState NewState) in RCC_LSICmd() argument 592 void RCC_RTCCLKCmd(FunctionalState NewState) in RCC_RTCCLKCmd() argument 728 if (NewState != DISABLE) in RCC_AHBPeriphClockCmd() 758 if (NewState != DISABLE) in RCC_APB2PeriphClockCmd() 789 if (NewState != DISABLE) in RCC_APB1PeriphClockCmd() 819 if (NewState != DISABLE) in RCC_APB2PeriphResetCmd() [all …]
|
| /bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/ |
| A D | ht32f1xxxx_rtc.c | 134 void RTC_LSECmd(ControlStatus NewState) in RTC_LSECmd() argument 136 Assert_Param(IS_CONTROL_STATUS(NewState)); in RTC_LSECmd() 138 if (NewState == DISABLE) in RTC_LSECmd() 153 void RTC_CMPCLRCmd(ControlStatus NewState) in RTC_CMPCLRCmd() argument 157 BB_CMPCLR = NewState; in RTC_CMPCLRCmd() 207 void RTC_Cmd(ControlStatus NewState) in RTC_Cmd() argument 209 BB_RTCEN = NewState; in RTC_Cmd() 260 if (NewState != DISABLE) in RTC_WakeupConfig() 285 if (NewState != DISABLE) in RTC_IntConfig() 343 void RTC_OutCmd(ControlStatus NewState) in RTC_OutCmd() argument [all …]
|
| A D | ht32f1xxxx_wdt.c | 93 void WDT_Cmd(ControlStatus NewState) in WDT_Cmd() argument 96 Assert_Param(IS_CONTROL_STATUS(NewState)); in WDT_Cmd() 98 if (NewState != DISABLE) in WDT_Cmd() 131 void WDT_IntConfig(ControlStatus NewState) in WDT_IntConfig() argument 136 if (NewState != DISABLE) in WDT_IntConfig() 152 void WDT_ResetCmd(ControlStatus NewState) in WDT_ResetCmd() argument 157 if (NewState != DISABLE) in WDT_ResetCmd() 172 void WDT_ProtectCmd(ControlStatus NewState) in WDT_ProtectCmd() argument 177 if (NewState != DISABLE) in WDT_ProtectCmd() 312 void WDT_LockCmd(ControlStatus NewState) in WDT_LockCmd() argument [all …]
|
| A D | ht32f1xxxx_usart.c | 420 if (NewState != DISABLE) in USART_IntConfig() 444 if (NewState != DISABLE) in USART_TxRxCmd() 453 if (NewState != DISABLE) in USART_TxRxCmd() 482 if (NewState != DISABLE) in USART_PDMACmd() 491 if (NewState != DISABLE) in USART_PDMACmd() 515 if (NewState != DISABLE) in USART_ForceBreakCmd() 524 if (NewState != DISABLE) in USART_ForceBreakCmd() 548 if (NewState != DISABLE) in USART_StickParityCmd() 557 if (NewState != DISABLE) in USART_StickParityCmd() 740 if (NewState != DISABLE) in USART_HardwareFlowControlCmd() [all …]
|
| A D | ht32f1xxxx_pwrcu.c | 435 void PWRCU_LVDCmd(ControlStatus NewState) in PWRCU_LVDCmd() argument 438 Assert_Param(IS_CONTROL_STATUS(NewState)); in PWRCU_LVDCmd() 440 BB_LVDEN = NewState; in PWRCU_LVDCmd() 448 void PWRCU_BODCmd(ControlStatus NewState) in PWRCU_BODCmd() argument 453 BB_BODEN = NewState; in PWRCU_BODCmd() 520 void PWRCU_DMOSCmd(ControlStatus NewState) in PWRCU_DMOSCmd() argument 530 BB_DMOSON = NewState; in PWRCU_DMOSCmd() 585 BB_LVDIWEN = NewState; in PWRCU_LVDIntWakeupConfig() 598 BB_LVDEWEN = NewState; in PWRCU_LVDEventWakeupConfig() 617 BB_WUPEN = NewState; in PWRCU_WakeupPinCmd() [all …]
|
| /bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/ |
| A D | ht32f5xxxx_rtc.c | 128 void RTC_LSECmd(ControlStatus NewState) in RTC_LSECmd() argument 130 Assert_Param(IS_CONTROL_STATUS(NewState)); in RTC_LSECmd() 132 if (NewState == DISABLE) in RTC_LSECmd() 148 void RTC_CMPCLRCmd(ControlStatus NewState) in RTC_CMPCLRCmd() argument 152 if (NewState != DISABLE) in RTC_CMPCLRCmd() 209 void RTC_Cmd(ControlStatus NewState) in RTC_Cmd() argument 211 if (NewState != DISABLE) in RTC_Cmd() 269 if (NewState != DISABLE) in RTC_WakeupConfig() 294 if (NewState != DISABLE) in RTC_IntConfig() 352 void RTC_OutCmd(ControlStatus NewState) in RTC_OutCmd() argument [all …]
|
| A D | ht32f5xxxx_adc.c | 106 Assert_Param(IS_CONTROL_STATUS(NewState)); in ADC_Cmd() 108 if (NewState != DISABLE) in ADC_Cmd() 259 Assert_Param(IS_CONTROL_STATUS(NewState)); in ADC_SoftwareStartConvCmd() 262 if (NewState != DISABLE) in ADC_SoftwareStartConvCmd() 306 Assert_Param(IS_CONTROL_STATUS(NewState)); in ADC_IntConfig() 308 if (NewState != DISABLE) in ADC_IntConfig() 480 Assert_Param(IS_CONTROL_STATUS(NewState)); in ADC_PDMAConfig() 482 if (NewState != DISABLE) in ADC_PDMAConfig() 506 if (NewState != DISABLE) in ADC_VREFCmd() 560 if (NewState != DISABLE) in ADC_VREFOutputADVREFPCmd() [all …]
|
| /bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/src/ |
| A D | HAL_rcc.c | 291 void RCC_HSICmd(FunctionalState NewState) in RCC_HSICmd() argument 296 if(NewState==ENABLE) in RCC_HSICmd() 446 if (NewState != DISABLE) in RCC_PLLCmd() 593 if (NewState != DISABLE) in RCC_ITConfig() 694 if (NewState != DISABLE) in RCC_LSICmd() 737 if (NewState != DISABLE) in RCC_RTCCLKCmd() 841 if (NewState != DISABLE) in RCC_AHBPeriphClockCmd() 871 if (NewState != DISABLE) in RCC_APB2PeriphClockCmd() 902 if (NewState != DISABLE) in RCC_APB1PeriphClockCmd() 930 if (NewState != DISABLE) in RCC_APB2PeriphResetCmd() [all …]
|
| /bsp/mm32f103x/Libraries/MM32F103/HAL_lib/src/ |
| A D | HAL_rcc.c | 292 void RCC_HSICmd(FunctionalState NewState) in RCC_HSICmd() argument 297 if(NewState == ENABLE) in RCC_HSICmd() 447 if (NewState != DISABLE) in RCC_PLLCmd() 594 if (NewState != DISABLE) in RCC_ITConfig() 695 if (NewState != DISABLE) in RCC_LSICmd() 738 if (NewState != DISABLE) in RCC_RTCCLKCmd() 845 if (NewState != DISABLE) in RCC_AHBPeriphClockCmd() 875 if (NewState != DISABLE) in RCC_APB2PeriphClockCmd() 906 if (NewState != DISABLE) in RCC_APB1PeriphClockCmd() 934 if (NewState != DISABLE) in RCC_APB2PeriphResetCmd() [all …]
|
| /bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32f20x_rcc.c | 179 if(NewState) in RCC_HSICmd() 254 if(NewState) in RCC_PLLCmd() 379 if (NewState != DISABLE) in RCC_ITConfig() 463 if(NewState) in RCC_LSICmd() 495 if(NewState) in RCC_RTCCLKCmd() 619 if (NewState != DISABLE) in RCC_AHBPeriphClockCmd() 652 if (NewState != DISABLE) in RCC_APB2PeriphClockCmd() 785 if(NewState) in RCC_BackupResetCmd() 802 if(NewState) in RCC_ClockSecuritySystemCmd() 1007 if(NewState) in RCC_PLL2Cmd() [all …]
|
| A D | ch32f20x_sdio.c | 94 void SDIO_ClockCmd(FunctionalState NewState) in SDIO_ClockCmd() argument 96 if(NewState) SDIO->CLKCR |= ((uint32_t)1<<8); in SDIO_ClockCmd() 162 if (NewState != DISABLE) in SDIO_ITConfig() 178 void SDIO_DMACmd(FunctionalState NewState) in SDIO_DMACmd() argument 180 if(NewState) SDIO->DCTRL |= ((uint32_t)1<<3); in SDIO_DMACmd() 343 if(NewState) SDIO->DCTRL |= ((uint32_t)1<<8); in SDIO_StartSDIOReadWait() 394 if(NewState) SDIO->CMD |= ((uint32_t)1<<11); in SDIO_SendSDIOSuspendCmd() 406 if(NewState) SDIO->CMD |= ((uint32_t)1<<12); in SDIO_CommandCompletionCmd() 416 void SDIO_CEATAITCmd(FunctionalState NewState) in SDIO_CEATAITCmd() argument 418 if(NewState) SDIO->CMD |= ((uint32_t)1<<13); in SDIO_CEATAITCmd() [all …]
|