AM263Px INDUSTRIAL COMMUNICATIONS SDK  2026.00.00

Introduction

Functions

int32_t PN_configureVlanFilter (PRUICSS_Handle pruicssHandle, uint8_t command)
 set the VLAN_FLTR_CTRL_SHIFT to enable/disable vlan filtering More...
 
int32_t PN_configureUntaggedFrameRx (PRUICSS_Handle pruicssHandle, uint8_t command)
 set the VLAN_FLTR_UNTAG_HOST_RCV_CTRL_SHIFT to enable/disable untagged frame host receive More...
 
int32_t PN_configurePriorityTaggedFrameRx (PRUICSS_Handle pruicssHandle, uint8_t command)
 set the VLAN_FLTR_PRIOTAG_HOST_RCV_CTRL_SHIFT to enable/disable priority frame host receive More...
 
int32_t PN_configureVidRx (PRUICSS_Handle pruicssHandle, uint16_t vid, uint8_t command)
 insert/delete a VID in the VLAN filter table More...
 

Function Documentation

◆ PN_configureVlanFilter()

int32_t PN_configureVlanFilter ( PRUICSS_Handle  pruicssHandle,
uint8_t  command 
)

set the VLAN_FLTR_CTRL_SHIFT to enable/disable vlan filtering

Parameters
pruicssHandleHandle to PRU ICSS instance. Contains pointers to base addresses & offsets
commandinstruction to enable/disable vlan filtering. Command can take 2 values: VLAN_FLTR_DISABLE 0x00 VLAN_FLTR_ENABLE 0x01
Returns
SystemP_SUCCESS on success, SystemP_FAILURE otherwise

◆ PN_configureUntaggedFrameRx()

int32_t PN_configureUntaggedFrameRx ( PRUICSS_Handle  pruicssHandle,
uint8_t  command 
)

set the VLAN_FLTR_UNTAG_HOST_RCV_CTRL_SHIFT to enable/disable untagged frame host receive

Parameters
pruicssHandleHandle to PRU ICSS instance. Contains pointers to base addresses & offsets
commandinstruction to enable/disable untagged frame host receive. Command can take 2 values: VLAN_FLTR_UNTAG_HOST_RCV_ALL 0x00 VLAN_FLTR_UNTAG_HOST_RCV_NAL 0x01
Returns
SystemP_SUCCESS on success, SystemP_FAILURE otherwise

◆ PN_configurePriorityTaggedFrameRx()

int32_t PN_configurePriorityTaggedFrameRx ( PRUICSS_Handle  pruicssHandle,
uint8_t  command 
)

set the VLAN_FLTR_PRIOTAG_HOST_RCV_CTRL_SHIFT to enable/disable priority frame host receive

Parameters
pruicssHandleHandle to PRU ICSS instance. Contains pointers to base addresses & offsets
commandinstruction to enable/disable priority frame host receive. Command can take 2 values: VLAN_FLTR_PRIOTAG_HOST_RCV_ALL 0x00 VLAN_FLTR_PRIOTAG_HOST_RCV_NAL 0x01
Returns
SystemP_SUCCESS on success, SystemP_FAILURE otherwise

◆ PN_configureVidRx()

int32_t PN_configureVidRx ( PRUICSS_Handle  pruicssHandle,
uint16_t  vid,
uint8_t  command 
)

insert/delete a VID in the VLAN filter table

Parameters
pruicssHandleHandle to PRU ICSS instance. Contains pointers to base addresses & offsets
vidvid to be enabled/disabled in the VLAN filter table
commandinstruction to add or remove VID from the filter table. Command can take 2 values: ADD_VLAN_VID : add VID to filter table (set bit to 0x01, allow packet to host) REM_VLAN_VID : remove VID from filter table (set bit to 0x00, block packet to host)
Returns
SystemP_SUCCESS on success, SystemP_FAILURE otherwise