AN2295 Freescale Semiconductor / Motorola, AN2295 Datasheet - Page 34
AN2295
Manufacturer Part Number
AN2295
Description
Developers Serial Bootloader for M68HC08 and HCS08 MCUs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN2295.pdf
(56 pages)
- Current page: 34 of 56
- Download datasheet (452Kb)
MCU Slave Software
;*******************************************************************************************
SCIRX:
SCIRXNOEDGE:
SCIRX1:
SCIRX2: BRCLR
RXDLOW: LDHX
Macros
Several macros are defined across the two codelistings. They improve the readability or memory
consumption. They are provided in
34
BRRXDLO SCIRX
PSHH
PSHX
BCLR
LDX
LDA
LSRX
RORA
STX
STA
BSET
BRRXDHI SCIRX1
BCLR
MOV
LSRA
BRRXDLO RXDLOW
ORA
STHX
BCLR
DBNZ
BRA
7,TSC
ONEBIT
ONEBIT+1
TMODH
TMODL
4,TSC
5,TSC
#9,BITS
7,TSC,SCIRX2
#$80
ONEBIT
TMOD
7,TSC
BITS,SCIRX2
EPILOG
Figure 23. Software-SCI Receive Char Routine Source Code
Developer’s Serial Bootloader for M68HC08 and HCS08 MCUs, Rev. 6
Figure
; loop until RXD high (idle)
; and clear TOF
; clear timer
; loop until RXD low (wait for start bit)
; run timer
; number of bits + 1
; wait for TOF
; shift data right (highest bit cleared)
; skip if RXD low
; set highest bit if RXD high
; and clear TOF
; and loop for next bit
24.
Freescale Semiconductor
Related parts for AN2295
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola