mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 20:31:36 +08:00
LPC11C24 clock driver. Not well tested yet, but generally seems to be OK
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <chip.h>
|
||||
|
||||
namespace uavcan_lpc11c24
|
||||
{
|
||||
|
||||
@@ -23,4 +25,14 @@ struct CriticalSectionLocker
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Internal for the driver
|
||||
*/
|
||||
namespace clock
|
||||
{
|
||||
|
||||
uint64_t getUtcUSecFromCanInterrupt();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user