You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
313 B
20 lines
313 B
13 years ago
|
|
||
|
#ifndef __AP_HAL_UART_DRIVER_H__
|
||
|
#define __AP_HAL_UART_DRIVER_H__
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#include "AP_HAL_Namespace.h"
|
||
|
|
||
|
/* Pure virtual UARTDriver class */
|
||
|
|
||
|
class AP_HAL::UARTDriver {
|
||
|
public:
|
||
|
UARTDriver() {}
|
||
|
virtual void init(uint16_t baud) = 0;
|
||
|
/* XXX stub */
|
||
|
};
|
||
|
|
||
|
#endif // __AP_HAL_UART_DRIVER_H__
|
||
|
|