2.5.43. TAPOp_WriteMICEUser1

Sets the level of the user-defined Multi-ICE User 1 output bit.

Syntax

#include “tapop.h”

extern TAPOp_Error TAPOp_WriteMICEUser1(unsigned8 connectId, unsigned8 user1);

where:

connectId

Connection ID, as returned by TAPOp_OpenConnection.

user1

Bit 0 indicates the state to which the User 1 signalis set.

Return

The function returns:

TAPOp_NoError

No error.

TAPOp_UnableToSelect

Connection could not be made.

TAPOp_NoSuchConnection

The connectId was not recognized.

TAPOp_RPC_Connection_Fail

The RPC connection was lost while processing this request.

TAPOp_NotAllocatedToThisConnection

The User Output bit is not allocated to this connection by the Multi-ICE server.

Usage

For this procedure to have an effect on the state of the output bits, you must choose the Set by Driver option in the server User Output bit settings dialog box. You must also choose the TAP position for the connection.

See also

These TAPOp API functions provide similar or related functionality:

Copyright © 1998-2002 ARM Limited. All rights reserved.ARM DUI 0154B
Non-Confidential