Hi Chris,
FXOSC is not missing in the header file. It's just called XOSC, not FXOSC. I have no idea why but it's there:
#define XOSC (*(volatile struct XOSC_tag *) 0xFFFB0040UL)
and
/* ============================================================================
=============================== Module: XOSC ===============================
============================================================================ */
typedef union XOSC_CTL_union_tag { /* XOSC Control Register */
vuint32_t R;
struct {
vuint32_t OSCBYP:1;
vuint32_t OSCM:1; /* Crystal Oscillator Mode. */
vuint32_t MON:1;
vuint32_t _unused_3:5;
vuint32_t EOCV:8; /* End of Count Value */
vuint32_t M_OSC:1; /* Crystal oscillator clock interrupt mask */
vuint32_t _unused_17:2;
vuint32_t _unused_19:5;
vuint32_t I_OSC:1;
vuint32_t _unused_25:5;
vuint32_t _unused_30:1;
vuint32_t _unused_31:1;
} B;
} XOSC_CTL_tag;
struct XOSC_tag {
XOSC_CTL_tag CTL; /* XOSC Control Register */
};
There's no register MC_CGM.AC3_SC in the reference manual.
Regards,
Lukas
MON was added and OSCDIV removed.
Thanks for pointing this out, I will report it.
Regards,
Lukas