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

📄 ui.h

📁 isp1160_isa_evel_codeUSB主机软件
💻 H
字号:
/*
**  Kenobi2          version 1.3
**
**      ** This code has been made to check/learn the 1161 functionalities ** 
**      ** Release 25-Feb-2002                                             **
**
**      OKANO, Akifumi 
**      
**		Computing Segment, Semisonductors Div, Philips Japan Ltd.
**      akifumi.okano@philips.com
**      +81-3-3740-4668 
*/


#include		<conio.h>
#include		"tr_gene.h"


#define			ABORT						0
#define			CONTINUE					1

#define			GENERAL_KEY_POLLING_RATE	0x3F				//	Rate for keyboard input polling
																//		The value will be defined (GENERAL_KEY_POLLING_RATE + 1)ms
																//		If you have 0x3FF, you will have a key input in every 1024ms.
																
extern unsigned char	key_polling_flag;
													


unsigned char	user_debug_command_key( void );
unsigned char	user_debug_command_handler( unsigned char command );
void			mprintf( unsigned char color, unsigned char mode, char *str, ... );
void			Dc_printf( unsigned char color, unsigned char mode, char *format, ... );
void			status_monitor( void );
void			isr_flag_monitor( void );
void			start_message( void );
void 			print_unicode( unsigned char color, unsigned short *str );
void 			show_device_string_descriptors( device_instance *dp );
void			device_infomation_viewer( device_instance *dp );
unsigned char	get_music_number( void );
unsigned char	key_polling_timing( void );
int				key_wait( void );
void			wait_ms( unsigned long timeout );
char 			*get_string_from_console( char *s, int length, unsigned char input_color, char *prompt_string, unsigned char prompt_color, char *suffix );



/*

text color list from conio.h
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
enum COLORS {
    BLACK,          // dark colors
    BLUE,
    GREEN,
    CYAN,
    RED,
    MAGENTA,
    BROWN,
    LIGHTGRAY,
    DARKGRAY,       // light colors
    LIGHTBLUE,
    LIGHTGREEN,
    LIGHTCYAN,
    LIGHTRED,
    LIGHTMAGENTA,
    YELLOW,
    WHITE
};
*/


⌨️ 快捷键说明

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