![CML Microcircuits CMX649 Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/cml-microcircuits/cmx649/cmx649_application-note_2627444033.webp)
CMX649 Wireless Voice Link Design Guide
©
2004 CML Microcircuits
Page 33 of 42
Clear f lag to indicate
Sy nc By te 1 has been
f ound
R7 = Sy nc By te
1?
Store number of shif ts
required to sy nc Rx'd
by tes
Return f rom
interrupt
Yes
No
Hav e 8 bit shif ts
occurred?
No
Yes
Return f rom
interrupt
A
Div ide R7 by two,
mask of f
upper two bits
Upper nibble
already
decoded?
Perf orm Manchester
decoding on R7 v alue,
place result in R6
No
Mask of f lower nibble
of Manchester decoded
v alue in R6
Mov e R6 upper nibble
to RXRF_BUF
Set f lag indicating
upper nibble already
decoded
Return f rom
interrupt
Mask of f upper nibble
of Manchester decoded
v alue in R6
Yes
Add R6 lower nibble to
RXRF_BUF
Clear f lag to indicate
upper nibble not
decoded
Decrement
FROMRF_CNTR
E
Shif t R6 & R7 by tes
by one bit
Increment Shif t Counter
C
B
B
Figure 12, RFCHIPRX Interrupt Service Routine (continued)