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/17 00:25] – improved MIOS_IIC for SpeakJet debugging 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 185: | Line 199: | ||
| } __PORTDbits_t; | } __PORTDbits_t; | ||
| - | + | typedef union { | |
| + | struct { | ||
| + | unsigned RBIF:1; | ||
| + | unsigned INT0F:1; | ||
| + | unsigned T0IF:1; | ||
| + | unsigned RBIE:1; | ||
| + | unsigned INT0E:1; | ||
| + | unsigned T0IE:1; | ||
| + | unsigned PEIE:1; | ||
| + | unsigned GIE:1; | ||
| + | }; | ||
| + | } __INTCONbits_t; | ||
| Line 204: | Line 228: | ||
| extern __PORTCbits_t		PORTCbits; | extern __PORTCbits_t		PORTCbits; | ||
| extern __PORTDbits_t		PORTDbits; | extern __PORTDbits_t		PORTDbits; | ||
| + | extern __INTCONbits_t		INTCONbits; | ||
| // HLP | // HLP | ||
| extern unsigned char		MIOS_PARAMETER1; | extern unsigned char		MIOS_PARAMETER1; | ||
| Line 212: | 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]; | ||
| Line 221: | Line 248: | ||
| extern debug_bankstick_t	debug_bankstick[DEBUG_BANKSTICK_NUM]; | extern debug_bankstick_t	debug_bankstick[DEBUG_BANKSTICK_NUM]; | ||
| + | extern unsigned int			debug_MIDI_byteNum; | ||
| extern unsigned int			debug_IIC_byteNum; | extern unsigned int			debug_IIC_byteNum; | ||
| #endif /* _ACSIM_MIOS_H */ | #endif /* _ACSIM_MIOS_H */ | ||
| - | |||
| </ | </ | ||
acsim_mios_h.1168993501.txt.gz · Last modified: 2007/01/21 21:25 (external edit)
                
                