/*
 * This program 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. See the file COPYING
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * Copyright (C) 2010 Frank van Maarseveen <frankvm@frankvm.com>
 */

#ifndef _SERIAL_H_
#define _SERIAL_H_

#include <stdint.h>
#include "hardware.h"
#include "bits.h"

__attribute__((always_inline))
static inline void ser_init(void)
{
	CLR(LED);
	OUTPUT(LED);
}

void ser_tx(uint8_t byte);

__attribute__((always_inline))
static inline void ser_cleanup(void)
{
}

#endif