代码搜索结果
找到约 10,000 项符合
USART 的代码
usart_printp.h
#ifndef _USART_PRINTP_H_
#define _USART_PRINTP_H_
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#define PRINTP_EN TRUE //复杂的printp()函数是否使用
#define CR_as_C
usart_printp.c
/*********************************************************************/
/* USART_PRINTP for STM32
2008.12.21
usart1.c
#include "stm32f10x.h"
#include
#include "Usart1.h"
#include
/******************************************************************
- 功能描述:将一个32位的变量dat转为字符串,比如把1234转为"1234"
usart1.h
#ifndef __USART__H
#define __USART__H
#define INIT_CMD0_ERROR 0x01 //CMD0错误
#define INIT_CMD1_ERROR 0x02 //CMD1错误
#define WRITE_BLOCK_ERROR 0x03 //写块错误
#define READ_BLOCK_ERROR 0x04
usart_printp.h
#ifndef _USART_PRINTP_H_
#define _USART_PRINTP_H_
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#define PRINTP_EN TRUE //复杂的printp()函数是否使用
#define CR_as_C
usart_printp.c
/*********************************************************************/
/* USART_PRINTP for STM32
2008.12.21
usart_printp.d
.\Obj\usart_printp.o: User\USART_printp.c
.\Obj\usart_printp.o: User\common.h
.\Obj\usart_printp.o: D:\DevTool\Keil\ARM\INC\ST\STM32F10x\stm32f10x_lib.h
.\Obj\usart_printp.o: D:\DevTool\Keil\ARM\IN