| Electronic Components Datasheet Search |
|
PMS133 Datasheet(PDF) 60 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
PMS133 Datasheet(HTML) 60 Page - PADAUK Technology. |
|
60 / 106 page ![]() PMS133/PMS134 8bit OTP MCU with 12-bit ADC ©Copyright 2018, PADAUK Technology Co. Ltd Page 60 of 106 PDK-DS-PMS133/134-EN_V103 – Nov. 13, 2018 void Interrupt (void) // interrupt service routine { PUSHAF // store ALU and FLAG register // If INTEN.PA0 will be opened and closed dynamically, // user can judge whether INTEN.PA0 =1 or not. // Example: If (INTEN.PA0 && INTRQ.PA0) {…} // If INTEN.PA0 is always enable, // user can omit the INTEN.PA0 judgement to speed up interrupt service routine. If (INTRQ.PA0) { // Here for PA0 interrupt service routine INTRQ.PA0 = 0; // Delete corresponding bit (take PA0 for example) ... } ... // X : INTRQ = 0; // It is not recommended to use INTRQ = 0 to clear all at the end of the // interrupt service routine. // It may accidentally clear out the interrupts that have just occurred // and are not yet processed. POPAF // restore ALU and FLAG register } 5.12 Power-Save and Power-Down There are three operational modes defined by hardware: ON mode, Power-Save mode and Power-Down modes. ON mode is the state of normal operation with all functions ON, Power-Save mode (“stopexe”) is the state to reduce operating current and CPU keeps ready to continue, Power-Down mode (“stopsys”) is used to save power deeply. Therefore, Power-Save mode is used in the system which needs low operating power with wake-up occasionally and Power-Down mode is used in the system which needs power down deeply with seldom wake-up. Table 5 shows the differences in oscillator modules between Power-Save mode (“stopexe”) and Power-Down mode (“stopsys”). Differences in oscillator modules between STOPSYS and STOPEXE IHRC ILRC EOSC STOPSYS Stop Stop Stop STOPEXE No Change No Change No Change Table 5: Differences in oscillator modules between STOPSYS and STOPEXE |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |