PDL for FM0+  Version1.0
Peripheral Driverl Library for FM0+
C:/pdl_v10/library/driver/uid/uid.h File Reference
#include "mcu.h"
#include "pdl_user.h"
Include dependency graph for uid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  stc_unique_id
 PDL structure of Unique ID register set. More...

Typedefs

typedef struct stc_unique_id stc_unique_id_t
 PDL structure of Unique ID register set.

Functions

en_result_t Uid_ReadUniqueId (stc_unique_id_t *pstcUniqueId)
 Read Unique ID registers as is.
uint32_t Uid_ReadUniqueId0 (void)
 Read Unique ID registers 0 and shifts it by 4 (LSB aligned)
uint32_t Uid_ReadUniqueId1 (void)
 Read Unique ID registers 1 and masks the upper 19 bits to '0'.
uint64_t Uid_ReadUniqueId64 (void)
 Read Unique ID registers 0 and 1 and merge it LSB aligned to a 64 bit value.

Detailed Description

Headerfile for unique ID functions

History:

  • 2014-02-06 1.0 Edison Zhang First version.

Definition in file uid.h.