?? sysasm.s
字號:
;=============================================================================; ; FILE: sysasm.s ; ; DESCRIPTION: VeriSuite Syscon driver assembly helper functions.; ; DATE: 03/04/2002; ; Copyright(c) Cirrus Logic Corporation, All Rights Reserved ;;=============================================================================;==============================================================================; EXPORTED Functions.;============================================================================== EXPORT SetAsyncMode EXPORT SetSynchMode EXPORT SetFastBusMode;==============================================================================; Read-only code area.;============================================================================== AREA |Assembly$$Code|, CODE, READONLY;------------------------------------------------------------------------------; SetAsyncMode;------------------------------------------------------------------------------; Enter asynchronous mode;------------------------------------------------------------------------------SetAsyncMode ; ; Set clocking mode to Asynchronous ; mrc p15, 0, r0, c1, c0, 0 orr r0, r0, #0xc0000000 mcr p15, 0, r0, c1, c0, 0 mov pc, lr ;------------------------------------------------------------------------------; SetSynchMode;------------------------------------------------------------------------------; Enter synchronous mode;------------------------------------------------------------------------------SetSynchMode ; ; Set the clocking mode to Sychronous ; mrc p15, 0, r0, c1, c0, 0 bic r0, r0, #0xc0000000 orr r0, r0, #0x40000000 mcr p15, 0, r0, c1, c0, 0 mov pc, lr ;------------------------------------------------------------------------------;;------------------------------------------------------------------------------; Enter asynchronous mode;------------------------------------------------------------------------------SetFastBusMode ; ; Se the clocking mode to fast bus. ; mrc p15, 0, r0, c1, c0, 0 bic r0, r0, #0xc0000000 mcr p15, 0, r0, c1, c0, 0 mov pc, lr END
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -