forked from espressif/esp-idf
fix(dma): fix s3 dma reg spell error
This commit is contained in:
@@ -338,7 +338,7 @@ static inline uint32_t gdma_ll_rx_get_prefetched_desc_addr(gdma_dev_t *dev, uint
|
|||||||
*/
|
*/
|
||||||
static inline void gdma_ll_rx_set_weight(gdma_dev_t *dev, uint32_t channel, uint32_t weight)
|
static inline void gdma_ll_rx_set_weight(gdma_dev_t *dev, uint32_t channel, uint32_t weight)
|
||||||
{
|
{
|
||||||
dev->channel[channel].in.wight.rx_weight = weight;
|
dev->channel[channel].in.weight.rx_weight = weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -597,7 +597,7 @@ static inline uint32_t gdma_ll_tx_get_prefetched_desc_addr(gdma_dev_t *dev, uint
|
|||||||
*/
|
*/
|
||||||
static inline void gdma_ll_tx_set_weight(gdma_dev_t *dev, uint32_t channel, uint32_t weight)
|
static inline void gdma_ll_tx_set_weight(gdma_dev_t *dev, uint32_t channel, uint32_t weight)
|
||||||
{
|
{
|
||||||
dev->channel[channel].out.wight.tx_weight = weight;
|
dev->channel[channel].out.weight.tx_weight = weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -161,7 +161,7 @@ typedef volatile struct gdma_dev_s {
|
|||||||
uint32_t reserved12 : 20;
|
uint32_t reserved12 : 20;
|
||||||
};
|
};
|
||||||
uint32_t val;
|
uint32_t val;
|
||||||
} wight;
|
} weight;
|
||||||
uint32_t reserved_40;
|
uint32_t reserved_40;
|
||||||
union {
|
union {
|
||||||
struct {
|
struct {
|
||||||
@@ -321,7 +321,7 @@ typedef volatile struct gdma_dev_s {
|
|||||||
uint32_t reserved12 : 20;
|
uint32_t reserved12 : 20;
|
||||||
};
|
};
|
||||||
uint32_t val;
|
uint32_t val;
|
||||||
} wight;
|
} weight;
|
||||||
uint32_t reserved_a0;
|
uint32_t reserved_a0;
|
||||||
union {
|
union {
|
||||||
struct {
|
struct {
|
||||||
|
Reference in New Issue
Block a user