DM163005 Microchip Technology, DM163005 Datasheet - Page 52

KIT EVAL PIC16C432/433 LIN BUSS

DM163005

Manufacturer Part Number
DM163005
Description
KIT EVAL PIC16C432/433 LIN BUSS
Manufacturer
Microchip Technology
Datasheets

Specifications of DM163005

Module/board Type
Demonstration Board
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
PIC16C432, PIC16C433 LIN Bus
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PICDEM
DelayFullBit
LoadHighByte
DecLowByte1
DecLowByteOnly
DecLowByte2
DecLowByte11
DecLowByte22
DelayHalfBit
LoadHighByteH
DecLowByteH1
DecLowByteOnlyH
DecLowByteH2
DecLowByteH11
DecLowByteH22
DS41185C-page 48
;*******************************************************************************
; * ROUTINE
; * AUTHOR
; * DATE LAST MODIFIED
; * REVISION
; * CHANGES
; * INPUT PARAMETER
; * OUTPUT PARAMETER
; * DESCRIPTION
;*******************************************************************************
movf
btfss
goto
goto
movwf
clrf
decfsz
goto
decfsz
goto
movf
movwf
decfsz
goto
retlw
nop
goto
nop
goto
;*******************************************************************************
; * ROUTINE
; * AUTHOR
; * DATE LAST MODIFIED : 08/14/2001
; * REVISION
; * CHANGES
; * INPUT PARAMETER
; * OUTPUT PARAMETER
; * DESCRIPTION
;*******************************************************************************
movf
btfss
goto
goto
movwf
clrf
decfsz
goto
decfsz
goto
movf
movwf
decfsz
goto
retlw
nop
goto
nop
goto
LIN User’s Guide
AUTOBAUD_HIGH,w
STATUS, Z
LoadHighByte
DecLowByteOnly
TEMP2
TEMP1
TEMP1, f
DecLowByte11
TEMP2, f
DecLowByte1
AUTOBAUD_LOW, w
TEMP1
TEMP1, f
DecLowByte22
0x00
DecLowByte1
DecLowByte2
AUTOHALF_HIGH,w
STATUS, Z
LoadHighByteH
DecLowByteOnlyH
TEMP2
TEMP1
TEMP1, f
DecLowByteH11
TEMP2, f
DecLowByteH1
AUTOHALF_LOW, w
TEMP1
TEMP1, f
DecLowByteH22
0x00
DecLowByteH1
DecLowByteH2
: LIN bus Delay Routine Half Bit time
: Thomas Schmidt
: 1.0
: none
: none
: none
: This routine generates a delay for a half a bit time.
: LIN bus Delay Routinefor Full bit time
: Thomas Schmidt
: 08/14/2001
: 1.0
: none
: none
: none
: This routine generates a delay for a full bit time. The
The routine is called from the receive routine.
routine is called from the transmit or receive routine.
; copy content of Autobaud high register into
; is high byte = 0?
; no, high byte is not zero
; decrement only low byte
; load TEMP2 with content of AUTOBAUD_HIGH
; reset TEMP1 register
; decrement low byte
; do until result is zero
; decrement low byte
; decrement low byte again
; copy low byte from autobaud register
; into TEMP1
; decrement low byte until zero
; extra two cycle delay
; return from subroutine
; stretch time
; additional two cycle delay
; additional two cycle delay
; copy content of Autobaud high register into
; is high byte = 0?
; no, high byte is not zero
; decrement only low byte
; load TEMP2 with content of AUTOHALF_HIGH
; reset TEMP1 register
; decrement low byte
; do until result is zero
; decrement low byte
; decrement low byte again
; copy low byte from autobaud register
; into TEMP1
; decrement low byte until zero
; extra two cycle delay
; return from subroutine
; additional two cycle delay
; additional two cycle delay
 2004 Microchip Technology Inc.

Related parts for DM163005