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
Previous revision
acsim_mios_h [2007/01/21 21:25]
audiocommander added INTCONbits
acsim_mios_h [2007/11/17 16:47] (current)
smashtv move acsim.zip to "acsim" namespace
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]]\\
 +\\
 +This code is for viewing only and may not be up to date. You can download the files in a zip file {{acsim:​acsim.zip}}. If you make any updates, please send them to stryd_one and he will update the zip for you.
 +\\
 \\ \\
 <code c> <code c>
 /* /*
  ​* ​ ACSim_mios.h  ​* ​ ACSim_mios.h
- ​* ​ v 0.0.5+ ​* ​ 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 76:
  
 #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 123:
 } 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 211:
  };  };
 } __INTCONbits_t;​ } __INTCONbits_t;​
- 
  
  
Line 211: Line 224:
 #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 237:
 #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.1169414700.txt.gz · Last modified: 2007/01/21 21:29 (external edit)