Skip to content

Commit a7e86fe

Browse files
haduongquangmanuargue
authored andcommitted
s32: driver: s32ze: pit: patch header to use MCUX driver
Rename the PIT struct from TIMER to CHANNEL so that the MCUX PIT driver can be reused for S32Z. Signed-off-by: Ha Duong Quang <[email protected]>
1 parent f042846 commit a7e86fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s32/drivers/s32ze/BaseNXP/header/S32Z2_PIT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ typedef struct {
8383
__I uint32_t CVAL; /**< Current Timer Value, array offset: 0x104, array step: 0x10, irregular array, not all indices are valid */
8484
__IO uint32_t TCTRL; /**< Timer Control, array offset: 0x108, array step: 0x10, irregular array, not all indices are valid */
8585
__IO uint32_t TFLG; /**< Timer Flag, array offset: 0x10C, array step: 0x10, irregular array, not all indices are valid */
86-
} TIMER[PIT_TIMER_COUNT];
86+
} CHANNEL[PIT_TIMER_COUNT];
8787
} PIT_Type, *PIT_MemMapPtr;
8888

8989
/** Number of instances of the PIT module. */

0 commit comments

Comments
 (0)