mc68hc908jw32 Freescale Semiconductor, Inc, mc68hc908jw32 Datasheet - Page 206

no-image

mc68hc908jw32

Manufacturer Part Number
mc68hc908jw32
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908jw32FAE
Manufacturer:
FREESCALE
Quantity:
20 000
Break Module (BRK)
BRKA — Break Active Bit
18.5.2 Break Address Registers
The break address registers (BRKH and BRKL) contain the high and low bytes of the desired breakpoint
address. Reset clears the break address registers.
18.5.3 SIM Break Status Register
The SIM break status register (SBSR) contains a flag to indicate that a break caused an exit from wait
mode. The flag is useful in applications requiring a return to wait mode after exiting from a break interrupt.
SBSW — Break Wait Bit
206
This read/write status and control bit is set when a break address match occurs. Writing a logic 1 to
BRKA generates a break interrupt. Clear BRKA by writing a logic 0 to it before exiting the break routine.
Reset clears the BRKA bit.
This status bit is set when a break interrupt causes an exit from wait mode or stop mode. Clear SBSW
by writing a logic 0 to it. Reset clears SBSW.
SBSW can be read within the break interrupt routine. The user can modify the return address on the
stack by subtracting 1 from it.
1 = (When read) Break address match
0 = (When read) No break address match
1 = Stop mode or wait mode was exited by break interrupt
0 = Stop mode or wait mode was not exited by break interrupt
Note: Writing a logic 0 clears SBSW.
Address:
Address:
Address:
Reset:
Reset:
Reset:
Read:
Read:
Read:
Write:
Write:
Write:
$FE0C
$FE0D
$FE00
Bit 15
Bit 7
Bit 7
Bit 7
Bit 7
R
Figure 18-6. SIM Break Status Register (SBSR)
0
0
Figure 18-4. Break Address Register High (BRKH)
Figure 18-5. Break Address Register Low (BRKL)
14
R
6
0
6
6
0
6
MC68HC908JW32 Data Sheet, Rev. 5
13
R
R
5
0
5
5
0
5
= Reserved
12
R
4
0
4
4
0
4
11
R
3
0
3
3
0
3
10
R
2
0
2
2
0
2
SBSW
Note
1
9
0
1
1
0
1
0
Freescale Semiconductor
Bit 0
Bit 8
Bit 0
Bit 0
Bit 0
R
0
0

Related parts for mc68hc908jw32