新手上路
- 积分
- 35
- 金钱
- 35
- 注册时间
- 2018-6-9
- 在线时间
- 1 小时
|
SEMC_Init(SEMC,&semc_configure); -------->
/* Configure Queue 0/1 for AXI bus. */
if (configure->queueWeight.queueaWeight)
{
base->BMCR0 = (uint32_t)(configure->queueWeight.queueaWeight);
}
if (configure->queueWeight.queuebWeight)
{
base->BMCR1 = (uint32_t)(configure->queueWeight.queuebWeight);
}
寄存器BMCR0/BMCR1中几个字段的作用是什么(红色字体)?谢谢
/*! @brief SEMC AXI queue a weight setting. */
typedef struct _semc_queuea_weight
{
uint32_t qos : 4; /*!< weight of qos for queue 0 . */
uint32_t aging : 4; /*!< weight of aging for queue 0.*/
uint32_t slaveHitSwith : 8; /*!< weight of read/write switch for queue 0.*/
uint32_t slaveHitNoswitch : 8; /*!< weight of read/write no switch for queue 0 .*/
} semc_queuea_weight_t;
/*! @brief SEMC AXI queue b weight setting. */
typedef struct _semc_queueb_weight
{
uint32_t qos : 4; /*!< weight of qos for queue 1. */
uint32_t aging : 4; /*!< weight of aging for queue 1.*/
uint32_t slaveHitSwith : 8; /*!< weight of read/write switch for queue 1.*/
uint32_t weightPagehit : 8; /*!< weight of page hit for queue 1 only .*/
uint32_t bankRotation : 8; /*!< weight of bank rotation for queue 1 only .*/
} semc_queueb_weight_t;
|
|