Skip to content

Commit

Permalink
remove redef from 655 mxc_sys.h
Browse files Browse the repository at this point in the history
  • Loading branch information
EricB-ADI committed Oct 25, 2024
1 parent 1665ad7 commit f8d3088
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions Libraries/PeriphDrivers/Include/MAX32655/mxc_sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,6 @@ typedef enum {
MXC_SYS_CLOCK_DIV_128 = MXC_S_GCR_CLKCTRL_SYSCLK_DIV_DIV128
} mxc_sys_system_clock_div_t;

typedef enum {
MXC_SYS_PKG_TQFN = 1,
MXC_SYS_PKG_BGA = 2,
MXC_SYS_PKG_WLP = 3,
MXC_SYS_PKG_UNSET = 0xff
} mxc_sys_package_type_t;

typedef struct {
uint8_t day, month, year;
} mxc_sys_date_t;

#define MXC_SYS_USN_CHECKSUM_LEN 16 // Length of the USN + padding for checksum compute
#define MXC_SYS_USN_CSUM_FIELD_LEN 2 // Size of the checksum field in the USN
#define MXC_SYS_USN_LEN 13 // Size of the USN including the checksum
Expand Down Expand Up @@ -310,9 +299,7 @@ static inline int MXC_SYS_In_Crit_Section(void)
* @returns E_NO_ERROR if everything is successful.
*/
int MXC_SYS_GetUSN(uint8_t *usn, uint8_t *checksum);
mxc_sys_package_type_t MXC_SYS_GetPackageType(void);
int MXC_SYS_SetPackageType(mxc_sys_package_type_t new_pkg_type);
int MXC_SYS_GetTestDate(mxc_sys_date_t *date_info);

/**
* @brief Gets design revision of the chip.
*
Expand Down

0 comments on commit f8d3088

Please sign in to comment.