AN2503 Freescale Semiconductor / Motorola, AN2503 Datasheet - Page 22

no-image

AN2503

Manufacturer Part Number
AN2503
Description
Slave LIN Driver for the MC68HC908QT/QY Family
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2503/D
22
TRANSCEIVER_DISABLE
TRANSCEIVER_ENABLE
PRE_TRIMMED_VALUE
BREAK_BIT_COUNT
TWOPINS_TX_HIGH
TWOPINS_TX_LOW
SET_OUTPUT_PIN
MCU_Fbus (f
LIN_BAUDRATE
Constant
Bus
)
Table 4. Constants and Media Access Macros in lincfg.h
Slave LIN Driver for the MC68HC908QT/QY Family
MCU internal
PTx_PTxx=1
PTx_PTxx=0
Freescale Semiconductor, Inc.
or unsigned
EN pin high
Set Tx high
transceiver
transceiver
EN pin low
frequency
Possible
Unsigned
baud rate
operating
Optional
For More Information On This Product,
Values
A LIN
8 bits
8 bits
Set
Set
Go to: www.freescale.com
Number of bit counts in order to recognize a valid break.
Pre-trimmed value from factory to load into OSCTRIM register.
Use optional if this register (20xFFC0) has a pre-trimmed value
If this value was erased, write your own using any unsigned 8-bit
When two pins are used, Tx must be as an output high when
Used to set Tx in high state.
Ensure that the Tx pin is mapped here.
Used to set Tx in low state.
Ensure that the Tx pin is mapped here.
If a transceiver is used, this macro enables the transceiver when
Ensure that the pin connected to the transceiver’s EN pin is
If a transceiver is used, this macro disables the transceiver when
Ensure that the pin connected to the transceiver’s EN pin is
This macro is obtained automatically based on the LIN baud rate
To use a different baud rate, see
This macro is obtained automatically based on the oscillator
f
Bus
from factory.
value.
initializing LIN. This macro must set this condition.
LIN is initialized.
mapped here.
LIN is initialized.
mapped here.
defined.
mode used.
change according to the external oscillator used.
must remain the same, but the external frequency can
Description
trimcfg.h Description
MOTOROLA

Related parts for AN2503