Skip to content

Commit

Permalink
s32: driver: s32ze: dma: patch header to use MCUX driver
Browse files Browse the repository at this point in the history
Rename the DMAMUX_Type member CHCONF to CHCFG so that
the MCUX DMA driver can be reused for S32Z.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
  • Loading branch information
haduongquang committed Sep 18, 2024
1 parent 647b5b7 commit 1185836
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions s32/README
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ Patch List for S32Z/E:
- Clear the EOC flag before Adc_Sar_CheckAndCallEocNotification() is called to avoid the
race condition that prevents the next end of conversion callback to be executed, when
a conversion is started inside the previous end of conversion completed callback.
- Rename the DMAMUX_Type member CHCONF to CHCFG so that the MCUX DMA driver can be reused
for S32Z.
2 changes: 1 addition & 1 deletion s32/drivers/s32ze/BaseNXP/header/S32Z2_DMAMUX.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

/** DMAMUX - Register Layout Typedef */
typedef struct {
__IO uint8_t CHCONF[DMAMUX_CHCFG_COUNT]; /**< Channel Configuration, array offset: 0x0, array step: 0x1, irregular array, not all indices are valid */
__IO uint8_t CHCFG[DMAMUX_CHCFG_COUNT]; /**< Channel Configuration, array offset: 0x0, array step: 0x1, irregular array, not all indices are valid */
} DMAMUX_Type, *DMAMUX_MemMapPtr;

/** Number of instances of the DMAMUX module. */
Expand Down

0 comments on commit 1185836

Please sign in to comment.