/*
#
# Copyright LemonClear
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
*/
#ifndef __TCP_INTERFACE_H__
#define __TCP_INTERFACE_H__
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 * This file defines all transmition co-processor register masks
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */


/*contol register1 masks*/
#define TCOP_CON1_MASK1 0x0000000F
#define TCOP_CON1_MASK2 0x000000F0
#define TCOP_CON1_MASK3 0x0000FF00
#define TCOP_CON1_MASK4 0x000F0000
#define TCOP_CON1_MASK5 0xFFF00000

/*contol register2 masks*/
#define TCOP_CON2_MASK1 0x0000000F
#define TCOP_CON2_MASK2 0x000000F0
#define TCOP_CON2_MASK3 0x0000FF00
#define TCOP_CON2_MASK4 0x000F0000
#define TCOP_CON2_MASK5 0xFFF00000

/*contol register3 masks*/
#define TCOP_CON3_MASK1 0x0000000F
#define TCOP_CON3_MASK2 0x000000F0
#define TCOP_CON3_MASK3 0x0000FF00
#define TCOP_CON3_MASK4 0x000F0000
#define TCOP_CON3_MASK5 0xFFF00000

/*contol register4 masks*/
#define TCOP_CON4_MASK1 0x0000000F
#define TCOP_CON4_MASK2 0x000000F0
#define TCOP_CON4_MASK3 0x0000FF00
#define TCOP_CON4_MASK4 0x000F0000
#define TCOP_CON4_MASK5 0xFFF00000

/*contol register5 masks*/
#define TCOP_CON5_MASK1 0x0000000F
#define TCOP_CON5_MASK2 0x000000F0
#define TCOP_CON5_MASK3 0x0000FF00
#define TCOP_CON5_MASK4 0x000F0000
#define TCOP_CON5_MASK5 0xFFF00000

/*data register1 masks*/
#define TCOP_DATA1_MASK1 0x0000000F
#define TCOP_DATA1_MASK2 0x000000F0
#define TCOP_DATA1_MASK3 0x0000FF00
#define TCOP_DATA1_MASK4 0x000F0000
#define TCOP_DATA1_MASK5 0xFFF00000

/*data register2 masks*/
#define TCOP_DATA2_MASK1 0x0000000F
#define TCOP_DATA2_MASK2 0x000000F0
#define TCOP_DATA2_MASK3 0x0000FF00
#define TCOP_DATA2_MASK4 0x000F0000
#define TCOP_DATA2_MASK5 0xFFF00000


#endif /*__TCP_INTERFACE_H__*/
