Naved Maududi
/
DebugMonitor_revised
Diff: shared.h
- Revision:
- 1:9fa7cc80f1a7
- Parent:
- 0:4fb921928934
- Child:
- 2:64a34ae90bb1
--- a/shared.h Fri Oct 04 21:09:15 2019 +0000 +++ b/shared.h Fri Oct 04 22:03:30 2019 +0000 @@ -148,42 +148,43 @@ #endif /******************************************************************************* -* All function prototypes are externed in all the modules. +* All function prototypes are visible in all the modules. *******************************************************************************/ -extern void monitor(void); /* located in module monitor.c */ -extern void timer0(void); /* located in module timer0.c */ -extern void serial(void); /* located in module UART_poll.c */ +void monitor(void); /* located in module monitor.c */ +void timer0(void); /* located in module timer0.c */ +void serial(void); /* located in module UART_poll.c */ -extern void UART_put(UCHAR); /* located in module UART_poll.c */ -extern UCHAR UART_get(void); /* located in module UART_poll.c */ -extern UCHAR UART_input(void); /* located in module UART_poll.c */ -extern void UART_direct_msg_put(const char *); +void UART_put(UCHAR); /* located in module UART_poll.c */ +UCHAR UART_get(void); /* located in module UART_poll.c */ +UCHAR UART_input(void); /* located in module UART_poll.c */ +void UART_direct_msg_put(const char *); /* located in module UART_poll.c */ -extern void UART_msg_put(const char *); +void UART_msg_put(const char *); /* located in module UART_poll.c */ -extern void UART_direct_hex_put(UCHAR); /* located in module UART_poll.c */ -extern void UART_direct_put(UCHAR); /* located in module UART_poll.c */ -extern void UART_hex_put(UCHAR); /* located in module UART_poll.c */ -extern void UART_low_nibble_put(UCHAR); /* located in module UART_poll.c */ -extern void UART_high_nibble_put(UCHAR); /* located in module UART_poll.c */ -extern void chk_UART_msg(void); /* located in module monitor.c */ -extern void UART_msg_process(void); /* located in module monitors.c */ -extern void status_report(void); /* located in module monitor.c */ -extern void set_display_mode(void); /* located in module monitor.c */ -extern void UART_direct_hex_put_word(uint32_t); /* located in module monitor.c */ -extern float calculateViscosity(int16_t); /* located in module Calculate_flow.c */ -extern float calculateDensity(int16_t); /* located in module Calculate_flow.c */ -extern float calculateReynoldsNumber(float, float, float); /* located in module Calculate_flow.c */ -extern float calculateStrouhalNumber(float); /* located in module Calculate_flow.c */ -extern float calculateVelocity(uint16_t, float); /* located in module Calculate_flow.c */ -extern float convertVelocityMetersToInches(float); /* located in module Calculate_flow.c */ -extern void calculateFlow(void); /* located in module Calculate_flow.c */ -extern void read_ADC(uint8_t); -extern void frequency_detect(void); -extern void adc_calibration(void); -extern void PwmOutputs_flowmeter(void); -extern void Pulse_Output_Frequency(void); -extern void LCD_Display(void); +void UART_direct_hex_put(UCHAR); /* located in module UART_poll.c */ +void UART_direct_hex_put_word(uint32_t c); +void UART_direct_put(UCHAR); /* located in module UART_poll.c */ +void UART_hex_put(UCHAR); /* located in module UART_poll.c */ +void UART_low_nibble_put(UCHAR); /* located in module UART_poll.c */ +void UART_high_nibble_put(UCHAR); /* located in module UART_poll.c */ +void chk_UART_msg(void); /* located in module monitor.c */ +void UART_msg_process(void); /* located in module monitors.c */ +void status_report(void); /* located in module monitor.c */ +void set_display_mode(void); /* located in module monitor.c */ +void UART_direct_hex_put_word(uint32_t); /* located in module monitor.c */ +float calculateViscosity(int16_t); /* located in module Calculate_flow.c */ +float calculateDensity(int16_t); /* located in module Calculate_flow.c */ +float calculateReynoldsNumber(float, float, float); /* located in module Calculate_flow.c */ +float calculateStrouhalNumber(float); /* located in module Calculate_flow.c */ +float calculateVelocity(uint16_t, float); /* located in module Calculate_flow.c */ +float convertVelocityMetersToInches(float); /* located in module Calculate_flow.c */ +void calculateFlow(void); /* located in module Calculate_flow.c */ +void read_ADC(uint8_t); +void frequency_detect(void); +void adc_calibration(void); +void PwmOutputs_flowmeter(void); +void Pulse_Output_Frequency(void); +void LCD_Display(void); #ifdef __cplusplus }