HPM SDK
HPMicro Software Development Kit
rx_hdr_desc_t Struct Reference

TSW RX header descriptor structure. More...

#include <hpm_tsw_drv.h>

Data Fields

union {
   uint32_t   rx_hdr0
 
   struct {
      uint32_t   src_port: 8
 
      uint32_t   queue: 3
 
      uint32_t   utag: 3
 
      uint32_t   fpe: 1
 
      uint32_t   htype: 4
 
   }   rx_hdr0_bm
 
}; 
 
union {
   uint32_t   rx_hdr1
 
   struct {
      uint32_t   cb: 32
 
   }   rx_hdr1_bm
 
}; 
 
uint32_t timestamp_lo
 
uint32_t timestamp_hi
 

Detailed Description

TSW RX header descriptor structure.

Field Documentation

◆ 

union { ... }

◆ 

union { ... }

◆ cb

uint32_t rx_hdr_desc_t::cb

CB field.

◆ fpe

uint32_t rx_hdr_desc_t::fpe

indicates that a frame comes from preemptible stream

◆ htype

uint32_t rx_hdr_desc_t::htype

header type

◆ queue

uint32_t rx_hdr_desc_t::queue

no effect on the CPU RX port

◆ rx_hdr0

uint32_t rx_hdr_desc_t::rx_hdr0

◆ 

struct { ... } rx_hdr_desc_t::rx_hdr0_bm

◆ rx_hdr1

uint32_t rx_hdr_desc_t::rx_hdr1

◆ 

struct { ... } rx_hdr_desc_t::rx_hdr1_bm

◆ src_port

uint32_t rx_hdr_desc_t::src_port

source port

◆ timestamp_hi

uint32_t rx_hdr_desc_t::timestamp_hi

RX Timestamp second part

◆ timestamp_lo

uint32_t rx_hdr_desc_t::timestamp_lo

RX Timestamp nanosecond part

◆ utag

uint32_t rx_hdr_desc_t::utag

TSW-EP RX user sideband information


The documentation for this struct was generated from the following file: