]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/drivers-frst/uart/include/uart_pl011.h
update
[l4.git] / l4 / pkg / drivers-frst / uart / include / uart_pl011.h
index 0442bcc8d016d7b3e50d50cdd9c488bba117d228..e2e6af0f13b0fb909a68368858afb86b86249ee8 100644 (file)
@@ -16,6 +16,7 @@ namespace L4
   class Uart_pl011 : public Uart
   {
   public:
+    Uart_pl011(unsigned freq) : _freq(freq) {}
     bool startup(Io_register_block const *);
     void shutdown();
     bool change_mode(Transfer_mode m, Baud_rate r);
@@ -24,6 +25,9 @@ namespace L4
     int char_avail() const;
     inline void out_char(char c) const;
     int write(char const *s, unsigned long count) const;
+
+  private:
+    unsigned _freq;
   };
 };