|
| int32_t | dpmu_set_device_reset (uint32_t device_base) |
| | 配置外设复位 更多...
|
| |
| int32_t | dpmu_set_device_reset_release (uint32_t device_base) |
| | 配置外设复位释放 更多...
|
| |
| int32_t | dpmu_set_device_gate (uint32_t device_base, int32_t gate) |
| | 配置scu_pll 更多...
|
| |
| uint32_t | dpmu_get_reset_state (void) |
| | 获取复位状态 更多...
|
| |
| static uint32_t | scu_enter_critical (void) |
| | 延迟函数 更多...
|
| |
| static void | scu_exit_critical (uint32_t base_pri) |
| |
| void | scu_unlock_system_config (void) |
| | 解锁系统控制寄存器 更多...
|
| |
| void | scu_unlock_clk_config (void) |
| | 解锁时钟相关寄存器 更多...
|
| |
| void | scu_unlock_reset_config (void) |
| | 解锁复位相关寄存器 更多...
|
| |
| void | scu_lock_system_config (void) |
| | 锁定系统控制寄存器 更多...
|
| |
| void | scu_lock_clk_config (void) |
| | 锁定时钟相关寄存器 更多...
|
| |
| void | scu_lock_reset_config (void) |
| | 锁定复位寄存器 更多...
|
| |
| int32_t | scu_set_system_clk_gate (Sys_Clk_Gate_t base, FunctionalState gate) |
| | 设置系统时钟开关 更多...
|
| |
| int32_t | scu_set_device_gate (uint32_t device_base, int32_t gate) |
| | 设置外设时钟开关 更多...
|
| |
| int32_t | scu_set_ext_wakeup_int (Wakeup_Mask_t num, FunctionalState cmd) |
| | 设置唤醒中断使能 更多...
|
| |
| int32_t | scu_clear_ext_int_state (Wakeup_Mask_t num) |
| | 清除唤醒中断状态 更多...
|
| |
| void | scu_set_ext_filter_config (Ext_Num num, FunctionalState cmd, uint32_t param) |
| | 设置pad输入信号(外部事件)滤波 更多...
|
| |
| int32_t | scu_set_device_reset (uint32_t device_base) |
| | 配置外设复位 更多...
|
| |
| int32_t | scu_set_device_reset_release (uint32_t device_base) |
| | 配置外设复位释放 更多...
|
| |
| int8_t | scu_para_en_disable (uint32_t device_base) |
| | 配置外设分频参数之前需将CLK_DIV_PARAM_EN_CFG寄存器相应位置0 更多...
|
| |
| int8_t | scu_para_en_enable (uint32_t device_base) |
| | 配置外设分频参数之后需将CLK_DIV_PARAM_EN_CFG寄存器相应位置1 更多...
|
| |
| int32_t | scu_set_div_parameter (uint32_t device_base, uint32_t div_num) |
| | 设置外设时钟分频 更多...
|
| |
| void | scu_spiflash_no_boot_set (void) |
| | 配置QSPI0 非boot 模式 更多...
|
| |
| void | scu_run_in_flash (void) |
| | 设置程序在FLASH中运行 更多...
|
| |
| void | scu_run_not_in_flash (void) |
| | 设置程序不在FLASH中运行 更多...
|
| |
| void | scu_sel_dtrflash_clk (Dtr_Clk_Sel_t clk) |
| | 设置DTR控制器时钟来源 更多...
|
| |
| void | scu_wait_pll_lock_state () |
| | 等待 PLL 处于 LOCK 状态 更多...
|
| |
| void | scu_iis_src_config (IIS_Src_Config_t *config, IIS_Mclk_Source_t src) |
| | 设置IIS MCLK 时钟来源 SRC 时钟(0、1)的分频 更多...
|
| |
| void | scu_iis_mclk_config (IIS_Mclk_Config_t *config) |
| | 设置IIS MCLK(0、1) 时钟参数 更多...
|
| |
| void | scu_iis_clk_config (IISNumx device, IIS_Clk_Source_t clk_source) |
| | 设置IIS(0、1)时钟参数 更多...
|
| |
| void | scu_iis_pad_clk_config (IIS_Clk_Source_t clk_source, IIS_Clk_Mode_t mode) |
| | 设置 IIS PAD CLK 时钟参数 更多...
|
| |
| void | scu_iis_pad_mclk_config (IIS_Mclk_Source_t src, IIS_Clk_Mode_t mode) |
| | 设置IIS PAD MCLK时钟参数 更多...
|
| |
| void | scu_iis_codec_mclk_config (Codec_Channel_t channel, IIS_Mclk_Source_t src) |
| | 设置CODEC MCLK 时钟参数 更多...
|
| |
| void | scu_iis_codec_dac_data_config (Codec_Dac_Data_Sel_t src) |
| | 设置 codec dac IIS 输出数据来源 更多...
|
| |
| void | scu_iis_pad_data_config (Pad_IIS_Data_Sel_t src) |
| | 设置 pad IIS输出数据来源选择 更多...
|
| |
| void | iis_clk_config (IIS_Clk_ConfigTypedef *config) |
| | IIS时钟配置。 master模式时,配置iis的sck和lrck来源,codec的mclk来源,iis pad输出的mclk和sck lrck来源。 slave模式时,iis时钟从外部输入,配置iis pad为输入模式 更多...
|
| |
| int32_t | scu_get_system_reset_state (void) |
| | 获取系统复位状态 更多...
|
| |
| void | scu_nmi_irq_cfg (Nmi_Irq_t irq) |
| | nmi中断使能 更多...
|
| |
| void | scu_efuse_test_mode (FunctionalState cmd) |
| |
| void | scu_set_ext0_ext1_int (Ext_Num num, FunctionalState en) |
| | 外部中断使能 更多...
|
| |
| void | scu_clear_ext0_ext1_int (Ext_Num num) |
| |