User Tools

Site Tools


acsim_mios_h

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
acsim_mios_h [2007/01/21 21:29]
audiocommander added INTCONbits & Merger (used for MIDI-Clock-Project)
acsim_mios_h [2007/01/26 22:46]
audiocommander
Line 3: Line 3:
 [[acsim_console_h|ACSim_console.h]]\\ [[acsim_console_h|ACSim_console.h]]\\
 [[acsim_console_c|ACSim_console.c]]\\ [[acsim_console_c|ACSim_console.c]]\\
- 
-[[acsim_toolbox_h|ACSim_toolbox.h]]\\ 
-[[acsim_toolbox_c|ACSim_toolbox.c]]\\ 
  
 **[[acsim_mios_h|ACSim_mios.h]]**\\ **[[acsim_mios_h|ACSim_mios.h]]**\\
 [[acsim_mios_c|ACSim_mios.c]]\\ [[acsim_mios_c|ACSim_mios.c]]\\
 +
 +[[acsim_toolbox_h|ACSim_toolbox.h]]\\
 +[[acsim_toolbox_c|ACSim_toolbox.c]]\\
 +[[acmididefines|ACMidiDefines.h]]\\
  
 \\ \\
Line 14: Line 15:
 /* /*
  ​* ​ ACSim_mios.h  ​* ​ ACSim_mios.h
- ​* ​ v 0.0.6+ ​* ​ v 0.0.7
  *  *
  ​* ​ 2006 April 06 Created by Michael Markert, http://​www.audiocommander.de  ​* ​ 2006 April 06 Created by Michael Markert, http://​www.audiocommander.de
Line 73: Line 74:
  
 #define MIOS_GLCD_FONT 0x28fc #define MIOS_GLCD_FONT 0x28fc
 +
  
 // structures of the CFG and STAT bytes // structures of the CFG and STAT bytes
Line 119: Line 121:
 } mios_box_stat_t;​ } mios_box_stat_t;​
  
 +// debug related structures
 +typedef union {
 + struct {
 + unsigned ALL:8;
 + };
 + struct {
 + unsigned TIMER_ENABLED:​1;​
 + unsigned free:7;
 + };
 +} debug_user_timer_t;​
  
 // mios tables // mios tables
Line 197: Line 209:
  };  };
 } __INTCONbits_t;​ } __INTCONbits_t;​
- 
  
  
Line 211: Line 222:
 #pragma mark mios globals #pragma mark mios globals
 // mios globals // mios globals
-extern mios_box_stat_t MIOS_BOX_STAT;​+extern mios_box_stat_t MIOS_BOX_STAT;​
 // "​pic18f452.h"​ // "​pic18f452.h"​
 extern __PORTCbits_t PORTCbits;​ extern __PORTCbits_t PORTCbits;​
 extern __PORTDbits_t PORTDbits;​ extern __PORTDbits_t PORTDbits;​
-extern __INTCONbits_t INTCONbits;​+extern __INTCONbits_t INTCONbits;
 // HLP // HLP
 extern unsigned char MIOS_PARAMETER1;​ extern unsigned char MIOS_PARAMETER1;​
Line 224: Line 235:
 #pragma mark debug globals #pragma mark debug globals
 // export globals // export globals
 +extern debug_user_timer_t debug_user_timer;​
 +
 extern unsigned char debug_ain_lastPin;​ extern unsigned char debug_ain_lastPin;​
-extern unsigned int debug_ain_value[32];​+extern unsigned int debug_ain_value[32];​
 extern unsigned char debug_din_lastPin;​ extern unsigned char debug_din_lastPin;​
 extern unsigned char debug_din_value[32];​ extern unsigned char debug_din_value[32];​
-extern unsigned int debug_enc_value[32];​+extern unsigned int debug_enc_value[32];​
  
 extern unsigned char debug_bankstick_ctrl;​ extern unsigned char debug_bankstick_ctrl;​
 extern debug_bankstick_t debug_bankstick[DEBUG_BANKSTICK_NUM];​ extern debug_bankstick_t debug_bankstick[DEBUG_BANKSTICK_NUM];​
  
-extern unsigned int debug_IIC_byteNum;​+extern unsigned int debug_MIDI_byteNum;​ 
 +extern unsigned int debug_IIC_byteNum;​
  
  
 #endif /* _ACSIM_MIOS_H */ #endif /* _ACSIM_MIOS_H */
- 
 </​code>​ </​code>​
  
acsim_mios_h.txt · Last modified: 2007/11/17 16:47 by smashtv