Iicdo command, Iicclr command, Input/output (i/o) ports module – Freescale Semiconductor Microcontrollers User Manual

Page 444

Advertising
background image

HCS08 Full Chip Simulation

Peripheral Modules Commands

444

Microcontrollers Debugger Manual

3. The data byte $AA comes in

4. The data byte $22 comes in

5. A STOP signal comes in

IICDO Command

The IICDO command displays a window, which shows data shifted in as well as shifted
out of the IIC peripheral. An arrow points to the last output value transmitted/received.
The maximum number of output values that the buffer can hold is 256.

Syntax

>IICDO

Example

IICDO

View data from the input/output log buffer for IIC simulation.

IICCLR Command

Use the IICCLR command to flush the input and output buffers for IIC simulation. This
resets the buffers and clears all values. Notice that if the IIC is currently shifting a value,
this command does not prevent the IIC from finishing the transfer.

Syntax

>IICCLR

Example

>IICCLR

Clear input and output buffers for IIC simulation.

Input/Output (I/O) Ports Module

In FCS, this module simulates all input and output functionality of the Input/Output (I/O)
Ports module. FCS mode uses a set of designated commands to simulate the input and
output activity on corresponding I/O port pins. To define an input state of the specific port,
write the INPUT <x> <n> command in the Command line window. The <x> represents
corresponding I/O port, while the <n> stands for the input value to write to this port. At

Advertising