MAXREFDES63# Code Documentation
V01.00
8-Channel Digital Output MicroPLC
|
#include "stm32f10x.h"
#include "stm32f10x_gpio.h"
#include "stm32f10x_usart.h"
#include "stm32f10x_spi.h"
#include "init_config.h"
Go to the source code of this file.
Functions | |
void | maxim_uart_init (void) |
Initialize the UART peripheral. | |
void | maxim_gpio_init (void) |
Initialize the GPIO peripheral. | |
void | maxim_spi_init (void) |
Initialize the SPI peripheral. | |
Variables | |
GPIO_InitTypeDef | gpio_init_structure |
SPI_InitTypeDef | spi_init_structure |
USART_InitTypeDef | usart_init_structure |
******************************************************
Project: MAXREFDES63# Filename: init_config.c Description: This module contains all the functions used to initialize the STM32F1 peripherals
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 init_config.c.
void maxim_gpio_init | ( | void | ) |
Initialize the GPIO peripheral.
None |
None |
Definition at line 112 of file init_config.c.
void maxim_spi_init | ( | void | ) |
Initialize the SPI peripheral.
None |
None |
Definition at line 149 of file init_config.c.
void maxim_uart_init | ( | void | ) |
Initialize the UART peripheral.
None |
None |
Definition at line 71 of file init_config.c.
GPIO_InitTypeDef gpio_init_structure |
Definition at line 67 of file init_config.c.
SPI_InitTypeDef spi_init_structure |
Definition at line 68 of file init_config.c.
USART_InitTypeDef usart_init_structure |
Definition at line 69 of file init_config.c.