MAXREFDES63# Code Documentation
V01.00
8-Channel Digital Output MicroPLC
|
#include "stm32f10x.h"
Go to the source code of this file.
Macros | |
#define | ONE_SECOND 7200000 |
Functions | |
void | maxim_delay (uint32_t un_delay) |
Delay function. | |
int | maxim_htoi (char *str) |
Convert HEX to interger. | |
int | maxim_get_hex (void) |
Receive inputs from UART and convert the HEX values to interger. | |
******************************************************
Project: MAXREFDES63# Filename: utilities.h Description: This module contains a collection of general utility functions which are not specific to any particular module.
Revision History:
9/17/2014 Rev 01.00 GL Initial release.
This code follows the following naming conventions:
char ch_pmod_value
char (array) s_pmod_string[16]
float f_pmod_value
int n_pmod_value
int (array) an_pmod_value[16]
u16 u_pmod_value
u16 (array) au_pmod_value[16]
u8 uch_pmod_value
u8 (array) auch_pmod_buffer[16]
unsigned int un_pmod_value
int * pun_pmod_value
Definition in file utilities.h.
#define ONE_SECOND 7200000 |
Definition at line 66 of file utilities.h.
void maxim_delay | ( | uint32_t | un_delay | ) |
Delay function.
[in] | un_delay | -delay factor |
None |
Definition at line 67 of file utilities.c.
int maxim_get_hex | ( | void | ) |
Receive inputs from UART and convert the HEX values to interger.
None |
None |
Definition at line 80 of file utilities.c.
int maxim_htoi | ( | char * | ps_str | ) |
Convert HEX to interger.
[in] | ps_str | - a string that contains the hex value in ascii characters |
None |
Definition at line 104 of file utilities.c.