Freescale Semiconductor Microcontrollers Network Card User Manual


 
HCS08 Full Chip Simulation
Peripheral Modules Commands
455
Microcontrollers Debugger Manual
The user can also observe different SCI flags in the Memory window. If the module is run
in Flag Polling mode, poll the flag corresponding to the expected SCI event. If the SCI
interrupts are enabled, the FCS jumps to an appropriate subroutine as long as the SCI
interrupt vectors are properly defined.
For more information on how to configure SCI module for desired operation, refer to the
Freescale user manual for your microprocessor.
SCI Commands
The following serial communication interface commands are available for the HCS08.
SCCLR Command
Use the SCCLR command to flush the input and output buffers for SCI simulation. This
resets the buffers and clear out all values. Notice that if the SCI is in the process of shifting
a value, this command does not prevent the SCI from finishing the transfer. See SCDI
command and SCDO command for accessing the input and output buffers of the SCI
interface.
Syntax
>SCCLR
Example
>SCCLR
Clear input and output buffer for SCI simulation
SCDI Command
The SCDI command allows the user to input data into the SCI. If a data parameter is
given, the value is placed into the next slot in the SCI input buffer. Otherwise a window is
displayed with the input buffer values. Input values can be entered while the window is
open. An arrow points to the next value to be used as input to the SCI. The maximum
number of input values is 256 bytes.
Syntax
>SCDI [<n>]
Where:
><n> The value to be entered into the next location in the input buffer