本内容提供了基于Cypress CY3655开发工具的USB鼠标程序

MOV  REG[XOSCTR], XOSC_XGM_JUST        ; Set the external OSC XGM

    OR   REG[CLKIOCR], (XOSC_ENABLE_JUST | EFTB_JUST | CLOCK_OUT_JUST)

    ; If the external oscillator has been selected, wait for it to stabilize

    ;   then select it

    M8C_SetBank1

    AND  REG[OSC_CR0], ~OSC_CR0_SLEEP