From f37bfa4e3f8c90308aae458ebd28edf833cc0e97 Mon Sep 17 00:00:00 2001 From: Stephane Dallongeville Date: Mon, 7 Feb 2022 16:54:01 +0100 Subject: [PATCH] updated doxygen --- doc/doxyfile | 142 ++--- doc/html/16c550_8h_source.html | 215 +++++++ doc/html/annotated.html | 3 +- doc/html/asm_8h.html | 3 +- doc/html/asm_8h_source.html | 3 +- doc/html/bmp_8h.html | 17 +- doc/html/bmp_8h_source.html | 3 +- doc/html/classes.html | 3 +- doc/html/config_8h.html | 20 +- doc/html/config_8h_source.html | 37 +- doc/html/deprecated.html | 166 +++--- doc/html/dma_8h.html | 3 +- doc/html/dma_8h_source.html | 75 +-- doc/html/everdrive_8h.html | 115 +--- doc/html/everdrive_8h_source.html | 192 ++++--- doc/html/fat16_8h.html | 3 +- doc/html/fat16_8h_source.html | 7 +- doc/html/files.html | 12 +- doc/html/font_8h.html | 3 +- doc/html/font_8h_source.html | 3 +- doc/html/gamejolt_8h.html | 121 ++++ doc/html/gamejolt_8h_source.html | 322 +++++++++++ doc/html/genesis_8h_source.html | 118 ++-- doc/html/globals.html | 3 +- doc/html/globals_0x61.html | 3 +- doc/html/globals_0x62.html | 3 +- doc/html/globals_0x63.html | 3 +- doc/html/globals_0x64.html | 3 +- doc/html/globals_0x65.html | 3 +- doc/html/globals_0x66.html | 12 +- doc/html/globals_0x67.html | 6 +- doc/html/globals_0x68.html | 3 +- doc/html/globals_0x69.html | 5 +- doc/html/globals_0x6a.html | 3 +- doc/html/globals_0x6b.html | 8 +- doc/html/globals_0x6c.html | 3 +- doc/html/globals_0x6d.html | 15 +- doc/html/globals_0x6e.html | 3 +- doc/html/globals_0x6f.html | 3 +- doc/html/globals_0x70.html | 3 +- doc/html/globals_0x71.html | 3 +- doc/html/globals_0x72.html | 9 +- doc/html/globals_0x73.html | 3 +- doc/html/globals_0x74.html | 21 +- doc/html/globals_0x75.html | 9 +- doc/html/globals_0x76.html | 23 +- doc/html/globals_0x77.html | 3 +- doc/html/globals_0x78.html | 3 +- doc/html/globals_0x79.html | 3 +- doc/html/globals_0x7a.html | 3 +- doc/html/globals_defs.html | 4 +- doc/html/globals_defs_0x62.html | 4 +- doc/html/globals_defs_0x63.html | 4 +- doc/html/globals_defs_0x64.html | 4 +- doc/html/globals_defs_0x65.html | 4 +- doc/html/globals_defs_0x66.html | 7 +- doc/html/globals_defs_0x67.html | 4 +- doc/html/globals_defs_0x68.html | 4 +- doc/html/globals_defs_0x69.html | 4 +- doc/html/globals_defs_0x6c.html | 4 +- doc/html/globals_defs_0x6d.html | 13 +- doc/html/globals_defs_0x6e.html | 4 +- doc/html/globals_defs_0x70.html | 4 +- doc/html/globals_defs_0x72.html | 10 +- doc/html/globals_defs_0x73.html | 4 +- doc/html/globals_defs_0x74.html | 7 +- doc/html/globals_defs_0x75.html | 152 +++++ doc/html/globals_defs_0x76.html | 4 +- doc/html/globals_defs_0x78.html | 4 +- doc/html/globals_defs_0x79.html | 4 +- doc/html/globals_defs_0x7a.html | 4 +- doc/html/globals_enum.html | 3 +- doc/html/globals_eval.html | 3 +- doc/html/globals_func.html | 4 +- doc/html/globals_func_0x62.html | 4 +- doc/html/globals_func_0x64.html | 4 +- doc/html/globals_func_0x66.html | 4 +- doc/html/globals_func_0x67.html | 7 +- doc/html/globals_func_0x69.html | 6 +- doc/html/globals_func_0x6a.html | 4 +- doc/html/globals_func_0x6b.html | 9 +- doc/html/globals_func_0x6c.html | 4 +- doc/html/globals_func_0x6d.html | 7 +- doc/html/globals_func_0x70.html | 4 +- doc/html/globals_func_0x71.html | 4 +- doc/html/globals_func_0x72.html | 4 +- doc/html/globals_func_0x73.html | 4 +- doc/html/globals_func_0x74.html | 161 ++++++ doc/html/globals_func_0x75.html | 4 +- doc/html/globals_func_0x76.html | 24 +- doc/html/globals_func_0x77.html | 4 +- doc/html/globals_func_0x78.html | 4 +- doc/html/globals_func_0x79.html | 4 +- doc/html/globals_func_0x7a.html | 4 +- doc/html/globals_type.html | 3 +- doc/html/globals_vars.html | 3 +- doc/html/group___c550.html | 112 ++++ doc/html/group__gamejolt.html | 116 ++++ doc/html/group__json.html | 114 ++++ doc/html/group__lsd.html | 116 ++++ doc/html/group__megawifi.html | 114 ++++ doc/html/group__mw-msg.html | 113 ++++ doc/html/index.html | 3 +- doc/html/joy_8h.html | 5 +- doc/html/joy_8h_source.html | 3 +- doc/html/jsmn_8h_source.html | 543 ++++++++++++++++++ doc/html/json_8h.html | 121 ++++ doc/html/json_8h_source.html | 151 +++++ doc/html/kdebug_8h.html | 3 +- doc/html/kdebug_8h_source.html | 3 +- doc/html/libres_8h_source.html | 3 +- doc/html/lsd_8h_source.html | 187 ++++++ doc/html/map_8h.html | 58 +- doc/html/map_8h_source.html | 78 +-- doc/html/mapper_8h.html | 3 +- doc/html/mapper_8h_source.html | 17 +- doc/html/maths3_d_8h.html | 3 +- doc/html/maths3_d_8h_source.html | 3 +- doc/html/maths_8h.html | 46 +- doc/html/maths_8h_source.html | 43 +- doc/html/megawifi_8h.html | 123 ++++ doc/html/megawifi_8h_source.html | 458 +++++++++++++++ doc/html/memory_8h.html | 19 +- doc/html/memory_8h_source.html | 33 +- doc/html/modules.html | 112 ++++ doc/html/mw-msg_8h.html | 121 ++++ doc/html/mw-msg_8h_source.html | 417 ++++++++++++++ doc/html/navtree.js | 18 + doc/html/pages.html | 5 +- doc/html/pal_8h.html | 103 +++- doc/html/pal_8h_source.html | 124 ++-- doc/html/psg_8h.html | 3 +- doc/html/psg_8h_source.html | 3 +- doc/html/search/all_66.html | 86 ++- doc/html/search/all_67.html | 81 +-- doc/html/search/all_69.html | 2 +- doc/html/search/all_6a.html | 5 + doc/html/search/all_6b.html | 8 +- doc/html/search/all_6d.html | 100 ++-- doc/html/search/all_72.html | 30 +- doc/html/search/all_74.html | 128 +++-- doc/html/search/all_75.html | 12 + doc/html/search/all_76.html | 410 ++++++------- doc/html/search/defines_66.html | 66 +-- doc/html/search/defines_6d.html | 18 + doc/html/search/defines_72.html | 14 +- doc/html/search/defines_74.html | 6 + doc/html/search/defines_75.html | 32 ++ doc/html/search/files_67.html | 25 + doc/html/search/files_6a.html | 5 + doc/html/search/files_6d.html | 12 +- doc/html/search/files_74.html | 16 +- doc/html/search/functions_67.html | 16 +- doc/html/search/functions_69.html | 2 +- doc/html/search/functions_6b.html | 8 +- doc/html/search/functions_6d.html | 40 +- doc/html/search/functions_74.html | 50 ++ doc/html/search/functions_76.html | 300 +++++----- doc/html/search/search.js | 6 +- doc/html/smp__null_8h_source.html | 3 +- doc/html/smp__null__pcm_8h_source.html | 3 +- doc/html/sound_8h.html | 45 +- doc/html/sound_8h_source.html | 65 +-- doc/html/sprite__eng_8h.html | 17 +- doc/html/sprite__eng_8h_source.html | 3 +- doc/html/sram_8h.html | 3 +- doc/html/sram_8h_source.html | 13 +- doc/html/string_8h.html | 14 +- doc/html/string_8h_source.html | 37 +- doc/html/struct__collision-members.html | 3 +- doc/html/struct__collision.html | 7 +- doc/html/struct_animation-members.html | 3 +- doc/html/struct_animation.html | 3 +- doc/html/struct_animation_frame-members.html | 3 +- doc/html/struct_animation_frame.html | 3 +- doc/html/struct_bitmap-members.html | 3 +- doc/html/struct_bitmap.html | 3 +- doc/html/struct_box-members.html | 3 +- doc/html/struct_box.html | 3 +- doc/html/struct_box_collision-members.html | 3 +- doc/html/struct_box_collision.html | 3 +- doc/html/struct_circle-members.html | 3 +- doc/html/struct_circle.html | 3 +- doc/html/struct_circle_collision-members.html | 3 +- doc/html/struct_circle_collision.html | 3 +- doc/html/struct_collision.html | 3 +- doc/html/struct_context3_d-members.html | 3 +- doc/html/struct_context3_d.html | 3 +- doc/html/struct_d_m_a_op_info-members.html | 3 +- doc/html/struct_d_m_a_op_info.html | 3 +- .../struct_frame_v_d_p_sprite-members.html | 3 +- doc/html/struct_frame_v_d_p_sprite.html | 3 +- doc/html/struct_image-members.html | 3 +- doc/html/struct_image.html | 3 +- doc/html/struct_line-members.html | 3 +- doc/html/struct_line.html | 3 +- doc/html/struct_map-members.html | 5 +- doc/html/struct_map.html | 9 +- doc/html/struct_map_definition-members.html | 3 +- doc/html/struct_map_definition.html | 3 +- doc/html/struct_mat2_d__f16-members.html | 3 +- doc/html/struct_mat2_d__f16.html | 3 +- doc/html/struct_mat2_d__f32-members.html | 3 +- doc/html/struct_mat2_d__f32.html | 3 +- doc/html/struct_mat3_d__f16-members.html | 3 +- doc/html/struct_mat3_d__f16.html | 3 +- doc/html/struct_mat3_d__f32-members.html | 3 +- doc/html/struct_mat3_d__f32.html | 3 +- doc/html/struct_mat4_d__f16-members.html | 3 +- doc/html/struct_mat4_d__f16.html | 3 +- doc/html/struct_mat4_d__f32-members.html | 3 +- doc/html/struct_mat4_d__f32.html | 3 +- doc/html/struct_palette-members.html | 3 +- doc/html/struct_palette.html | 3 +- doc/html/struct_pixel-members.html | 3 +- doc/html/struct_pixel.html | 3 +- doc/html/struct_r_o_m_header-members.html | 3 +- doc/html/struct_r_o_m_header.html | 3 +- doc/html/struct_sprite-members.html | 3 +- doc/html/struct_sprite.html | 3 +- .../struct_sprite_definition-members.html | 3 +- doc/html/struct_sprite_definition.html | 3 +- doc/html/struct_tile_map-members.html | 3 +- doc/html/struct_tile_map.html | 3 +- doc/html/struct_tile_set-members.html | 3 +- doc/html/struct_tile_set.html | 3 +- .../struct_transformation3_d-members.html | 3 +- doc/html/struct_transformation3_d.html | 3 +- doc/html/struct_triangle-members.html | 3 +- doc/html/struct_triangle.html | 3 +- doc/html/struct_v_d_p_sprite-members.html | 3 +- doc/html/struct_v_d_p_sprite.html | 7 +- doc/html/struct_v_r_a_m_region-members.html | 3 +- doc/html/struct_v_r_a_m_region.html | 3 +- doc/html/struct_vect2_d__f16-members.html | 3 +- doc/html/struct_vect2_d__f16.html | 3 +- doc/html/struct_vect2_d__f32-members.html | 3 +- doc/html/struct_vect2_d__f32.html | 3 +- doc/html/struct_vect2_d__s16-members.html | 3 +- doc/html/struct_vect2_d__s16.html | 3 +- doc/html/struct_vect2_d__s32-members.html | 3 +- doc/html/struct_vect2_d__s32.html | 3 +- doc/html/struct_vect2_d__u16-members.html | 3 +- doc/html/struct_vect2_d__u16.html | 3 +- doc/html/struct_vect2_d__u32-members.html | 3 +- doc/html/struct_vect2_d__u32.html | 3 +- doc/html/struct_vect3_d__f16-members.html | 3 +- doc/html/struct_vect3_d__f16.html | 3 +- doc/html/struct_vect3_d__f32-members.html | 3 +- doc/html/struct_vect3_d__f32.html | 3 +- doc/html/struct_vect3_d__s16-members.html | 3 +- doc/html/struct_vect3_d__s16.html | 3 +- doc/html/struct_vect3_d__s32-members.html | 3 +- doc/html/struct_vect3_d__s32.html | 3 +- doc/html/struct_vect3_d__u16-members.html | 3 +- doc/html/struct_vect3_d__u16.html | 3 +- doc/html/struct_vect3_d__u32-members.html | 3 +- doc/html/struct_vect3_d__u32.html | 3 +- doc/html/struct_vect4_d__f16-members.html | 3 +- doc/html/struct_vect4_d__f16.html | 3 +- doc/html/struct_vect4_d__f32-members.html | 3 +- doc/html/struct_vect4_d__f32.html | 3 +- doc/html/sys_8h.html | 15 +- doc/html/sys_8h_source.html | 78 +-- doc/html/tab__cnv_8h_source.html | 3 +- doc/html/tab__vol_8h_source.html | 3 +- doc/html/task_8h.html | 226 ++++++++ doc/html/task_8h_source.html | 129 +++++ doc/html/task__cst_8h.html | 136 +++++ doc/html/task__cst_8h_source.html | 123 ++++ doc/html/timer_8h.html | 3 +- doc/html/timer_8h_source.html | 3 +- doc/html/todo.html | 109 ++++ doc/html/tools_8h.html | 78 ++- doc/html/tools_8h_source.html | 161 +++--- doc/html/types_8h.html | 11 +- doc/html/types_8h_source.html | 15 +- doc/html/vdp_8h.html | 65 ++- doc/html/vdp_8h_source.html | 90 +-- doc/html/vdp__bg_8h.html | 340 ++++++++++- doc/html/vdp__bg_8h_source.html | 73 +-- doc/html/vdp__dma_8h.html | 19 +- doc/html/vdp__dma_8h_source.html | 3 +- doc/html/vdp__pal_8h_source.html | 3 +- doc/html/vdp__spr_8h.html | 5 +- doc/html/vdp__spr_8h_source.html | 39 +- doc/html/vdp__tile_8h.html | 7 +- doc/html/vdp__tile_8h_source.html | 3 +- doc/html/vram_8h.html | 3 +- doc/html/vram_8h_source.html | 3 +- doc/html/xgm_8h.html | 3 +- doc/html/xgm_8h_source.html | 3 +- doc/html/ym2612_8h.html | 7 +- doc/html/ym2612_8h_source.html | 19 +- doc/html/z80__ctrl_8h.html | 3 +- doc/html/z80__ctrl_8h_source.html | 39 +- 296 files changed, 7730 insertions(+), 1850 deletions(-) create mode 100644 doc/html/16c550_8h_source.html create mode 100644 doc/html/gamejolt_8h.html create mode 100644 doc/html/gamejolt_8h_source.html create mode 100644 doc/html/globals_defs_0x75.html create mode 100644 doc/html/globals_func_0x74.html create mode 100644 doc/html/group___c550.html create mode 100644 doc/html/group__gamejolt.html create mode 100644 doc/html/group__json.html create mode 100644 doc/html/group__lsd.html create mode 100644 doc/html/group__megawifi.html create mode 100644 doc/html/group__mw-msg.html create mode 100644 doc/html/jsmn_8h_source.html create mode 100644 doc/html/json_8h.html create mode 100644 doc/html/json_8h_source.html create mode 100644 doc/html/lsd_8h_source.html create mode 100644 doc/html/megawifi_8h.html create mode 100644 doc/html/megawifi_8h_source.html create mode 100644 doc/html/modules.html create mode 100644 doc/html/mw-msg_8h.html create mode 100644 doc/html/mw-msg_8h_source.html create mode 100644 doc/html/search/defines_75.html create mode 100644 doc/html/search/files_67.html create mode 100644 doc/html/search/functions_74.html create mode 100644 doc/html/task_8h.html create mode 100644 doc/html/task_8h_source.html create mode 100644 doc/html/task__cst_8h.html create mode 100644 doc/html/task__cst_8h_source.html create mode 100644 doc/html/todo.html diff --git a/doc/doxyfile b/doc/doxyfile index 579e5f2d6..29464dc53 100644 --- a/doc/doxyfile +++ b/doc/doxyfile @@ -96,84 +96,98 @@ WARN_LOGFILE = "D:\apps\SGDK\cb\doc\doxygen.log" # configuration options related to the input files #--------------------------------------------------------------------------- INPUT = \ + "..\..\src\pal.c" \ + "..\..\inc\font.h" \ + "..\..\inc\xgm.h" \ "..\..\src\sprite_eng.c" \ - "..\..\inc\vdp_spr.h" \ - "..\..\inc\vram.h" \ - "..\..\src\vdp_dma.c" \ + "..\..\inc\tab_vol.h" \ "..\..\src\bmp.c" \ - "..\..\src\maths3D.c" \ - "..\..\inc\xgm.h" \ - "..\..\src\dma.c" \ - "..\..\src\sram.c" \ - "..\..\inc\ym2612.h" \ - "..\..\src\map.c" \ - "..\..\inc\z80_ctrl.h" \ - "..\..\src\mapper.c" \ - "..\..\inc\bmp.h" \ - "..\..\inc\map.h" \ - "..\..\src\tab_sin.c" \ - "..\..\src\pal.c" \ - "..\..\inc\asm.h" \ - "..\..\inc\sram.h" \ - "..\..\src\fat16.c" \ - "..\..\inc\config.h" \ - "..\..\inc\pal.h" \ + "..\..\src\vdp.c" \ + "..\..\src\tab_cnv.c" \ + "..\..\inc\task.h" \ + "..\..\src\vdp_bg.c" \ "..\..\inc\dma.h" \ - "..\..\inc\maths.h" \ - "..\..\inc\everdrive.h" \ - "..\..\inc\maths3D.h" \ + "..\..\src\tab_sin.c" \ + "..\..\inc\vram.h" \ + "..\..\src\ext\mw\16c550.c" \ + "..\..\src\sys.c" \ + "..\..\inc\kdebug.h" \ + "..\..\inc\smp_null_pcm.h" \ + "..\..\src\types.c" \ + "..\..\inc\ext\fat16.h" \ + "..\..\inc\sound.h" \ "..\..\src\maths.c" \ - "..\..\src\string.c" \ - "..\..\inc\fat16.h" \ - "..\..\inc\types.h" \ + "..\..\inc\sprite_eng.h" \ + "..\..\src\ext\mw\lsd.c" \ + "..\..\src\z80_ctrl.c" \ + "..\..\src\vdp_dma.c" \ + "..\..\inc\pal.h" \ + "..\..\src\timer.c" \ + "..\..\inc\string.h" \ + "..\..\src\asm_mac.cpp" \ "..\..\src\vdp_pal.c" \ - "..\..\src\memory.c" \ - "..\..\src\tab_log2.c" \ "..\..\inc\sys.h" \ - "..\..\src\vram.c" \ - "..\..\src\psg.c" \ - "..\..\src\vdp_tile.c" \ + "..\..\src\ext\fat16.c" \ + "..\..\src\maths3D.c" \ + "..\..\src\ym2612.c" \ "..\..\inc\joy.h" \ - "..\..\inc\vdp_bg.h" \ - "..\..\src\vdp_bg.c" \ + "..\..\inc\ym2612.h" \ + "..\..\inc\mapper.h" \ + "..\..\src\dma.c" \ + "..\..\inc\ext\everdrive.h" \ + "..\..\inc\maths3D.h" \ + "..\..\src\ext\mw\json.c" \ + "..\..\src\tab_log2.c" \ + "..\..\inc\vdp.h" \ + "..\..\src\ext\mw\megawifi.c" \ + "..\..\inc\ext\mw\gamejolt.h" \ "..\..\src\tools.c" \ - "..\..\inc\genesis.h" \ + "..\..\inc\ext\mw\16c550.h" \ + "..\..\inc\vdp_bg.h" \ + "..\..\src\map.c" \ + "..\..\inc\ext\mw\jsmn.h" \ + "..\..\src\tab_vol.c" \ "..\..\inc\vdp_dma.h" \ - "..\..\src\timer.c" \ - "..\..\inc\kdebug.h" \ + "..\..\src\ext\everdrive.c" \ + "..\..\inc\ext\mw\lsd.h" \ + "..\..\src\vdp_tile.c" \ + "..\..\inc\map.h" \ + "..\..\src\joy.c" \ + "..\..\inc\ext\mw\megawifi.h" \ + "..\..\src\psg.c" \ + "..\..\inc\genesis.h" \ + "..\..\inc\ext\mw\mw-msg.h" \ "..\..\src\sound.c" \ - "..\..\src\tab_sqrt.c" \ - "..\..\inc\font.h" \ - "..\..\src\sys.c" \ - "..\..\inc\sound.h" \ - "..\..\src\tab_cnv.c" \ - "..\..\inc\memory.h" \ - "..\..\src\types.c" \ - "..\..\inc\tab_cnv.h" \ - "..\..\res\libres.h" \ - "..\..\src\tab_log10.c" \ - "..\..\inc\smp_null_pcm.h" \ - "..\..\src\xgm.c" \ + "..\..\inc\maths.h" \ + "..\..\inc\smp_null.h" \ + "..\..\src\mapper.c" \ + "..\..\src\string.c" \ "..\..\inc\timer.h" \ - "..\..\src\asm_mac.cpp" \ "..\..\inc\vdp_pal.h" \ - "..\..\src\vdp.c" \ - "..\..\inc\sprite_eng.h" \ + "..\..\inc\config.h" \ + "..\..\src\tab_log10.c" \ + "..\..\inc\tools.h" \ + "..\..\inc\memory.h" \ + "..\..\inc\asm.h" \ + "..\..\inc\task_cst.h" \ + "..\..\src\xgm.c" \ + "..\..\inc\tab_cnv.h" \ + "..\..\src\memory.c" \ + "..\..\inc\sram.h" \ "..\..\src\boot\rom_head.c" \ - "..\..\inc\vdp_tile.h" \ - "..\..\src\ym2612.c" \ - "..\..\inc\vdp.h" \ - "..\..\src\everdrive.c" \ - "..\..\inc\string.h" \ "..\..\src\vdp_spr.c" \ - "..\..\inc\tools.h" \ - "..\..\inc\tab_vol.h" \ - "..\..\src\tab_vol.c" \ - "..\..\inc\smp_null.h" \ - "..\..\src\joy.c" \ - "..\..\inc\mapper.h" \ - "..\..\src\z80_ctrl.c" \ - "..\..\inc\psg.h" + "..\..\inc\psg.h" \ + "..\..\inc\bmp.h" \ + "..\..\inc\types.h" \ + "..\..\res\libres.h" \ + "..\..\inc\z80_ctrl.h" \ + "..\..\src\sram.c" \ + "..\..\inc\vdp_spr.h" \ + "..\..\src\ext\mw\gamejolt.c" \ + "..\..\src\vram.c" \ + "..\..\inc\ext\mw\json.h" \ + "..\..\inc\vdp_tile.h" \ + "..\..\src\tab_sqrt.c" INPUT_ENCODING = UTF-8 FILE_PATTERNS = RECURSIVE = NO diff --git a/doc/html/16c550_8h_source.html b/doc/html/16c550_8h_source.html new file mode 100644 index 000000000..a1c0b5824 --- /dev/null +++ b/doc/html/16c550_8h_source.html @@ -0,0 +1,215 @@ + + + + +sgdk: 16c550.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
sgdk
+
+
+ + +
+
+ +
+
+
+ +
+
+
+
16c550.h
+
+
+
00001 /************************************************************************/
+00010 #ifndef _16C550_H_
+00011 #define _16C550_H_
+00012 
+00013 #include "types.h"
+00014 
+00015 #if (MODULE_MEGAWIFI != 0)
+00016 
+00018 #define UART_BASE               0xA130C1
+00019 
+00021 #define UART_CLK                24000000LU
+00022 
+00025 #define UART_BR                 1500000LU
+00026 //#define UART_BR                       500000LU
+00027 //#define UART_BR                       750000LU
+00028 //#define UART_BR                       115200
+00029 
+00031 #define UART_TX_FIFO_LEN                16
+00032 
+00034 #define DivWithRounding(dividend, divisor)      ((((dividend)*2/(divisor))+1)/2)
+00035 
+00036 #define UART_DLM_VAL    (DivWithRounding(UART_CLK, 16 * UART_BR)>>8)
+00037 //#define UART_DLM_VAL  ((UART_CLK/16/UART_BR)>>8)
+00039 #define UART_DLL_VAL    (DivWithRounding(UART_CLK, 16 * UART_BR) & 0xFF)
+00040 //#define UART_DLL_VAL  ((UART_CLK/16/UART_BR)&0xFF)
+00041 
+00049 
+00050 #define UART_RHR        (*((volatile uint8_t*)(UART_BASE +  0)))
+00051 
+00052 #define UART_THR        (*((volatile uint8_t*)(UART_BASE +  0)))
+00053 
+00054 #define UART_IER        (*((volatile uint8_t*)(UART_BASE +  2)))
+00055 
+00056 #define UART_FCR        (*((volatile uint8_t*)(UART_BASE +  4)))
+00057 
+00058 #define UART_ISR        (*((volatile uint8_t*)(UART_BASE +  4)))
+00059 
+00060 #define UART_LCR        (*((volatile uint8_t*)(UART_BASE +  6)))
+00061 
+00062 #define UART_MCR        (*((volatile uint8_t*)(UART_BASE +  8)))
+00063 
+00064 #define UART_LSR        (*((volatile uint8_t*)(UART_BASE + 10)))
+00065 
+00066 #define UART_MSR        (*((volatile uint8_t*)(UART_BASE + 12)))
+00067 
+00068 #define UART_SPR        (*((volatile uint8_t*)(UART_BASE + 14)))
+00069 
+00070 #define UART_DLL        (*((volatile uint8_t*)(UART_BASE +  0)))
+00071 
+00072 #define UART_DLM        (*((volatile uint8_t*)(UART_BASE +  2)))
+00073 
+00075 
+00076 typedef struct {
+00077         uint8_t IER;    
+00078         uint8_t FCR;    
+00079         uint8_t LCR;    
+00080         uint8_t MCR;    
+00081 } UartShadow;
+00082 
+00084 extern UartShadow sh;
+00085 
+00090 #define UART_MCR__DTR           0x01    ///< Data Terminal Ready.
+00091 #define UART_MCR__RTS           0x02    ///< Request To Send.
+00092 #define UART_MCR__OUT1          0x04    ///< GPIO pin 1.
+00093 #define UART_MCR__OUT2          0x08    ///< GPIO pin 2.
+00094 
+00099 #define UART_MSR__DSR           0x20    ///< Data Set Ready
+00100 
+00102 /************************************************************************/
+00107 void uart_init(void);
+00108 
+00109 /************************************************************************/
+00115 #define uart_tx_ready() (UART_LSR & 0x20)
+00116 
+00117 /************************************************************************/
+00122 #define uart_rx_ready() (UART_LSR & 0x01)
+00123 
+00124 /************************************************************************/
+00130 #define uart_putc(c)            do{UART_RHR = (c);}while(0);
+00131 
+00132 /************************************************************************/
+00138 #define uart_getc()             (UART_RHR)
+00139 
+00140 /************************************************************************/
+00146 #define uart_set(reg, val)      do{sh.reg = (val);UART_##reg = (val);}while(0)
+00147 
+00148 /************************************************************************/
+00154 #define uart_get(reg)           (sh.reg)
+00155 
+00156 /************************************************************************/
+00162 #define uart_set_bits(reg, val) do{sh.reg |= (val);                     \
+00163         UART_##reg = sh.reg;}while(0)
+00164 
+00165 /************************************************************************/
+00171 #define uart_clr_bits(reg, val) do{sh.reg &= ~(val);                    \
+00172         UART_##reg = sh.reg;}while(0)
+00173 
+00174 /************************************************************************/
+00177 #define uart_reset_fifos()      uart_set_bits(FCR, 0x07)
+00178 
+00179 #endif // MODULE_MEGAWIFI
+00180 
+00181 #endif /*_16C550_H_*/
+00182 
+
+
+ + +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
+ + +
+ +
+ + + + diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 6c0d3fc86..7cd8b595f 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -36,6 +36,7 @@