acsim_mios_h
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
acsim_mios_h [2007/01/21 21:29] – added INTCONbits & Merger (used for MIDI-Clock-Project) audiocommander | acsim_mios_h [2007/11/17 16:47] (current) – move acsim.zip to "acsim" namespace smashtv | ||
---|---|---|---|
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: | ||
+ | \\ | ||
\\ | \\ | ||
<code c> | <code c> | ||
/* | /* | ||
| | ||
- | | + | |
* | * | ||
| | ||
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: | ||
+ | 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; |
// " | // " | ||
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 */ | ||
- | |||
</ | </ | ||
acsim_mios_h.1169414987.txt.gz · Last modified: 2007/01/26 22:46 (external edit)