mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-24 07:13:45 +03:00
[sam] fixing last stupid commit
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
/* %ATMEL_LICENCE% */
|
||||
/* $asf_license$ */
|
||||
|
||||
#ifndef _SAM3S8_CHIPID_INSTANCE_
|
||||
#define _SAM3S8_CHIPID_INSTANCE_
|
||||
|
||||
/* ========== Register definition for CHIPID peripheral ========== */
|
||||
#define REG_CHIPID_CIDR REG_ACCESS(RoReg, 0x400E0740U) /**< \brief (CHIPID) Chip ID Register */
|
||||
#define REG_CHIPID_EXID REG_ACCESS(RoReg, 0x400E0744U) /**< \brief (CHIPID) Chip ID Extension Register */
|
||||
#ifdef __ASSEMBLY__
|
||||
#define REG_CHIPID_CIDR (0x400E0740U) /**< \brief (CHIPID) Chip ID Register */
|
||||
#define REG_CHIPID_EXID (0x400E0744U) /**< \brief (CHIPID) Chip ID Extension Register */
|
||||
#else
|
||||
#define REG_CHIPID_CIDR (*(RoReg*)0x400E0740U) /**< \brief (CHIPID) Chip ID Register */
|
||||
#define REG_CHIPID_EXID (*(RoReg*)0x400E0744U) /**< \brief (CHIPID) Chip ID Extension Register */
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
#endif /* _SAM3S8_CHIPID_INSTANCE_ */
|
||||
|
||||
Reference in New Issue
Block a user