mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: targets/TARGET_ONSEMI/TARGET_NCS36510/clock_map.h
- Revision:
- 151:5eaa88a5bcc7
- Parent:
- 149:156823d33999
diff -r 02e0a0aed4ec -r 5eaa88a5bcc7 targets/TARGET_ONSEMI/TARGET_NCS36510/clock_map.h --- a/targets/TARGET_ONSEMI/TARGET_NCS36510/clock_map.h Tue Nov 08 17:45:16 2016 +0000 +++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/clock_map.h Thu Nov 24 17:03:03 2016 +0000 @@ -116,8 +116,27 @@ __IO uint32_t WDIV; /**< 0x4001B020 Watchdog clock divider */ __IO uint32_t TRIM_32M_INT; /**< 0x4001B024 32Mhz internal trim */ __IO uint32_t TRIM_32K_INT; /**< 0x4001B02C 32kHz internal trim */ - __IO uint32_t TRIM_32M_EXT; /**< 0x4001B030 32Mhz external trim */ - __IO uint32_t TRIM_32K_EXT; /**< 0x4001B034 32Khz external trim */ + union { + struct { + __IO uint32_t TRIM_VALUE :6; /* External 32MHz Trim Value */ + __IO uint32_t BOOST :2; /* Boost done signal tap control */ + __IO uint32_t READY :2; /* Ready signal tap control */ + __IO uint32_t GAIN_MODE :2; /* Gain Mode */ + __IO uint32_t PAD :20; /* Unused bits */ + } BITS; + __IO uint32_t WORD; + } TRIM_32M_EXT; /**< 0x4001B030 32Mhz external trim */ + + union { + struct { + __IO uint32_t TRIM_VALUE :6; /* External 32MHz Trim Value */ + __IO uint32_t BOOST :2; /* Boost done signal tap control */ + __IO uint32_t READY :2; /* Ready signal tap control */ + __IO uint32_t GAIN_MODE :2; /* Gain Mode */ + __IO uint32_t PAD :20; /* Unused bits */ + } BITS; + __IO uint32_t WORD; + } TRIM_32K_EXT; union { struct { __IO uint32_t OV32M;