| 数据搜索系统,热门电子元器件搜索 |
|
PIC18F44J50 数据表(PDF) 4 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC18F44J50 数据表(HTML) 4 Page - Microchip Technology |
|
4 / 12 page ![]() PIC18F46J50 FAMILY DS80436C-page 4 2010 Microchip Technology Inc. 3. Module: Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) In rare situations, when interrupts are enabled, unexpected results may occur if: • The EUSART is disabled (the SPEN bit, RCSTAx<7> = 0) • The EUSART is re-enabled (RCSTAx<7> = 1) • A two-cycle instruction is executed immediately after setting SPEN = 1 Work around Add a 2 TCY delay after any instruction that re- enables the EUSART module (sets SPEN = 1). Refer to Example 1. EXAMPLE 1: RE-ENABLING A EUSART MODULE Affected Silicon Revisions ;Initial conditions: SPEN = 0 (module disabled) ;To re-enable the module: ;Re-Initialize TXSTAx, BAUDCONx, SPBRGx, SPBRGHx registers (if needed) ;Re-Initialize RCSTAx register (if needed), but do not set SPEN = 1 yet ;Now enable the module, but add a 2-Tcy delay before executing any two-cycle ;instructions bsf RCSTA1, SPEN ;or RCSTA2 if EUSART2 nop ;1 Tcy delay nop ;1 Tcy delay (two total) ;CPU may now execute 2 cycle instructions A2 A4 X X |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |