STM8 AWU ultra-low power mode

Publisher:快乐的成长Latest update time:2019-11-12 Source: eefocusKeywords:STM8 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

__interrupt void AWU_IRQHandler(void)

{

   AWU->CSR = AWU->CSR; /* Clear the update interrupt flag*/  

}


void Enter_Halt()

{

    CLK_DeInit();

    AWU_DeInit();

    AWU_Cmd(ENABLE);

    CLK_SlowActiveHaltWakeUpCmd(ENABLE);//Enter ultra-low power mode

    asm("halt");

}


Welcome to use Markdown editor to write blogs

This Markdown editor is modified using StackEdit . Using it to write blogs will bring you a whole new experience:

  • Markdown and extended Markdown concise syntax

  • Code block highlighting

  • Image links and image uploads

  • LaTex math formula

  • UML sequence diagrams and flow charts

  • Blogging offline

  • Import and export Markdown files

  • Rich shortcut keys


math.stackexchange.com for details .

  • Inline formula, the mathematical formula is: Γ(n)=(n−1)!∀n∈NΓ(n)=(n−1)!∀n∈N.

  • Block level formula:


x=−b±b2−4ac−−−−−−−√2ax=−b±b2−4ac2a



Keywords:STM8 Reference address:STM8 AWU ultra-low power mode

Previous article:stm8 window watchdog application
Next article:stm8 eeprom

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号