![](http://datasheet.mmic.net.cn/330000/PM7323_datasheet_16444372/PM7323_177.png)
STANDARD PRODUCT
PM7323 RCMP-200
DATASHEET
PMC-960543
ISSUE 2
ROUTING CONTROL, MONITORING, & POLICING
200 MBPS
Proprietary and Confidential to PMC-Sierra, Inc.
and for its Customer’s Internal Use.
166
12.4.2 Initialization
The following are the microcontroller actions required to initialize the Search
Tables and VC Tables:
1. Set the STANDBY bit of the Master Configuration register (0x01) if not
already set by an asynchronous reset.
2. Write zeros (null pointer) to every Primary Search Table location (SA[19:16] =
0001).
3. Write zeros to the fourth word (SA[19:16]=0011) of all VC Table entries. This
clears the "Active" bit in the CONFIG field.
4. Clear the STANDBY bit of the Master Configuration register (0x01).
The remaining SRAM locations can be initialized when required.
12.4.3 Adding a Connection
The following are the microcontroller actions required to provision a connection:
1. Determine the next available VC Table address. Initialize the contents of the
VC Table Record via the Microprocessor RAM Address and Data registers
(0x21 through 0x25). Care should be taken to set the following fields
appropriately:
All counts should be set to zero.
The "PM0" field should be set to one.
The "Extended Status" field should be set to 0x050.
The "Active" bit of the "Config" field should be set to one.
2. Perform a binary search to determine the insertion point. The last pointer
accessed in the search shall be the one modified, be it a Primary Search
Table entry, left branch or right branch.
3. Find a free Secondary Search Table entry and initialize it. The only exception
to this is when a single VC Table Record exists in a tree, in which case the
solitary Secondary Search Table entry is modified.