📄 t1.lpj
字号:
Name = 'Package directory name'
Description = 'Subdirectory names.'
DefineName = 'IPETHMUX_PKG_DIR'
ConfigType = kMakeFile
FileName = '0'
Lists = <>
Value = '$(IPETHMUX_PKG_NAME)'
end
object TExpressionNode
Name = 'Package sub-directories'
Description = 'Subdirectory names.'
DefineName = 'PKG_SUBDIRS'
ConfigType = kMakeFile
FileName = '0'
AppendValue = True
Lists = <>
Value = '$(IPETHMUX_PKG_DIR)'
end
object TStringNode
Name = 'Package file name'
Description = 'Name of the package description file.'
DefineName = 'PKG_FILE_NAME'
ConfigType = kNone
FileName = '0'
Lists = <>
Value = 'ipEthMux.pkg'
end
end
object TYesNoNode
Name = 'Enable runtime debugging'
Description =
'When enabled this will trigger runtime debug information to be s' +
'ent to the debug port and any assertions to be active.'
OptionDependencies.Strings = (
'DEBUG')
DefineName = 'IPETHMUX_DEBUG'
FileName = '0'
Lists = <>
end
object TYesNoNode
Name = 'Enable 802.2 LLC frames'
Description =
'When selected this provides for supporting 802.2 LLC packet fram' +
'es.'
DefineName = 'IPETHMUX_802_2'
FileName = '0'
Lists = <>
object TYesNoNode
Name = 'Enable 802.2 LLC SNAP frames'
Description =
'When selected this provides for supporting 802.2 LLC SNAP packet' +
' frames.'
OptionDependencies.Strings = (
'IPETHMUX_802_2')
DefineName = 'IPETHMUX_802_2_SNAP'
FileName = '0'
Lists = <>
end
end
object TYesNoNode
Name = 'Support NAT and/or packet filters'
Description =
'This option provides support for registering a pair of NAT callb' +
'ack functions that can be used to implement either address trans' +
'lation or packet filtering solutions at this level.'
DefineName = 'IPETHMUX_NAT'
FileName = '0'
Lists = <>
end
end
object TPackageNode
Name = 'ipEthernet - Serializer Ethernet for IP2K'
Description =
'Serializer Ethernet driver (supporting multiple instances).'#13#10#13#10'T' +
'his package should be added to support 10Base-T using onchip Ser' +
'ializer.'#13#10#13#10'The TMR0 interrupt is used by ipEthernet to control ' +
'the timing of IFG. An 8-bit counter is used to count IFG, and it' +
' is updated at every timer0 interrupt. The valid TMR0 interrupt ' +
'interval should be smaller than the 10Base-T minimum IFG(=9.6us)' +
' and bigger than 1/7 of the 10Base-T minimm IFG. In terms of ti' +
'mer 0 interrupt frequency, the valid range shoudl be (52084, 781' +
'250)Hz. This range should be able to allow co-existance of ipEth' +
'ernet with other operations which also require timer 0 interrupt' +
' service. A frequency of 312500Hz is recommended.'
OptionDependencies.Strings = (
'TMR0_INT_FREQ')
PackageDependencies.Strings = (
'IPHAL'
'IPOS'
'IPLIBC')
DefineName = 'IPETHERNET'
ConfigType = kMakeHeaderFile
FileName = 'tcpip_config.h'
Lists = <>
LastModified = 1049760037
RootDirectory = 'src/lib'
object TSectionNode
Name = 'Package Options'
Description = 'Options that are common to all packages.'
DefineName = 'PKG_OPTIONS'
ConfigType = kMakeFile
FileName = '0'
Lists = <>
object TStringNode
Name = 'Version'
Description = 'Version of the package.'
DefineName = 'IPETHERNET_PKG_VERSION'
ConfigType = kMakeHeaderFile
FileName = '0'
Lists = <>
Value = '${VERSION}'
end
object TStringNode
Name = 'Package name'
Description = 'Name of the package.'
DefineName = 'IPETHERNET_PKG_NAME'
ConfigType = kMakeFile
FileName = '0'
Lists = <>
Value = 'ipEthernet'
end
object TExpressionNode
Name = 'Package directory name'
Description = 'Subdirectory names.'
DefineName = 'IPETHERNET_PKG_DIR'
ConfigType = kMakeFile
FileName = '0'
Lists = <>
Value = '$(IPETHERNET_PKG_NAME)'
end
object TExpressionNode
Name = 'Package sub-directories'
Description = 'Subdirectory names.'
DefineName = 'PKG_SUBDIRS'
ConfigType = kMakeFile
FileName = '0'
AppendValue = True
Lists = <>
Value = '$(IPETHERNET_PKG_DIR)'
end
object TStringNode
Name = 'Package file name'
Description = 'Name of the package description file.'
DefineName = 'PKG_FILE_NAME'
ConfigType = kNone
FileName = '0'
Lists = <>
Value = 'ipEthernet.pkg'
end
end
object TSectionNode
Name = 'Software Options'
Description = 'Software specific configuration'
DefineName = 'UNNAMED'
ConfigType = kNone
FileName = '0'
Lists = <>
object TYesNoNode
Name = 'Ethernet Statistics'
Description =
'Ethernet statistics collection.'#13#10#13#10'If enabled, the statistics of' +
' 10Base-T operation can be read from a global structure named as' +
' pEth_stats. The following description of statistics structure c' +
'an be found in ipEthernet header file.'#13#10#13#10'struct ipEthernet_stat' +
'istics {'#13#10#9'u32_t'#9'eth_tx_total;'#9#9'// total transmitted frames'#13#10#9'u3' +
'2_t'#9'eth_tx_dropped;'#9#9'// number of TX frames dropped due to no li' +
'nk/memory'#13#10#9'u32_t'#9'eth_tx_collision;'#9#9'// number collisions'#13#10#9'u32_' +
't'#9'eth_tx_late_collision;'#9'// number late collisions'#13#10#9'u32_t'#9'eth_t' +
'x_excessive_collision;'#9'// number excessive collisions'#13#10#9'u32_t'#9'et' +
'h_rx_total;'#9#9'// total received frames'#13#10#9'u32_t'#9'eth_rx_dropped;'#9#9'/' +
'/ number of RX frames ignored due to no upper layer'#13#10#9'u32_t'#9'eth_' +
'rx_overflow;'#9#9'// number times of RX overflow'#13#10#9'u32_t'#9'eth_rx_too_' +
'long;'#9#9'// number long RX frames'#13#10#9'u32_t'#9'eth_rx_fcs_error;'#9#9'// nu' +
'mber RX frames with bad alignment'#13#10#9'u32_t'#9'eth_rx_length_error;'#9#9 +
'// number RX frames with bad length value'#13#10#9'u32_t'#9'eth_rx_alignme' +
'nt_error;'#9'// number RX frames with bad alignment'#13#10'};'#13#10'extern str' +
'uct ipEthernet_statistics ipEth_stats;'#13#10#13#10#13#10
DefineName = 'IPETHERNET_STATISTICS'
FileName = '0'
Lists = <>
end
object TYesNoNode
Name = 'Pad TX Frame to Even Size'
Description =
'Check this box to have all odd length TX frame be padded with an' +
' extra byte of random data at the end.'#13#10#13#10'Enable this feature on' +
'ly when the exact TX frame size is not required by application. ' +
'Once enabled, all odd length TX frames are padded with one more ' +
'byte of unspecified data at the end of frame. So all TX frames h' +
'ave even number of bytes. This feature can save about 100 bytes ' +
'of program RAM space per Ethernet instance. It also speed up ipE' +
'thernet ISR.'
DefineName = 'IPETHERNET_TX_EVEN_ONLY'
FileName = '0'
Lists = <>
end
object TYesNoNode
Name = 'Flow control (half duplex)'
Description =
'Check this box to enable pseudo flow control.'#13#10#13#10'When enabled, i' +
'f the number of available netpages in the RX buffer is not enoug' +
'h to receive next RX frame, then the collision will be forced by' +
' transmitting some data while receiving. This forced collision w' +
'ill be detected by the far end equipement, so the effective data' +
' rate is reduced due to re-transmission and random backoff proce' +
'dure of Ethernet. This feature can be used as flow control mecha' +
'nism for half duplex Ethernet connection. Only frames determined' +
' to be intended for local Ethernet are subject to forced collisi' +
'on.'
DefineName = 'IPETHERNET_FLOW_THRESH'
FileName = '0'
Lists = <>
end
object TExpressionNode
Name = 'Receive Offset'
Description =
'Define RX initial offset.'#13#10#13#10'The RX frames normally start from a' +
'ddress 0 of the first netpage. It may be desirable that certain ' +
'number of space is reserved so that it is possible to add some h' +
'eader information without having to allocate another netpage. Th' +
'is will save both processing time and data memory in some applic' +
'ations.'#13#10#13#10'The valid RX offset has to be a even number and small' +
'er than 192.'
DefineName = 'IPETHERNET_RECEIVE_OFFSET'
FileName = '0'
Lists = <>
Value = '0'
end
object TExpressionNode
Name = 'Reserved netpages'
Description =
'Define number of reserved netpages.'#13#10#13#10'If reserved netpages is d' +
'efined non-zero, ipEthernet will not try to allocate netpages to' +
' fill in RX buffer if total number of available netpages falls b' +
'elow the defined number. This prevents ipEthernet from exhaustin' +
'g memory resource and adversly affecting application.'#13#10#13#10'The exa' +
'ct value defined here depends on the application.'
DefineName = 'IPETHERNET_RESERVED_NETPAGE'
FileName = '0'
Lists = <>
Value = '0'
end
end
object TTemplateNode
Name = 'Multiple instances'
Description = 'Enable multiple instances of ipEthernet'
DefineName = 'IPETHERNET_MI_ENABLED'
ConfigType = kMakeHeaderFile
FileName = '0'
Lists = <>
InstanceName = 'ipEthernet_'
object TRadioNode
Name = 'Use Serializer 1'
Description = 'Using SerDes1 to support this ipEthernet instance'
DefineName = 'USE_S1_FOR_ETHERNET'
FileName = '0'
Lists = <>
Value = True
object TYesNoNode
Name = 'Link LED'
Description =
'Check to enable Ethernet link status indication LED. A steady on' +
' LED indicates a good link.'
DefineName = '_S1_IPETHERNET_LINK_LED'
FileName = '0'
Lists = <>
Value = True
object TListNode
Name = 'Port'
Description = 'Port selection for link LED.'
DefineName = '_S1_IPETHERNET_LINK_LED_PORT'
FileName = '0'
Lists = <>
Value = 'RE'
ListName = 'ALL_PORTS'
end
object TListNode
Name = 'Pin'
Description = 'Pin selection for link LED.'
DefineName = '_S1_IPETHERNET_LINK_LED_PIN'
FileName = '0'
Lists = <>
Value = '1'
ListName = 'ALL_PINS'
end
object TYesNoNode
Name = 'Active High'
Description =
'Check this box to set active high for signal to drive this LED. ' +
'Otherwise, the signal will be active low.'
DefineName = '_S1_IPETHERNET_LINK_LED_HIGH'
FileName = '0'
Lists = <>
Value = True
end
end
object TYesNoNode
Name = 'Activity LED'
Description =
'Check to enable Ethernet activity indication LED. This LED flash' +
'es for any data transfer activity (both RX and TX).'
DefineName = '_S1_IPETHERNET_ACTIVITY_LED'
FileName = '0'
Lists = <>
Value = True
object TListNode
Name = 'Port'
Description = 'Port selection for activity LED.'
DefineName = '_S1_IPETHERNET_ACTIVITY_LED_PORT'
FileName = '0'
Lists = <>
Value = 'RE'
ListName = 'ALL_PORTS'
end
object TListNode
Name = 'Pin'
Description = 'Pin selection for activity LED.'
DefineName = '_S1_IPETHERNET_ACTIVITY_LED_PIN'
FileName = '0'
Lists = <>
Value = '0'
ListName = 'ALL_PINS'
end
object TYesNoNode
Name = 'Active High'
Description =
'Check this box to set active high for signal to drive this LED. ' +
'Otherwise, the signal will be active low.'
DefineName = '_S1_IPETHERNET_ACTIVE_LED_HIGH'
FileName = '0'
Lists = <>
Value = True
end
end
object TYesNoNode
Name = 'Collision LED'
Description =
'Check to enable Ethernet collision indication LED. This LED flas' +
'hes when collision has been detected.'
DefineName = '_S1_IPETHERNET_COLLISION_LED'
FileName = '0'
Lists = <>
Value = True
object TListNode
Name = 'Port'
Description = 'Port selection for collision LED.'
DefineName = '_S1_IPETHERNET_COLLISION_LED_PORT'
FileName = '0'
Lists = <>
Value = 'RE'
ListName = 'ALL_PORTS'
end
object TListNode
Name = 'Pin'
Description = 'Pin selection for collision LED.'
DefineName = '_S1_IPETHERNET_COLLISION_LED_PIN'
FileName = '0'
Lists = <>
Value = '2'
ListName = 'ALL_PINS'
end
object TYesNoNode
Name = 'Active High'
Description =
'Check this box to set active high for signal to drive this LED. ' +
'Otherwise, the signal will be active low.'
DefineName = '_S1_IPETHERNET_COLLISION_LED_HIGH'
FileName = '0'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -