Skip to content

Commit 30223f2

Browse files
haduongquangmanuargue
authored andcommitted
s32: drivers: s32ze: update drivers to RTD 2.0.0
Update headers and baremetal drivers device to NXP S32 RTD 2.0.0 Signed-off-by: Ha Duong Quang <[email protected]>
1 parent 7a6f263 commit 30223f2

File tree

321 files changed

+18963
-14955
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

321 files changed

+18963
-14955
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2023 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2.h
10-
* @version 2.1
11-
* @date 2023-07-20
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2
1313
*
1414
* This file contains register definitions and macros for easy access to their
@@ -117,6 +117,7 @@
117117
#include "S32Z2_LLC_CSR.h"
118118
#include "S32Z2_LLC_FSC.h"
119119
#include "S32Z2_LMEM64.h"
120+
#include "S32Z2_LPI2C.h"
120121
#include "S32Z2_LSTCU.h"
121122
#include "S32Z2_LSTCU_14_15_17_18.h"
122123
#include "S32Z2_L_VFCCU.h"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2023 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2_ACCESS_PROTECTION.h
10-
* @version 2.1
11-
* @date 2023-07-20
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2_ACCESS_PROTECTION
1313
*
1414
* This file contains register definitions and macros for easy access to their

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2023 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2_ACE.h
10-
* @version 2.1
11-
* @date 2023-07-20
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2_ACE
1313
*
1414
* This file contains register definitions and macros for easy access to their

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2023 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2_ADC.h
10-
* @version 2.1
11-
* @date 2023-07-20
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2_ADC
1313
*
1414
* This file contains register definitions and macros for easy access to their

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2023 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2_AES_ACCEL.h
10-
* @version 2.1
11-
* @date 2023-07-20
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2_AES_ACCEL
1313
*
1414
* This file contains register definitions and macros for easy access to their
@@ -73,7 +73,7 @@
7373

7474
/** AES_ACCEL - Register Layout Typedef */
7575
typedef struct {
76-
struct { /* offset: 0x0, array step: 0x1000 */
76+
struct AES_ACCEL_ACCEL { /* offset: 0x0, array step: 0x1000 */
7777
__IO uint32_t LEN; /**< LEN, array offset: 0x0, array step: 0x1000 */
7878
__IO uint32_t AILEN; /**< AAD/IV length, array offset: 0x4, array step: 0x1000 */
7979
__IO uint32_t CRYPT; /**< CRYPT, array offset: 0x8, array step: 0x1000 */

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2023 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2_ATP.h
10-
* @version 2.1
11-
* @date 2023-07-20
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2_ATP
1313
*
1414
* This file contains register definitions and macros for easy access to their

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2023 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2_AXBS.h
10-
* @version 2.1
11-
* @date 2023-07-20
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2_AXBS
1313
*
1414
* This file contains register definitions and macros for easy access to their
@@ -73,7 +73,7 @@
7373

7474
/** AXBS - Register Layout Typedef */
7575
typedef struct {
76-
struct { /* offset: 0x0, array step: 0x100 */
76+
struct AXBS_PORT { /* offset: 0x0, array step: 0x100 */
7777
__IO uint32_t PRS; /**< Priority Slave Registers, array offset: 0x0, array step: 0x100, irregular array, not all indices are valid */
7878
uint8_t RESERVED_0[12];
7979
__IO uint32_t CRS; /**< Control Register, array offset: 0x10, array step: 0x100, irregular array, not all indices are valid */

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2023 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2_Boot.h
10-
* @version 2.1
11-
* @date 2023-07-20
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2_Boot
1313
*
1414
* This file contains register definitions and macros for easy access to their

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

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2022 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2_CANXL_DSC_CONTROL.h
10-
* @version 1.8
11-
* @date 2022-07-13
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2_CANXL_DSC_CONTROL
1313
*
1414
* This file contains register definitions and macros for easy access to their
@@ -73,20 +73,12 @@
7373

7474
/** CANXL_DSC_CONTROL - Register Layout Typedef */
7575
typedef struct {
76-
struct { /* offset: 0x0, array step: 0x20 */
77-
union { /* offset: 0x0, array step: 0x20 */
78-
__I uint32_t DCSTA; /**< Descriptor Control Status, array offset: 0x0, array step: 0x20 */
79-
} STA;
80-
union { /* offset: 0x4, array step: 0x20 */
81-
__IO uint32_t DCSYSPUSH; /**< Descriptor Control System Push, array offset: 0x4, array step: 0x20 */
82-
} PUSHPOP;
83-
union { /* offset: 0x8, array step: 0x20 */
84-
__IO uint32_t DCSYSLOCK; /**< Descriptor Control System Lock, array offset: 0x8, array step: 0x20 */
85-
} SYSLOCK;
76+
struct CANXL_DSC_CONTROL_DSCMBCTRLAR { /* offset: 0x0, array step: 0x20 */
77+
__I uint32_t DCSTA; /**< Descriptor Control Status, array offset: 0x0, array step: 0x20 */
78+
__IO uint32_t DCSYSPUSH; /**< Descriptor Control System Push, array offset: 0x4, array step: 0x20 */
79+
__IO uint32_t DCSYSLOCK; /**< Descriptor Control System Lock, array offset: 0x8, array step: 0x20 */
8680
uint8_t RESERVED_0[8];
87-
union { /* offset: 0x14, array step: 0x20 */
88-
__IO uint32_t DCACT; /**< Descriptor Control Activation, array offset: 0x14, array step: 0x20 */
89-
} ACT;
81+
__IO uint32_t DCACT; /**< Descriptor Control Activation, array offset: 0x14, array step: 0x20 */
9082
uint8_t RESERVED_1[8];
9183
} DSCMBCTRLAR[CANXL_DSC_CONTROL_DSCMBCTRLAR_COUNT];
9284
} CANXL_DSC_CONTROL_Type, *CANXL_DSC_CONTROL_MemMapPtr;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 1997-2016 Freescale Semiconductor, Inc.
3-
* Copyright 2016-2022 NXP
3+
* Copyright 2016-2024 NXP
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
77

88
/*!
99
* @file S32Z2_CANXL_FILTER_BANK.h
10-
* @version 1.8
11-
* @date 2022-07-13
10+
* @version 2.3
11+
* @date 2024-05-03
1212
* @brief Peripheral Access Layer for S32Z2_CANXL_FILTER_BANK
1313
*
1414
* This file contains register definitions and macros for easy access to their

0 commit comments

Comments
 (0)