?? uart.h
字號:
/* * Copyright (c) 2006-2009 by Roland Riegel <feedback@roland-riegel.de> * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#ifndef UART_H#define UART_H#include <stdint.h>#include <avr/pgmspace.h>#ifdef __cplusplusextern "C"{#endifvoid uart_init();void uart_putc(uint8_t c);void uart_putc_hex(uint8_t b);void uart_putw_hex(uint16_t w);void uart_putdw_hex(uint32_t dw);void uart_putw_dec(uint16_t w);void uart_putdw_dec(uint32_t dw);void uart_puts(const char* str);void uart_puts_p(PGM_P str);uint8_t uart_getc();#ifdef __cplusplus}#endif#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -