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

📄 gpif.c

📁 CY7C68013的GPIF burst源程序
💻 C
📖 第 1 页 / 共 2 页
字号:
// This program configures the General Programmable Interface (GPIF) for FX2.              
// Parts of this program are automatically generated using the GPIFTool.                  
// Please do not modify sections of text which are marked as "DO NOT EDIT ...".            
// You can modify the comments section of this GPIF program file using the dropdown menus  
// and pop-up dialogs. These controls are available as hot spots in the text. Modifying the
// comments section will generate program code which will implement your GPIF program.     
//                                                                                         
// DO NOT EDIT ...                                                                         
// GPIF Initialization                                                                     
// Interface Timing      Async                                                             
// Internal Ready Init   IntRdy=0                                                          
// CTL Out Tristate-able Binary                                                            
// SingleWrite WF Select     0                                                             
// SingleRead WF Select      1                                                             
// FifoWrite WF Select       2                                                             
// FifoRead WF Select        3                                                             
// Data Bus Idle Drive   Tristate                                                          
// END DO NOT EDIT                                                                         
                                                                                           
// DO NOT EDIT ...                                                                         
// GPIF Wave Names                                                                         
// Wave 0   = Single_W                                                                     
// Wave 1   = Single_R                                                                     
// Wave 2   = Burst_W                                                                      
// Wave 3   = Burst_R                                                                      
                                                                                           
// GPIF Ctrl Outputs   Level                                                               
// CTL 0    = TRIG_RD  CMOS                                                                
// CTL 1    = TRIG_WR  CMOS                                                                
// CTL 2    = UNUSED2  CMOS                                                                
// CTL 3    = UNUSED3  CMOS                                                                
// CTL 4    = UNUSED4  CMOS                                                                
// CTL 5    = UNUSED5  CMOS                                                                
                                                                                           
// GPIF Rdy Inputs                                                                         
// RDY0     = Unused0                                                                      
// RDY1     = Unused1                                                                      
// RDY2     = Unused3                                                                      
// RDY3     = Unused3                                                                      
// RDY4     = Unused4                                                                      
// RDY5     = Unused5                                                                      
// FIFOFlag = FIFOFlag                                                                     
// IntReady = IntReady                                                                     
// END DO NOT EDIT                                                                         
// DO NOT EDIT ...                                                                         
//                                                                                         
// GPIF Waveform 0: Single_W                                                               
//                                                                                         
// Interval     0         1         2         3         4         5         6     Idle (7) 
//          _________ _________ _________ _________ _________ _________ _________ _________
//                                                                                         
// AddrMode Same Val  Same Val  Same Val  Inc Val   Same Val  Same Val  Same Val           
// DataMode NO Data   Activate  Activate  Activate  NO Data   NO Data   NO Data            
// NextData SameData  SameData  SameData  SameData  SameData  SameData  SameData           
// Int Trig No Int    No Int    No Int    No Int    No Int    No Int    Trig Int           
// IF/Wait  Wait 1    Wait 2    Wait 3    IF        Wait 4    Wait 4    Wait 4             
//   Term A                               Unused3                                          
//   LFunc                                AND                                              
//   Term B                               Unused3                                          
// Branch1                                ThenIdle                                         
// Branch0                                ElseIdle                                         
// Re-Exec                                No                                               
// Sngl/CRC Default   Default   Default   Default   Default   Default   Default            
// TRIG_RD      1         1         1         1         1         1         1         0    
// TRIG_WR      1         0         0         1         1         1         1         0    
// UNUSED2      1         1         1         1         1         1         1         0    
// UNUSED3      1         1         1         1         1         1         1         0    
// UNUSED4      1         1         1         1         1         1         1         0    
// UNUSED5      1         1         1         1         1         1         1         0    
//                                                                                         
// END DO NOT EDIT                                                                         
// DO NOT EDIT ...                                                                         
//                                                                                         
// GPIF Waveform 1: Single_R                                                               
//                                                                                         
// Interval     0         1         2         3         4         5         6     Idle (7) 
//          _________ _________ _________ _________ _________ _________ _________ _________
//                                                                                         
// AddrMode Inc Val   Same Val  Same Val  Same Val  Same Val  Same Val  Same Val           
// DataMode NO Data   Activate  NO Data   NO Data   NO Data   NO Data   NO Data            
// NextData SameData  SameData  SameData  SameData  SameData  SameData  SameData           
// Int Trig No Int    No Int    No Int    No Int    No Int    No Int    Trig Int           
// IF/Wait  Wait 1    Wait 2    Wait 3    IF        Wait 4    Wait 4    Wait 4             
//   Term A                               Unused3                                          
//   LFunc                                AND                                              
//   Term B                               Unused3                                          
// Branch1                                ThenIdle                                         
// Branch0                                ElseIdle                                         
// Re-Exec                                No                                               
// Sngl/CRC Default   Default   Default   Default   Default   Default   Default            
// TRIG_RD      1         0         0         1         1         1         1         0    
// TRIG_WR      1         1         1         1         1         1         1         0    
// UNUSED2      1         1         1         1         1         1         1         0    
// UNUSED3      1         1         1         1         1         1         1         0    
// UNUSED4      1         1         1         1         1         1         1         0    
// UNUSED5      1         1         1         1         1         1         1         0    
//                                                                                         
// END DO NOT EDIT                                                                         
// DO NOT EDIT ...                                                                         
//                                                                                         
// GPIF Waveform 2: Burst_W                                                                
//                                                                                         
// Interval     0         1         2         3         4         5         6     Idle (7) 
//          _________ _________ _________ _________ _________ _________ _________ _________
//                                                                                         
// AddrMode Same Val  Same Val  Same Val  Inc Val   Same Val  Same Val  Same Val           
// DataMode Activate  Activate  Activate  NO Data   NO Data   NO Data   NO Data            
// NextData SameData  SameData  SameData  NextData  SameData  SameData  SameData           
// Int Trig No Int    No Int    No Int    No Int    No Int    No Int    No Int             
// IF/Wait  Wait 4    Wait 3    Wait 1    IF        Wait 32   Wait 32   Wait 32            
//   Term A                               Unused3                                          
//   LFunc                                AND                                              
//   Term B                               Unused3                                          
// Branch1                                ThenIdle                                         
// Branch0                                ElseIdle                                         
// Re-Exec                                No                                               
// Sngl/CRC Default   Default   Default   Default   Default   Default   Default            
// TRIG_RD      1         1         1         1         1         1         1         0    
// TRIG_WR      1         0         0         1         1         1         1         0    
// UNUSED2      1         1         1         1         1         1         1         0    
// UNUSED3      1         1         1         1         1         1         1         0    
// UNUSED4      1         1         1         1         1         1         1         0    
// UNUSED5      1         1         1         1         1         1         1         0    
//                                                                                         
// END DO NOT EDIT                                                                         
// DO NOT EDIT ...                                                                         
//                                                                                         
// GPIF Waveform 3: Burst_R                                                                
//                                                                                         
// Interval     0         1         2         3         4         5         6     Idle (7) 
//          _________ _________ _________ _________ _________ _________ _________ _________
//                                                                                         
// AddrMode Same Val  Same Val  Same Val  Inc Val   Same Val  Same Val  Same Val           
// DataMode NO Data   Activate  NO Data   NO Data   NO Data   NO Data   NO Data            
// NextData SameData  SameData  NextData  SameData  SameData  SameData  SameData           
// Int Trig No Int    No Int    No Int    No Int    No Int    No Int    No Int             
// IF/Wait  Wait 4    Wait 3    Wait 2    IF        Wait 32   Wait 32   Wait 32            
//   Term A                               Unused3                                          
//   LFunc                                AND                                              
//   Term B                               Unused3                                          
// Branch1                                ThenIdle                                         
// Branch0                                ElseIdle                                         
// Re-Exec                                No                                               
// Sngl/CRC Default   Default   Default   Default   Default   Default   Default            
// TRIG_RD      1         0         0         1         1         1         1         0    

⌨️ 快捷键说明

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