MC68HC908LK24 MOTOROLA [Motorola, Inc], MC68HC908LK24 Datasheet - Page 229

no-image

MC68HC908LK24

Manufacturer Part Number
MC68HC908LK24
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908LK24CFQ
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908LK24CFQ
Manufacturer:
FRE/MOT
Quantity:
20 000
Part Number:
MC68HC908LK24CFU
Manufacturer:
FREESCALE Semiconductor
Quantity:
489
Part Number:
MC68HC908LK24CFU
Manufacturer:
FREESCALE
Quantity:
300
Part Number:
MC68HC908LK24CFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908LK24CFU
Manufacturer:
FREESCALE
Quantity:
300
Part Number:
MC68HC908LK24CFU
Manufacturer:
FREESCALE
Quantity:
168
Part Number:
MC68HC908LK24CPK
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
12.9 Low-Power Modes
12.9.1 Wait Mode
MC68HC908LJ24/LK24 — Rev. 2
MOTOROLA
RTCWE_R EQU
...
RTC_WRTIE_PROTECT
...
To disable write-protect after write-protect is enabled execute the
following code:
RTCWE1 EQU
RTCWE0 EQU
RTCWE_R EQU
...
RTC_WRITE_ENABLE
...
...
; Write-protect is disabled, RTC registers/bits can be written.
...
; Protect register/bits again after write access.
RTC_WRTIE_PROTECT
...
The STOP and WAIT instructions put the MCU in low power-
consumption standby modes.
The RTC module continues normal operation in wait mode. Any enabled
CPU interrupt request from the RTC can bring the MCU out of wait
mode. If the RTC is not required to bring the MCU out of wait mode,
power down the RTC by clearing the RTCE bit before executing the
WAIT instruction.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
Real Time Clock (RTC)
$40
1
0
$40
;RTCCOMR register
BSET
BSET
;RTCWE1 bit
;RTCWE0 bit
;RTCCOMR register
BSET
BSET
BCLR
BSET
LDA
ORA
STA
BSET
BSET
BSET
RTCWE1,RTCWE_R ;write %10
RTCWE1,RTCWE_R ;write %10 again
RTCWE1,RTCWE_R ;write %10 twice to
RTCWE1,RTCWE_R ;ensure protected
RTCWE1,RTCWE_R ;write %00
RTCWE0,RTCWE_R ;write %01
RTCWE_R
#%00000011
RTCWE_R
RTCWE1,RTCWE_R ;write %10
RTCWE1,RTCWE_R ;write %10
RTCWE1,RTCWE_R ;write %10 again
;write %11
Real Time Clock (RTC)
Low-Power Modes
Data Sheet
229

Related parts for MC68HC908LK24