Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

EM6812F2TP24B Datasheet(PDF) 69 Page - EM Microelectronic - MARIN SA

Part # EM6812F2TP24B
Description  Ultra Low Power 8-bit FLASH Microcontroller
PDF  81 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  EMMICRO [EM Microelectronic - MARIN SA]
Direct Link  http://www.emmicroelectronic.com
Logo EMMICRO - EM Microelectronic - MARIN SA

EM6812F2TP24B Datasheet(HTML) 69 Page - EM Microelectronic - MARIN SA

Back Button EM6812F2TP24B Datasheet HTML 65Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 66Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 67Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 68Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 69Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 70Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 71Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 72Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 73Page - EM Microelectronic - MARIN SA Next Button
Zoom Inzoom in Zoom Outzoom out
 69 / 81 page
background image
R
EM6812
Copyright
© 2005, EM Microelectronic-Marin SA
69
www.emmicroelectronic.com
14.3.2 CPU Status register
The status register, used to control the interrupts and events, is an internal register to the CoolRISC CPU. It therefore does
not figure in the peripheral memory mapping. All CPU enable bits for the interrupts and the current status of the events and
the interrupts are part of this register.
Table 60. CPU status register description
Bit
Name
Reset
Reset by
R/W
Description
7
IE2
0
ResCPU
R/W
Level 2 Interrupt enable
‘1’ = enabled, ‘0’ = disabled
6
IE1
0
ResCPU
R/W
Level 1 Interrupt enable
‘1’ = enabled, ‘0’ = disabled
5
GIE
0
ResCPU
R/W*
General interrupt enable
‘1’ = enabled, ‘0’ = disabled
4
IN2
0
ResCPU
R/W
Interrupt request level 2 flag, shows CPUInt2
‘1’ = IRQ pending, ‘0’ = no IRQ
The IRQ may only take place if IN2, IE2, and GIE are set
3
IN1
0
ResCPU
R/W
Interrupt request level 1 flag, shows CPUInt1
‘1’ = IRQ pending, ‘0’ = no IRQ
The IRQ may only take place if IN1, IE1, and GIE are set
2
IN0
0
ResCPU
R/W
Interrupt request level 0 flag, shows CPUInt1
‘1’ = IRQ pending, ‘0’ = no IRQ
The IRQ may only take place if IN0 and GIE are set
1
EV1
0
ResCPU
R/W
Event request 1, input connected to VSS
0
EV0
0
ResCPU
R/W
Event request 0, input connected to DebWakeUp
*Clear General Interrupt Enable bit GIE. Special care must be taken clearing the GIE bit. If an interrupt arrives during the
clear operation the software may still branch into the interrupt routine and will set the GIE bit by the interrupt routine ending
RETI instruction. This behavior may prevent from creating 'interrupt protected' areas within your code. A suitable
workaround is to check if the GIE clearing took effect (Instruction) TSTB before executing the protected section.
14.3.3 CPU Status register pipeline exception
Another consequence of the above interrupt implementation is that several instruction sequences work in a different way
than expected. These instructions are mostly related to interrupt and event signals. For ‘normal’ instructions the pipeline is
completely transparent.
If an interrupt is set by software (i.e. write into the status register with a MOVE stat) the pipeline causes the next instruction
to be executed before the processor jumps to the interrupt subroutine. This allows one to supply a parameter to a ‘trap’ as
in Code shown below.
SETB
stat,
#4
; trap
MOVE a
#parameter
;
If an event bit is set by software (i.e. write into the CPU status register with a MOVE stat) and if a JEV (jump on event)
instruction immediately follows the move, the jump on event will act as if the move has not been executed, since the write
into the CPU status register will occur only once the JEV has been executed. The move takes 3 cycles to be executed and
the JEV only one.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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