Home
last modified time | relevance | path

Searched refs:perph (Results 1 – 4 of 4) sorted by relevance

/bsp/wch/arm/ch579m/libraries/StdPeriphDriver/
A DCH57x_gpio.c217 void GPIOPinRemap( UINT8 s, UINT16 perph ) in GPIOPinRemap() argument
219 if( s ) R16_PIN_ALTERNATE |= perph; in GPIOPinRemap()
220 else R16_PIN_ALTERNATE &= ~perph; in GPIOPinRemap()
248 void GPIOAGPPCfg( UINT8 s, UINT16 perph ) in GPIOAGPPCfg() argument
250 if( s ) R16_PIN_ANALOG_IE |= perph; in GPIOAGPPCfg()
251 else R16_PIN_ANALOG_IE &= ~perph; in GPIOAGPPCfg()
A DCH57x_pwr.c83 void PWR_PeriphClkCfg( UINT8 s, UINT16 perph ) in PWR_PeriphClkCfg() argument
89 R32_SLEEP_CONTROL |= perph; in PWR_PeriphClkCfg()
95 R32_SLEEP_CONTROL &= ~perph; in PWR_PeriphClkCfg()
115 void PWR_PeriphWakeUpCfg( UINT8 s, UINT16 perph ) in PWR_PeriphWakeUpCfg() argument
121 R8_SLP_WAKE_CTRL &= ~perph; in PWR_PeriphWakeUpCfg()
127 R8_SLP_WAKE_CTRL |= perph; in PWR_PeriphWakeUpCfg()
/bsp/wch/arm/ch579m/libraries/StdPeriphDriver/inc/
A DCH57x_pwr.h50 void PWR_PeriphClkCfg( UINT8 s, UINT16 perph ); /* 外设时钟控制位 */
54 void PWR_PeriphWakeUpCfg( UINT8 s, UINT16 perph ); /* 睡眠唤醒源配置 */
A DCH57x_gpio.h93 void GPIOPinRemap( UINT8 s, UINT16 perph ); /* 外设功能引脚映射 */
94 void GPIOAGPPCfg( UINT8 s, UINT16 perph ); /* 模拟外设GPIO引脚功能控制 */

Completed in 8 milliseconds