Nugget
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Namespaces | Enumerations | Variables
sio.hh File Reference
#include <stdint.h>
#include "psyqo/hardware/hwregs.hh"
Include dependency graph for sio.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  psyqo
 
namespace  psyqo::Hardware
 
namespace  psyqo::Hardware::SIO
 

Enumerations

enum  psyqo::Hardware::SIO::Control : uint16_t {
  psyqo::Hardware::SIO::CTRL_TXEN = (1 << 0) , psyqo::Hardware::SIO::CTRL_DTR = (1 << 1) , psyqo::Hardware::SIO::CTRL_RXE = (1 << 2) , psyqo::Hardware::SIO::CTRL_SBRK = (1 << 3) ,
  psyqo::Hardware::SIO::CTRL_ERRRES = (1 << 4) , psyqo::Hardware::SIO::CTRL_RTS = (1 << 5) , psyqo::Hardware::SIO::CTRL_IR = (1 << 6) , psyqo::Hardware::SIO::CTRL_RXIRQMODE = (1 << 8) ,
  psyqo::Hardware::SIO::CTRL_TXIRQEN = (1 << 10) , psyqo::Hardware::SIO::CTRL_RXIRQEN = (1 << 11) , psyqo::Hardware::SIO::CTRL_ACKIRQEN = (1 << 12) , psyqo::Hardware::SIO::CTRL_PORTSEL = (1 << 13)
}
 
enum  psyqo::Hardware::SIO::Status : uint32_t {
  psyqo::Hardware::SIO::STAT_TXRDY = (1 << 0) , psyqo::Hardware::SIO::STAT_RXRDY = (1 << 1) , psyqo::Hardware::SIO::STAT_TXEMPTY = (1 << 2) , psyqo::Hardware::SIO::STAT_PE = (1 << 3) ,
  psyqo::Hardware::SIO::STAT_OE = (1 << 4) , psyqo::Hardware::SIO::STAT_FE = (1 << 5) , psyqo::Hardware::SIO::STAT_SYNDET = (1 << 6) , psyqo::Hardware::SIO::STAT_ACK = (1 << 7) ,
  psyqo::Hardware::SIO::STAT_CTS = (1 << 8) , psyqo::Hardware::SIO::STAT_IRQ = (1 << 9)
}
 

Variables

psyqo::Hardware::Register< 0x0040, uint8_t, psyqo::Hardware::WriteQueue::Bypasspsyqo::Hardware::SIO::Data
 
psyqo::Hardware::Register< 0x0044, uint32_t, psyqo::Hardware::WriteQueue::Bypasspsyqo::Hardware::SIO::Stat
 
psyqo::Hardware::Register< 0x0048, uint16_t, psyqo::Hardware::WriteQueue::Bypasspsyqo::Hardware::SIO::Mode
 
psyqo::Hardware::Register< 0x004a, uint16_t, psyqo::Hardware::WriteQueue::Bypasspsyqo::Hardware::SIO::Ctrl
 
psyqo::Hardware::Register< 0x004e, uint16_t, psyqo::Hardware::WriteQueue::Bypasspsyqo::Hardware::SIO::Baud