| поискавой системы для электроныых деталей |
|
PFS154 датащи(PDF) 87 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
PFS154 датащи(HTML) 87 Page - PADAUK Technology. |
|
87 / 91 page ![]() PFS154 8bit MTP Type IO Controller ©Copyright 2020, PADAUK Technology Co. Ltd Page 87 of 91 PDK-DS-PFS154_CN_V105 –Jun. 9, 2020 Note: Please read the PMC-APN013 carefully. According to PMC-APN013,, the crystal oscillator should be used reasonably. If the following situations happen to cause IC start-up slowly or non-startup, PADAUK Technology is not responsible for this: the quality of the user's crystal oscillator is not good, the usage conditions are unreasonable, the PCB cleaner leakage current, or the PCB layouts are unreasonable. 9.2.2 Interrupt (1) When using the interrupt function, the procedure should be: Step1: Set INTEN register, enable the interrupt control bit . Step2: Clear INTRQ register. Step3: In the main program, using ENGINT to enable CPU interrupt function. Step4: Wait for interrupt. When interrupt occurs, enter to Interrupt Service Routine. Step5: After the Interrupt Service Routine being executed, return to the main program. * Use DISGINT in the main program to disable all interrupts * When interrupt service routine starts, use PUSHAF instruction to save ALU and FLAG register. POPAF instruction is to restore ALU and FLAG register before RETI as below: void Interrupt (void) // Once the interrupt occurs, jump to interrupt service routine { // enter DISGINT status automatically, no more interrupt is accepted PUSHAF; … POPAF; } // RETI will be added automatically. After RETI being executed, ENGINT status will be restored (2) INTEN and INTRQ have no initial values. Please set required value before enabling interrupt function. 9.2.3 System clock switching System clock can be switched by CLKMD register. Please notice that, NEVER switch the system clock and turn off the original clock source at the same time. For example: When switching from clock A to clock B, please switch to clock B first; and after that turn off the clock A oscillator through CLKMD. Example : Switch system clock from ILRC to IHRC/2 CLKMD = 0x36; // switch to IHRC, ILRC can not be disabled here CLKMD.2 = 0; // ILRC can be disabled at this time ERROR: Switch ILRC to IHRC and turn off ILRC simultaneously CLKMD = 0x50; // MCU will hang 9.2.4 Watchdog Watchdog will be inactive once ILRC is disabled. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |