I ran doxygen 1.8.10 with default settings on a file that had no doxygen comments in it.

Below is my list of prototypes, just as they are in the C code. Each function is present in the C code. Some of them are only *called* from within conditional code blocks i.e. if then else code. The lines highlighted in BOLD were not included in the .rtf file, and when you go to the HTML code you have
main Page, Data Structures and   Files.  With no functions listed anywhere.
Clicking on files, brings up tabs  File List        Globals
Again, no functions. Looking at the output directory there is a functions.html file, when opened has nothing showing in the body, just the fields of the various
data structures.
Something is seriously wrong here, what is going on?
EVERY SINGLE FUNCTION tagged static was skipped.
Those were tagged static to make sure the compiler did not screw up keil 7.5 for the 8051.


void power_down();
void button_scan_interrupt_1();
void timer_0_interrupt ();             // interrupt 1 using 3
void button_scan_interrupt_2();        // interrupt 2 using 1
void timer_1_interrupt ();             // interrupt 3 using 3
char erase_flash(unsigned char * page_address);
static void zero_average_values();// zeros the pulse wdith buffers, running averages etc when you change modes.
void uart_0_interrupt();               // interrupt 4 using 0
void timer_2_interrupt ();             // interrupt 5 using 3
void spi_interrupt() ;                 //interrupt 6 using 0
void SMB_interrupt ();                 // interrupt 7 using 0
void USB_interrupt();                  // interrupt 8 using 0
void adc_window_interrupt();           // interrupt 9 using 1
void adc_window_complete();            // interrupt 10 using 1
void PCA_interrupt_handler();          // interrupt 11 using 2
void comparator_0_interrupt();         // interrupt 12 using 0
void comparator_1_interrupt();         // interrupt 13 using 0
void timer_3_interrupt ();             // interrupt 14 using 3
void VBUS_interrupt();                 // interrupt 15 using 0
//
// Note: while not strictly necessary, supplying the return type lets the compiler produce tighter code because the optimizer does not have
// to preserve registers etc.
// by addint the static modifier to the function, the compiler can also produce tighter code because on the 8051 there are // two types of jumps and calls, some types (ACALL) vs LCALL take differing times and byte sizes. Same for jumps and SJMP.there // a call and sjump instructions operate in a limited address range, (2k and 256 bytes), so by letting the compiler know what kind of // function it is, (since static functions are know only in the module in which they are defined) the compiler knows that it does not have // to worry about the linker having to generate addresses for these, and it can then rearrange them and/or knows that they are within // range of a short jump or call. It can thus generate the mose effecient call or jump as needed, since it has absolute knowlege at compile time
// of the distance between a function and any caller of that function.
//
//

static void initialize_chip (void) ;
static unsigned char scan_buttons();
static void initialize_internal_timers();
static unsigned char test_x_ram();
void set_led_blink(unsigned int,unsigned int,unsigned int,unsigned int);// mask, pattern, time
static void initiate_beep(int duration,int offtime,char count);
static void intergroup_control(struct table * table_pointer,char flags);
static void interpulse_control(struct table * table_pointer,char flags);
static void damping_control(struct table * table_pointer,char flags);
static void intensity_control (struct table *table_pointer,char flag);
static void pulse_control(struct table * table_pointer,char flag);

static void process_treatment_table(struct treatment_table *treatment,char flags);
static void build_array(struct common_header code * table_pointer,char flags);
static void update_current_values(unsigned char flags);
static void update_damping(char next_entry,unsigned char flags);
static void update_pulses(char next_entry,unsigned char flags);
static void update_intensity(char next_entry,unsigned char flags);
static void update_intergroup(char next_entry,unsigned char flags);
static void update_interpulse(char next_entry,unsigned char flags);

void write_flash(unsigned char * destination, unsigned char code* source, int len);
void FLASH_ByteWrite (unsigned int addr, char byte);
void configure_me();
extern int   rand ();
extern void  srand (int);
void mod_int_incr();
static void check_doseage();

extern void display_intensity(unsigned char intensity);
extern void display_update();
void set_mode_leds(unsigned char flag);
void set_threshold();
extern void body_display();
extern void blue_set_mode(); // this has to be present as a dummy routine in all devices to satisfy the linker.
extern void light_leds(int,char);
static void clean_damping_port();
------------------------------------------------------------------------------
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to