;- PORTB, 6 ; ÍÀÆÀÒÀ ÊÍÎÏÊÀ «+1» M11 ; ÍÅÒ - ÏÅÐÅÕÎÄ Ê ÏÐÎÂÅÐÊÅ ÍÀÆÀÒÈß ÊÍÎÏÊÈ «- 1»
; Ñ×ÅÒ×ÈÊÈ ×ÀÑΠSTOP_HL, F ; ÈÍÊÐÅÌÅÍÒÈÐÎÂÀÒÜ ÌËÀÄØÈÉ Ñ×ÅÒ×ÈÊ ×ÀÑΠSTATUS, Z STOP_HH, W ; ÑÒÀÐØÈÉ Ñ×ÅÒ×ÈÊ ÄÎÑ×ÈÒÀË ÄÎ 2 0x02 STATUS, Z M12 ; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÐÎÂÅÐÊÓ ÌËÀÄØÅÃÎ Ñ×ÅÒ×ÈÊÀ
BCF STATUS, Z STOP_HL, W 0x04 STATUS, Z M12 STATUS, Z STOP_HL ; ÄÀ - Î×ÈÑÒÈÒÜ ÌËÀÄØÈÉ Ñ×ÅÒ×ÈÊ ×ÀÑÎÂ
CLRF STOP_HH SET_REG_LCD1; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÂÐÅÌÅÍÈ ÂÛÊËÞ×ÅÍÈß ÍÀ ÈÍÄÈÊÀÖÈÞ STOP_HL, W 0x0A ; Ñ×ÅÒ×ÈÊ ÄÎÑ×ÈÒÀË ÄÎ 10 STATUS, Z SET_REG_LCD1; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÂÐÅÌÅÍÈ ÂÛÊËÞ×ÅÍÈß ÍÀ ÈÍÄÈÊÀÖÈÞ STOP_HL ; ÄÀ - Î×ÈÑÒÈÒÜ ÌËÀÄØÈÉ Ñ×ÅÒ×ÈÊ ×ÀÑΠSTOP_HH ; ÈÍÊÐÅÌÅÍÒÈÐÎÂÀÒÜ ÑÒÀÐØÈÉ Ñ×ÅÒ×ÈÊ ×ÀÑΠSET_REG_LCD1; ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÂÐÅÌÅÍÈ ÂÛÊËÞ×ÅÍÈß ÍÀ ÈÍÄÈÊÀÖÈÞ
;- PORTB, 6 ; ÍÀÆÀÒÀ ÊÍÎÏÊÀ «- 1» STOP_TMR2_3 ; ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÎÑÒÀÍÎÂÊÈ ÒÀÉÌÅÐÀ TMR2
; Ñ×ÅÒ×ÈÊ ÅÄÈÍÈÖ ×ÀÑΠSTATUS, C STOP_HL, F ; ÄÅÊÐÅÌÅÍÒÈÐÎÂÀÒÜ ÌËÀÄØÈÉ Ñ×ÅÒ×ÈÊ ×ÀÑΠSTATUS, C ; ÏÐÎÈÇÎØÅË ÇÀÅÌ SET_REG_LCD1; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÂÐÅÌÅÍÈ ÂÛÊËÞ×ÅÍÈß ÍÀ ÈÍÄÈÊÀÖÈÞ STATUS, C 0x09 ; ÄÀ - ÇÀÃÐÓÇÈÒÜ ÍÀ×ÀËÜÍÎÅ ÇÍÀ×ÅÍÈÅ STOP_HL
;-
; Ñ×ÅÒ×ÈÊ ÄÅÑßÒÊΠ×ÀÑΠSTOP_HH, F ; ÄÅÊÐÅÌÅÍÒÈÐÎÂÀÒÜ ÑÒÀÐØÈÉ Ñ×ÅÒ×ÈÊ ×ÀÑΠSTATUS, C ; ÏÐÎÈÇÎØÅË ÇÀÅÌ SET_REG_LCD1; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÂÐÅÌÅÍÈ ÂÛÊËÞ×ÅÍÈß ÍÀ ÈÍÄÈÊÀÖÈÞ STATUS, C 0x02 ; ÄÀ - ÇÀÃÐÓÇÈÒÜ ÍÀ×ÀËÜÍÛÅ ÇÍÀ×ÅÍÈß Â Ñ×ÅÒ×ÈÊÈ
MOVWF STOP_HH 0x04
MOVWF STOP_HL SET_REG_LCD1; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÂÐÅÌÅÍÈ ÂÛÊËÞ×ÅÍÈß ÍÀ ÈÍÄÈÊÀÖÈÞ
;-_TMR2_3 T2CON, TMR2ON; ÎÑÒÀÍÎÂÊÀ ÒÀÉÌÅÐÀ TMR2
SET_REG_LCD1 STOP_ML, W IND_0 STOP_MH, W IND_1 STOP_HL, W IND_2 STOP_HH, W
MOVWF IND_3 POINT, 2 ; ÂÛÊËÞ×ÈÒÜ ÒÎ×ÊÓ ÂÎ 2-Ì ÐÀÇÐßÄÅ POINT, 1 ; ÂÊËÞ×ÈÒÜ ÒÎ×ÊÓ Â 1-Ì ÐÀÇÐßÄÅ INT_SOURCE ; ÂÅÐÍÓÒÜÑß Ê ÏÎÈÑÊÓ ÈÑÒÎ×ÍÈÊΠÏÐÅÐÛÂÀÍÈÉ
;-
; ÏÎÄÏÐÎÃÐÀÌÌÀ ÓÑÒÀÍÎÂÊÈ ÒÅÊÓÙÅÃÎ ÂÐÅÌÅÍÈ_TIME ; ÓÑÒÀÍÎÂÊÀ ÒÅÊÓÙÅÃÎ ÂÐÅÌÅÍÈ FLAG_R, 2 ; ÐÅÆÈÌ ÓÑÒÀÍÎÂÊÈ ÒÅÊÓÙÅÃÎ ÂÐÅÌÅÍÈ ÂÊËÞ×ÅÍ INT_SOURCE ; ÂÅÐÍÓÒÜÑß Ê ÏÎÈÑÊÓ ÈÑÒÎ×ÍÈÊΠÏÐÅÐÛÂÀÍÈÉ
FLAG_R, 5 ; ÐÅÆÈÌ ÓÑÒÀÍÎÂÊÈ ÌÈÍÓÒ ÂÊËÞ×ÅÍ SET_HOUR ; ÍÅÒ - ÏÅÐÅÕÎÄ Ê ÓÑÒÀÍÎÂÊÅ ×ÀÑÎÂ
PORTB, 6 ; ÍÀÆÀÒÀ ÊÍÎÏÊÀ «+1» M13 ; ÍÅÒ - ÏÅÐÅÕÎÄ Ê ÏÐÎÂÅÐÊÅ ÍÀÆÀÒÈß ÊÍÎÏÊÈ «- 1»
;-
; Ñ×ÅÒ×ÈÊ ÅÄÈÍÈÖ ÌÈÍÓÒ MIN_L, F ; ÈÍÊÐÅÌÅÍÒÈÐÎÂÀÒÜ ÌËÀÄØÈÉ Ñ×ÅÒ×ÈÊ ÌÈÍÓÒ STATUS, Z MIN_L, W ; Ñ×ÅÒ×ÈÊ ÄÎÑ×ÈÒÀË ÄÎ 10 0x0A STATUS, Z SET_REG_LCD2; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÒÅÊÓÙÅÃÎ ÂÐÅÌÅÍÈ ÍÀ ÈÍÄÈÊÀÖÈÞ MIN_L ; ÄÀ - Î×ÈÑÒÈÒÜ ÌËÀÄØÈÉ Ñ×ÅÒ×ÈÊ ÌÈÍÓÒ
;-
; Ñ×ÅÒ×ÈÊ ÄÅÑßÒÊΠÌÈÍÓÒ MIN_H, F ; ÈÍÊÐÅÌÅÍÒÈÐÎÂÀÒÜ ÑÒÀÐØÈÉ Ñ×ÅÒ×ÈÊ ÌÈÍÓÒ STATUS, Z MIN_H, W ; Ñ×ÅÒ×ÈÊ ÄÎÑ×ÈÒÀË ÄÎ 6
XORLW 0x06 STATUS, Z
GOTO SET_REG_LCD2; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÒÅÊÓÙÅÃÎ ÂÐÅÌÅÍÈ ÍÀ ÈÍÄÈÊÀÖÈÞ MIN_H ; ÄÀ - Î×ÈÑÒÈÒÜ ÑÒÀÐØÈÉ Ñ×ÅÒ×ÈÊ ÌÈÍÓÒ SET_REG_LCD2; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÒÅÊÓÙÅÃÎ ÂÐÅÌÅÍÈ ÍÀ ÈÍÄÈÊÀÖÈÞ
;-
PORTB, 7 ; ÍÀÆÀÒÀ ÊÍÎÏÊÀ «- 1» STOP_TMR2_4 ; ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÎÑÒÀÍÎÂÊÈ ÒÀÉÌÅÐÀ TMR2
;-
; Ñ×ÅÒ×ÈÊ ÅÄÈÍÈÖ ÌÈÍÓÒ STATUS, C MIN_L, F ; ÄÅÊÐÅÌÅÍÒÈÐÎÂÀÒÜ ÌËÀÄØÈÉ Ñ×ÅÒ×ÈÊ ÌÈÍÓÒ STATUS, C ; ÏÐÎÈÇÎØÅË ÇÀÅÌ SET_REG_LCD2; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÒÅÊÓÙÅÃÎ ÂÐÅÌÅÍÈ ÍÀ ÈÍÄÈÊÀÖÈÞ STATUS, C 0x09 ; ÄÀ - ÇÀÃÐÓÇÊÀ ÍÀ×ÀËÜÍÎÃÎ ÇÍÀ×ÅÍÈß MIN_L
;-
; Ñ×ÅÒ×ÈÊ ÄÅÑßÒÊΠÌÈÍÓÒ MIN_H, F ; ÄÅÊÐÅÌÅÍÒÈÐÎÂÀÒÜ ÑÒÀÐØÈÉ Ñ×ÅÒ×ÈÊ ÌÈÍÓÒ STATUS, C ; ÏÐÎÈÇÎØÅË ÇÀÅÌ SET_REG_LCD2; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß ÂÛÂÎÄÎÌ
; ÒÅÊÓÙÅÃÎ ÂÐÅÌÅÍÈ ÍÀ ÈÍÄÈÊÀÖÈÞ STATUS, C 0x05 ; ÄÀ - ÇÀÏÈÑÀÒÜ ÍÀ×ÀËÜÍÎÅ ÇÍÀ×ÅÍÈÅ MIN_H SET_REG_LCD2; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÓÏÐÀÂËÅÍÈß
; ÂÛÂÎÄÎÌ ÂÐÅÌÅÍÈ ÂÊËÞ×ÅÍÈß ÍÀ ÈÍÄÈÊÀÖÈÞ
;-
FLAG_R, 4 ; ÐÅÆÈÌ ÓÑÒÀÍÎÂÊÈ ×ÀÑΠÂÊËÞ×ÅÍ STOP_TMR2_4 ; ÏÅÐÅÕÎÄ ÍÀ ÏÎÄÏÐÎÃÐÀÌÌÓ ÎÑÒÀÍÎÂÊÈ ÒÀÉÌÅÐÀ TMR2
;- PORTB, 6 ; ÍÀÆÀÒÀ ÊÍÎÏÊÀ «+1» M14 ; ÍÅÒ - ÏÅÐÅÕÎÄ Ê ÏÐÎÂÅÐÊÅ ÍÀÆÀÒÈß ÊÍÎÏÊÈ «- 1»
_HOUR
; Ñ×ÅÒ×ÈÊÈ ×ÀÑΠHOUR_L, F ; ÈÍÊÐÅÌÅÍÒÈÐÎÂÀÒÜ ÌËÀÄØÈÉ Ñ×ÅÒ×ÈÊ ×ÀÑΠSTATUS, Z HOUR_H, W ; ÑÒÀÐØÈÉ Ñ×ÅÒ×ÈÊ ÄÎÑ×ÈÒÀË ÄÎ 2 0x02 STATUS, Z M15 ; ÍÅÒ - ÏÅÐÅÕÎÄ ÍÀ ÏÐÎÂÅÐÊÓ ÌËÀÄØÅÃÎ Ñ×ÅÒ×ÈÊÀ
Ñàìîå ÷èòàåìîå:
Îñíîâû ïîñòðîåíèÿ áåñïðîâîäíûõ ñèñòåì ñâÿçè
Öåëüþ
äàííîãî äèïëîìíîãî ïðîåêòà ÿâëÿåòñÿ ïîäáîð ó÷åáíîãî ìàòåðèàëà ïî òåìå «Îñíîâû
ïîñòðîåíèÿ áåñïðîâîäíûõ ñèñòåì ñâÿçè». Íåîáõîäèìî íå òîëüêî îòîáðàòü íóæíûé
ìàòåðèàë, íî è àäàïòèðîâàòü åãî, ïî âîçìîæíîñòè, äëÿ ïîëíîãî ïîíèìàíèÿ
ñòóäåíòîâ. Ïðè ýòîì íåîáõîäèìî ó÷åñòü óðîâåíü çíàíèé îáó÷àþùèõñÿ, òî åñòü,
îòòàëêèâàÿñü îò èçó÷åííûõ ð ...