• <noframes id="6fok0"><bdo id="6fok0"><listing id="6fok0"></listing></bdo>
    <ruby id="6fok0"></ruby>

    <progress id="6fok0"></progress>
  • <progress id="6fok0"></progress>
    <ruby id="6fok0"><table id="6fok0"></table></ruby>
  • <progress id="6fok0"><u id="6fok0"><form id="6fok0"></form></u></progress>

    24小時(shí)聯(lián)系電話(huà):18217114652、13661815404

    中文

    您當前的位置:
    首頁(yè)>
    電子資訊>
    技術(shù)專(zhuān)題>
    華大單片機HC32460欠...

    技術(shù)專(zhuān)題

    華大單片機HC32460欠壓復位配置


    華大單片機HC32F460欠壓復位配置如下:

    /*欠壓復位配置*/
    void lp_reset_init(void)
    {
        stc_pwc_pvd_cfg_t   stcPwcPvdCfg;

        MEM_ZERO_STRUCT(stcPwcPvdCfg);

        /* Config PVD1. */
        /* Disable filter. */
        stcPwcPvdCfg.enPvd1FilterEn = Disable;
        /* Msk interrupt. */
        stcPwcPvdCfg.enPvd1Int = NonMskInt;
        /* Interrupt. */
        stcPwcPvdCfg.stcPvd1Ctl.enPvdMode = PvdReset;
        /* Enable Pvd1 interrupt. */
        stcPwcPvdCfg.stcPvd1Ctl.enPvdIREn = Enable;
        /* Enable output compared result. */
        stcPwcPvdCfg.stcPvd1Ctl.enPvdCmpOutEn = Enable;
        /* PVD1 Threshold Voltage 2.8V. */
        stcPwcPvdCfg.enPvd1Level = Pvd2Level28;

        PWC_PvdCfg(&stcPwcPvdCfg);

    PWC_Pvd1Cmd(Enable);
    }

    上速代碼,在F460上面親測有用。因為華大的欠壓復位配置BOR寄存器是只讀,

    所以只能使用PVD1來(lái)配置欠壓復位。

    請輸入搜索關(guān)鍵字

    確定
    色鲁99热99re超碰精品_91精品一区二区三区无码吞精_亚洲国产欧洲综合997久久_一级a性色生活片久久无
  • <noframes id="6fok0"><bdo id="6fok0"><listing id="6fok0"></listing></bdo>
    <ruby id="6fok0"></ruby>

    <progress id="6fok0"></progress>
  • <progress id="6fok0"></progress>
    <ruby id="6fok0"><table id="6fok0"></table></ruby>
  • <progress id="6fok0"><u id="6fok0"><form id="6fok0"></form></u></progress>