subrepo: subdir: "components/f4ll_c" merged: "4754b65" upstream: origin: "git@git.pcmuhely.hu:compi/f4ll_c.git" branch: "master" commit: "4754b65" git-subrepo: version: "0.4.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "5d6aba9"
28 lines
556 B
C
28 lines
556 B
C
/*
|
|
* interrupt.h
|
|
*
|
|
* Created on: Aug 29, 2019
|
|
* Author: abody
|
|
*/
|
|
|
|
#ifndef CONSOLEHANDLER_H_
|
|
#define CONSOLEHANDLER_H_
|
|
|
|
#include "usart.h"
|
|
#include "f4ll_c/dmahelper.h"
|
|
#include "f4ll_c/packetusart.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void Con_HandleTxDmaIrq(struct dmainfo_t *info, USART_TypeDef *usart);
|
|
void Con_HandleUsartIrq(USART_TypeDef *usart);
|
|
|
|
void Con_PrintStats(char *buffer, uint8_t id, struct usart_stats *stats, USART_TypeDef *usart, struct dmainfo_t *dmaInfo);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* CONSOLEHANDLER_H_ */
|