F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
BlockDriverImpl.hpp
Go to the documentation of this file.
1#ifndef DRV_BLOCK_DRIVER_IMPL_HPP
2#define DRV_BLOCK_DRIVER_IMPL_HPP
3
5
6namespace Drv {
7
9
10 public:
11
12 // Only called by derived class
13 BlockDriverImpl(const char* compName);
14
16 // a little hack to get the reference running
17 void callIsr();
18
19 private:
20
21 // downcalls for input ports
22 void InterruptReport_internalInterfaceHandler(U32 ip);
23 void BufferIn_handler(NATIVE_INT_TYPE portNum, Drv::DataBuffer& buffer);
24 void Sched_handler(NATIVE_INT_TYPE portNum, U32 context);
27 void PingIn_handler(
28 const NATIVE_INT_TYPE portNum,
29 U32 key
30 );
31
32 // static ISR callback
33 static void s_driverISR(void* arg);
34
35 // cycle count
36 U32 m_cycles;
37
38 };
39}
40
41#endif
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:55
Auto-generated base for BlockDriver component.