pwm: implement driver for boot sysmodule

This commit is contained in:
Michael Scire
2020-11-01 23:04:19 -08:00
parent 4cc4f5fdb0
commit aa63b1eab7
41 changed files with 2107 additions and 59 deletions

View File

@@ -95,6 +95,10 @@ namespace ams {
constexpr ALWAYS_INLINE friend TimeSpan operator+(const TimeSpan &lhs, const TimeSpan &rhs) { TimeSpan r(lhs); return r += rhs; }
constexpr ALWAYS_INLINE friend TimeSpan operator-(const TimeSpan &lhs, const TimeSpan &rhs) { TimeSpan r(lhs); return r -= rhs; }
constexpr ALWAYS_INLINE operator TimeSpanType() const {
return this->ts;
}
};
}