Packet Received; Packet Transmit; Goto Counters - Cirrus Logic CobraNet Silicon Series Hardware User Manual

Digital audio networking processor
Table of Contents

Advertisement

CobraNet Hardware User's Manual
Host Management Interface (HMI)

7.3.1.5. Packet Received

Sets bridgeRxPkt = bridgeRxReady thus acknowledging receipt of the packet in
bridgeRxPktBuffer.
void PacketReceive( void )
{
int msgack = MSG_D;
MSG_C = MOP_PACKET_RECEIVE;
MSG_D = CVR_MULTIPLEX_OP;
while( !( ( msgack ^ MSG_D ) & ( 1 << MSG_TOGGLE_BO ) ) );
}

7.3.1.6. Packet Transmit

Sets bridgeTxPkt = bridgeTxPktDone+1 thus initiating transmission of the contents of
bridgeTxPktBuffer. Presumably bridgeTxPktBuffer has been previously written with valid
packet data.
void PacketTransmit( void )
{
int msgack = MSG_D;
MSG_C = MOP_PACKET_TRANSMIT;
MSG_D = CVR_MULTIPLEX_OP;
while( !( ( msgack ^ MSG_D ) & ( 1 << MSG_TOGGLE_BO ) ) );
}

7.3.1.7. Goto Counters

Moves HMI data pointers to interrupt status variables (beginning at hackStatus).
void GotoCounters( void )
{
int msgack = MSG_D;
MSG_C = MOP_GOTO_COUNTERS;
MSG_D = CVR_MULTIPLEX_OP;
while( !( ( msgack ^ MSG_D ) & ( 1 << MSG_TOGGLE_BO ) ) );
}
28
©
Copyright 2004 Cirrus Logic, Inc.
DS651UM21
Version 2.1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CobraNet Silicon Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents