![](http://datasheet.mmic.net.cn/380000/-PD98405_datasheet_16745025/-PD98405_246.png)
CHAPTER 5 SAR FUNCTION
246
(2) Close_Channel command
Programming of command register
Parameter description
R/T: Indicates whether the receive or transmit channel is to be closed.
1: Receive channel
0: Transmit channel
VC NUMBER (bits 4 through 18): VC NUMBER of the channel to be closed
Command description
The Close_Channel command is used to close a receive or transmit channel.
When the
μ
PD98405 receives this command, it returns the specified VC table to the free block pool and
updates the contents of the TOS register so that they indicate the specified VC table.
(2-1)
Close_Channel indication
Contents of command register
Parameter description
VC NUMBER (bits 18 through 4):
Stores the VC NUMBER of the VC table of the closed channel. If this
area contains 0, it indicates that the
μ
PD98405 has rejected the issued
Close_Channel command. The host repeatedly issues the
Close_Channel command until it obtains VC NUMBER.
Indication description
When the Close_Channel command is issued, the
μ
PD98405 stores the VC NUMBER of the VC table of
the closed channel to the command register as an indication. The
μ
PD98405 stores this indication into the
command register once execution of the Close_Channel command has been completed. After issuing the
Close_Channel command, the host confirms that the B bit is set to 0, and then receives the indication.
The
μ
PD98405 may return "0" as the indication of the Close_Channel command. This indicates that the
specified channel could not be closed. Should this occur, the host must repeatedly issue the
Close_Channel command until it obtains the "VC NUMBER" of the VC to be closed.
1
0
0
1
- 0 -
0
25
26
29
30
31
- 0 -
24
18
19
R/T
4
3
- 0 -
VC NUMBER
0
31
- Undefined -
18
19
4
3
VC NUMBER
- 0 -