MPC5746C.h v6.0.0 missing FXOSC and MC_CGM.AC3_SC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5746C.h v6.0.0 missing FXOSC and MC_CGM.AC3_SC

1,145件の閲覧回数
cholland
Contributor V

I copied FXOSC and MC_CGM.AC3_SC from version 4.0.0.

I'm not sure if I added them or they were already in 4.0.0.

I believe they should be there.

ラベル(1)
タグ(1)
3 返答(返信)

1,062件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

1,062件の閲覧回数
cholland
Contributor V

 MON was added and OSCDIV removed.

pastedImage_1.png

0 件の賞賛
返信

1,062件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Thanks for pointing this out, I will report it.

Regards,

Lukas

0 件の賞賛
返信