| 数据搜索系统,热门电子元器件搜索 |
|
SM5K3 数据表(PDF) 17 Page - Sharp Corporation |
|
|
|||||||||||||||||||||||||||||
SM5K3 数据表(HTML) 17 Page - Sharp Corporation |
|
17 / 28 page ![]() SM5K3/SM5K4/SM5K5 - 17 - • IME flag (master enable flag) The IME enables or disables all interrupts at the same time. The IE command, when executed, sets the IME flag and enables the interrupt specified by the mask flag setting. The ID command resets the IME flag, disabling process of any interrupt request. Setting the IME flag to reset after releasing hardware reset, all interrupts are inhibited. • Mode register RE (interrupt mask flag) The mode register RE (RE0, RE1 and RE2; interrupt mask flag) individually enables or disables three type of interrupts. Timer/Counter The SM5K3/5K4/5K5 have a pair of built-in timer/counter. The timer/counter are used to handle periodic interrupts and to count. The overflowing timer can be used to disable the halt mode. The timer/counter serve as interval timer. The timer/counter consists of an 8-bit count register RA, modulo register RB (for counter initial value setting), 15-bit divider and 4-bit mode register RC (for count clock selection). The configuration of the timer/counter is shown in Fig. 10. fSYS System clock P11 pin ( external event clock ) Divider Mode register ( RC register ) fSYS / 2 0 0 3 3 03 03 03 47 47 03 15 fSYS / 2 7 AX AX I FT Modulo register ( RB register ) Count register ( RA register ) After setting BL = 0BH OUT command ( RB ←[ X, A ] ) IN command ( [ X, A ] ←RB ) After setting BL = 0AH OUT command After setting BL = 0AH IN command Interrupt request flag Fig. 10 Configuration of Timer/Counter • Selecting count clock A count clock is selected by the bit settings in the mode register RC. LOWER 2-BIT OF RC BITS SELECTED COUNT CLOCK 0 fSYS (system clock) 0 fSYS/27 1 fSYS/215 1 External event clock (P11) 1 0 0 1 0 1 Table 5 Count Clock Selection |
|
|
链接网址 |
| 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 |