Move CAN subdir

This commit is contained in:
Henrik Stickann 2022-05-10 16:16:59 +02:00
parent f4e3a0ae1c
commit 02ae632f60
7 changed files with 28 additions and 28 deletions

View File

@ -2,8 +2,8 @@
* @file
* @brief CAN controller driver interface.
*/
#ifndef STA_INTF_CAN_CONTROLLER_HPP
#define STA_INTF_CAN_CONTROLLER_HPP
#ifndef STA_CAN_CONTROLLER_HPP
#define STA_CAN_CONTROLLER_HPP
/**
* @defgroup can CAN
@ -17,8 +17,8 @@
*/
#include <sta/intf/can/filter.hpp>
#include <sta/intf/can/headers.hpp>
#include <sta/can/filter.hpp>
#include <sta/can/headers.hpp>
namespace sta
@ -92,4 +92,4 @@ namespace sta
} // namespace sta
#endif // STA_INTF_CAN_CONTROLLER_HPP
#endif // STA_CAN_CONTROLLER_HPP

View File

@ -2,10 +2,10 @@
* @file
* @brief CAN message filter types.
*/
#ifndef STA_INFT_CAN_FILTER_HPP
#define STA_INFT_CAN_FILTER_HPP
#ifndef STA_CAN_FILTER_HPP
#define STA_CAN_FILTER_HPP
#include <sta/intf/can/id.hpp>
#include <sta/can/id.hpp>
#include <cstdint>
@ -46,4 +46,4 @@ namespace sta
} // namespace sta
#endif // STA_INFT_CAN_FILTER_HPP
#endif // STA_CAN_FILTER_HPP

View File

@ -2,10 +2,10 @@
* @file
* @brief CAN frame headers.
*/
#ifndef STA_INTF_CAN_HEADERS_HPP
#define STA_INTF_CAN_HEADERS_HPP
#ifndef STA_CAN_HEADERS_HPP
#define STA_CAN_HEADERS_HPP
#include <sta/intf/can/id.hpp>
#include <sta/can/id.hpp>
#include <cstdint>
@ -45,4 +45,4 @@ namespace sta
} // namespace sta
#endif // STA_INTF_CAN_HEADERS_HPP
#endif // STA_CAN_HEADERS_HPP

View File

@ -2,8 +2,8 @@
* @file
* @brief CAN frame ID types.
*/
#ifndef STA_INTF_CAN_ID_HPP
#define STA_INTF_CAN_ID_HPP
#ifndef STA_CAN_ID_HPP
#define STA_CAN_ID_HPP
#include <cstdint>
@ -115,4 +115,4 @@ namespace sta
#define CAN_EID_MAX UINT32_C(0x3FFFF)
#endif // STA_INTF_CAN_ID_HPP
#endif // STA_CAN_ID_HPP

View File

@ -2,11 +2,11 @@
* @file
* @brief Subscription interface for CAN controller drivers.
*/
#ifndef STA_INTF_CAN_SUBSCRIBABLE_HPP
#define STA_INTF_CAN_SUBSCRIBABLE_HPP
#ifndef STA_CAN_SUBSCRIBABLE_HPP
#define STA_CAN_SUBSCRIBABLE_HPP
#include <sta/intf/can/filter.hpp>
#include <sta/intf/can/headers.hpp>
#include <sta/can/filter.hpp>
#include <sta/can/headers.hpp>
namespace sta
@ -98,7 +98,7 @@ namespace sta
} // namespace sta
#include <sta/intf/can/subscribable.tpp>
#include <sta/can/subscribable.tpp>
#endif // STA_INTF_CAN_SUBSCRIBABLE_HPP
#endif // STA_CAN_SUBSCRIBABLE_HPP

View File

@ -1,12 +1,12 @@
/**
* @brief Implementation of template class CanController<T>.
*/
#ifndef STA_INTF_CAN_SUBSCRIBABLE_TPP
#define STA_INTF_CAN_SUBSCRIBABLE_TPP
#ifndef STA_CAN_SUBSCRIBABLE_TPP
#define STA_CAN_SUBSCRIBABLE_TPP
#ifndef STA_INTF_CAN_SUBSCRIBABLE_HPP
#ifndef STA_CAN_SUBSCRIBABLE_HPP
#error "Direct use of internal header. Use <sta/intf/can/subscribable.hpp> instead"
#endif // !STA_INTF_CAN_SUBSCRIBABLE_HPP
#endif // !STA_CAN_SUBSCRIBABLE_HPP
#ifndef STA_STDLIB_DISABLE
# include <algorithm> // fill_n
@ -117,4 +117,4 @@ namespace sta
} // namespace sta
#endif // STA_INTF_CAN_SUBSCRIBABLE_TPP
#endif // STA_CAN_SUBSCRIBABLE_TPP

View File

@ -1,4 +1,4 @@
#include <sta/intf/can/id.hpp>
#include <sta/can/id.hpp>
namespace sta