⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 start_v2.lst

📁 ucos-II 在英飞凌xc164的移植
💻 LST
📖 第 1 页 / 共 5 页
字号:
                          478     ; <q> BYTDIS: Disable BHE pin (EBCMOD0.12)
 0000                     479     _BYTDIS     EQU    0    ; 0 = BHE enabled
                          480                             ; 1 = BHE disabled (GPIO function if implemented)
                          481     ;
                          482     ; <q> ALEDIS: Disable ALE pin (EBCMOD0.13)
 0000                     483     _ALEDIS     EQU    0    ; 0 = ALE pin enabled
                          484                             ; 1 = ALE pin disabled (GPIO function if implemented)
                          485     ;
                          486     ; <q> RDYDIS: Disable READY pin (EBCMOD0.14)
 0000                     487     _RDYDIS     EQU    0    ; 0 = READY enabled
                          488                             ; 1 = READY disabled (GPIO function if implemented)
                          489     ;
                          490     ; <o> RDYPOL: READY pin polarity (EBCMOD0.15)
                          491     ; <0=> Active Low  <1=> Active High
 0000                     492     _RDYPOL     EQU    0    ; 0 = READY pin is active low
                          493                             ; 1 = READY pin is active high
                          494     ;
                          495     ;</h>
                          496     ;
                          497     ; <h>Definitions for EBC Mode 1 register EBCMOD1
                          498     ; ==============================================
                          499     ;
                          500     ; <o> APDIS: Address Port Pins Disable (EBCMOD1.0 .. EBCMOD1.3) <0-15>
 0000                     501     _APDIS     EQU    0     ; 0  = Address bus pins 15-1 of PORT1 enabled
                          502                             ; 1  = Pin A15 disabled, A14-1 enabled
                          503                             ; 2  = Pin A15-A14 disabled, A13-1 enabled
                          504                             ; ...
                          505                             ; 15 = Pins A15-A1 disabled
                          506     ;
                          507     ; <q> A0PDIS: Address Bit 0 Pin Disable (EBCMOD1.4)
 0000                     508     _A0PDIS    EQU    0     ; 0 = Address bus pin 0 of PORT1 enabled
                          509                             ; 1 = Address bus pin 0 of PORT1 enabled
                          510     ;
                          511     ; <q> ALPDIS: Address Low Pins Disable (EBCMOD1.5)
 0000                     512     _ALPDIS    EQU    0     ; 0 = Address bus pin 7-0 generally enabled
                          513                             ; 1 = Address bus pin 7-0 of PORT1 disabled
                          514     ;
                          515     ; <q> DHPDIS: Data High Port Pins Disable (EBCMOD1.6)
 0000                     516     _DHPDIS    EQU    0     ; 0 = Data bus pins 15-8 of PORT0 enabled
A166 MACRO ASSEMBLER  START_V2                                                            08/31/2006 11:40:34 PAGE     9

                          517                             ; 1 = Data bus pins 15-8 disabled (used as GPIO)
                          518     ;
                          519     ; <q> WRPDIS: WR/WRL Pin Disable (EBCMOD1.7)
 0000                     520     _WRPDIS    EQU    0     ; 0 = WR/WRL pin of Port P20 enabled
                          521                             ; 1 = WR/WRL pin of Port P20 disabled
                          522     ;
                          523     ;</h></e>
                          524     ;
                          525     ; <e> Configure External Bus Behaviour for CS0 area
                          526     ; =================================================
                          527     ;
                          528     ; --- Set CONFIG_CS0 = 1 to initialize the FCONCS0/TCONCS0 registers
                          529     $SET (CONFIG_CS0 = 1)
                          530     ;
                          531     ; <h>Definitions for Function Configuration Register FCONCS0
                          532     ; =======================================================
                          533     ;
                          534     ; <q> ENCS0: Enable Chip Select (FCONCS0.0)
 0001                     535     _ENCS0     EQU    1     ; 0 = Chip Select 0 disabled
                          536                             ; 1 = Chip Select 0 enabled
                          537     ;
                          538     ; <q> RDYEN0: Ready Enable (FCONCS0.1)
 0000                     539     _RDYEN0    EQU    0     ; 0 = Access time controlled by TCONCS0.PHE0
                          540                             ; 1 = Access time cont. by TCONCS0.PHE0 and READY signal
                          541     ;
                          542     ; <o> RDYMOD0: Ready Mode (FCONCS0.2) 
                          543     ; <0=> Asynchronous  <1=> Synchronous
 0000                     544     _RDYMOD0   EQU    0     ; 0 = Asynchronous READY
                          545                             ; 1 = Synchronous READY
                          546     ;
                          547     ; <o> BTYP0: Bus Type Selection (FCONCS0.4 .. FCONCS0.5)
                          548     ; <0=> 8-bit Demultiplexed Bus  <1=> 8-bit Multiplexed Bus
                          549     ; <2=> 16-bit Demultiplexed Bus <3=> 16-bit Multiplexed Bus
 0002                     550     _BTYP0     EQU    2     ; 0 = 8 bit Demultiplexed bus
                          551                             ; 1 = 8 bit Multiplexed bus
                          552                             ; 2 = 16 bit Demultiplexed bus
                          553                             ; 3 = 16 bit Multiplexed bus
                          554     ; </h>
                          555     ;
                          556     ; <h> TCONCS0: Definitions for the Timing Configuration register 
                          557     ; ==============================================================
                          558     ;
                          559     ; <o> PHA0: Phase A clock cycles (TCONCS0.0 .. TCONCS0.1) <0-3>
 0000                     560     _PHA0       EQU    0    ; 0 = 0 clock cycles
                          561                             ; : = : 
                          562                             ; 3 = 3 clock cycles
                          563     ;
                          564     ; <o> PHB0: Phase B clock cycles (TCONCS0.2) <1-2> <#-1>
 0000                     565     _PHB0       EQU    0    ; 0 = 1 clock cycle
                          566                             ; 1 = 2 clock cycles
                          567     ;
                          568     ; <o> PHC0: Phase C clock cycles (TCONCS0.3 .. TCONCS0.4) <0-3>
 0000                     569     _PHC0       EQU    0    ; 0 = 0 clock cycles
                          570                             ; : = :
                          571                             ; 3 = 3 clock cycles
                          572     ;
                          573     ; <o> PHD0: Phase D clock cycle (TCONCS0.5) <0-1>
 0000                     574     _PHD0       EQU    0    ; 0 = 0 clock cycles
                          575                             ; 1 = 1 clock cycle
                          576     ;
                          577     ; <o> PHE0: Phase E clock cycles (TCONCS0.6 .. TCONCS0.10) <1-32> <#-1>
 0008                     578     _PHE0       EQU    8    ; 0 = 1 clock cycle
                          579                             ; : = :
                          580                             ; 31 = 32 clock cycles
                          581     ;
                          582     ; <o> RDPHF0: Phase F read clock cycles (TCONCS0.11 .. TCONCS0.12) <0-3>
A166 MACRO ASSEMBLER  START_V2                                                            08/31/2006 11:40:34 PAGE    10

 0000                     583     _RDPHF0     EQU    0    ; 0 = 0 clock cycles
                          584                             ; : = :
                          585                             ; 3 = 3 clock cycles
                          586     ;
                          587     ; <o> WRPHF0: Phase F write clock cycles (TCONCS0.13 .. TCONCS0.14) <0-3>
 0003                     588     _WRPHF0     EQU    3    ; 0 = 0 clock cycles
                          589                             ; : = :
                          590                             ; 3 = 3 clock cycles
                          591     ;</h> </e>
                          592     ;
                          593     ; <e> Configure External Bus Behaviour for CS1 Area
                          594     ; =================================================
                          595     ;
                          596     ; --- Set CONFIG_CS1 = 1 to initialize the ADDRSEL1/FCONCS1/TCONCS1 registers
                          597     $SET (CONFIG_CS1 = 0)
                          598     ;
                          599     ; <h>Definitions for Address Select register ADDRSEL1
                          600     ; ===================================================
                          601     ; <o> CS1 Start Address   <0x0-0xFFFFFF:0x1000>
 00100000                 602     _ADDR1      EQU 0x100000     ; Set CS1# Start Address (default 100000H)
                          603     
                          604     ; <o> CS1 Size in KB      
                          605     ; <4=>    4KB      <8=>    8KB      <16=>   16KB     <32=>   32KB   
                          606     ; <64=>   64KB     <128=>  128KB    <256=>  256KB    <512=>  512KB
                          607     ; <1024=> 1024KB   <2048=> 2048KB   <4096=> 4096KB   <8192=> 8192KB
 00100000                 608     _SIZE1      EQU 1024*KB         ; Set CS1# Size (default 1024*KB = 1*MB)
                          609                                  ; possible values for _SIZE1 are:
                          610                                  ;    4*KB            (gives RGSZ1 = 0)
                          611                                  ;    8*KB            (gives RGSZ1 = 1)
                          612                                  ;   16*KB            (gives RGSZ1 = 2)
                          613                                  ;   32*KB            (gives RGSZ1 = 3)
                          614                                  ;   64*KB            (gives RGSZ1 = 4)
                          615                                  ;  128*KB            (gives RGSZ1 = 5)
                          616                                  ;  256*KB            (gives RGSZ1 = 6)
                          617                                  ;  512*KB            (gives RGSZ1 = 7)
                          618                                  ; 1024*KB  or  1*MB  (gives RGSZ1 = 8)
                          619                                  ; 2048*KB  or  2*MB  (gives RGSZ1 = 9)
                          620                                  ; 4096*KB  or  4*MB  (gives RGSZ1 = 10)
                          621                                  ; 8192*KB  or  8*MB  (gives RGSZ1 = 11)
                          622                                  ;                    (RGSZ1 = 12 .. 15 reserved)
                          623     ;</h>
                          624     ;
                          625     ; <h>Definitions for Function Configuration Register FCONCS1
                          626     ; =======================================================
                          627     ;
                          628     ; <q> ENCS1: Enable Chip Select (FCONCS1.0)
 0001                     629     _ENCS1     EQU    1     ; 0 = Chip Select 0 disabled
                          630                             ; 1 = Chip Select 0 enabled
                          631     ;
                          632     ; <q> RDYEN1: Ready Enable (FCONCS1.1)
 0000                     633     _RDYEN1    EQU    0     ; 0 = Access time controlled by TCONCS1.PHE1
                          634                             ; 1 = Access time cont. by TCONCS1.PHE1 and READY signal
                          635     ;
                          636     ; <o> RDYMOD1: Ready Mode (FCONCS1.2)
                          637     ; <0=> Asynchronous  <1=> Synchronous
 0000                     638     _RDYMOD1   EQU    0     ; 0 = Asynchronous READY
                          639                             ; 1 = Synchronous READY
                          640     ;
                          641     ; <o> BTYP1: Bus Type Selection (FCONCS1.4 .. FCONCS1.5)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -