mirror of
https://gitee.com/moluo-tech/CodeBrick.git
synced 2025-02-06 04:48:22 +08:00
26 lines
746 B
C
26 lines
746 B
C
/******************************************************************************
|
||
* @brief ST MCU ͨ<><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
*
|
||
* Copyright (c) 2019, <master_roger@sina.com>
|
||
*
|
||
* SPDX-License-Identifier: Apache-2.0
|
||
*
|
||
******************************************************************************/
|
||
#ifndef _PUBLIC_H_
|
||
#define _PUBLIC_H_
|
||
|
||
#include "stm32f4xx.h"
|
||
|
||
void gpio_conf(GPIO_TypeDef* GPIOx, GPIOMode_TypeDef Mode,GPIOPuPd_TypeDef PuPd,
|
||
uint32_t Pins);
|
||
|
||
void nvic_conf(int Channel, int Priority, int SubPriority);
|
||
|
||
void exti_conf(uint32_t Line, EXTITrigger_TypeDef Trigger, FunctionalState Cmd);
|
||
|
||
void timer_conf(TIM_TypeDef* TIMx, unsigned int hz);
|
||
|
||
void uart_conf(USART_TypeDef *port, int baudrate);
|
||
|
||
#endif
|