Echo Driver Configuration
Description: Allows control bank switching in Echo.
Notes:
Requires Echo to be reset into configuration mode and thus will abort any transmission or
reception currently in progress. Status bit Busyis set during the configuration. If the
required bank is unavailable, status bit Erroris set.
11 Echo Driver Configuration
Many of the driver options are statically configured at compile time. These configuration options are
defined in the Echo.h header file. Using these options it is possible to configure the driver to run on any
HCS08 MCU.
The Echo.h header file contains a number of #define configuration options. These are described below:
11.1 Common Properties for Both Banks
11.1.1 Required I/O Pins
ECHO_CONFB
Description: This defines the I/O pin used to control Echo’s CONFB pin.
Values:
Any I/O pin configurable as an output can be used. Use the naming convention specified
in the CodeWarrior™ header file.
#define ECHO_CONFB PTED_PTED3 /* Define pin used for CONFB */
Example:
ECHO_CONFB_DDR
Description: This defines the data direction bit for the I/O pin used to control Echo’s CONFB pin.
Values:
Any I/O pin configurable as an output can be used. Use the naming convention specified
in the CodeWarrior header file.
#define ECHO_CONFB_DDR PTEDD_PTEDD3
Example:
ECHO_SEB
Description: This defines the I/O pin used to control Echo’s SEB pin.
Values:
Any I/O pin configurable as an output can be used. Use the naming convention specified
in the CodeWarrior header file.
#define ECHO_SEB PTED_PTED0 /* Define pin used for SEB */
Example:
Software Drivers for MC33696, Rev. 1
Freescale Semiconductor
29