Skip to content

HardwareSerial

詳細情報

メンバー

HardwareSerial()

HardwareSerial::HardwareSerial(volatile uint8_t *ubrrh, volatile uint8_t *ubrrl, volatile uint8_t *ucsra, volatile uint8_t *ucsrb, volatile uint8_t *ucsrc, volatile uint8_t *udr)

引数

  • volatileuint8_t * ubrrh
  • volatileuint8_t * ubrrl
  • volatileuint8_t * ucsra
  • volatileuint8_t * ucsrb
  • volatileuint8_t * ucsrc
  • volatileuint8_t * udr

begin()

void HardwareSerial::begin(unsigned long baud)

引数

  • unsigned long baud

begin()

void HardwareSerial::begin(unsigned long, uint8_t)

引数

  • uint8_t ``

end()

void HardwareSerial::end()

available()

virtual int HardwareSerial::available(void)

戻り値

int

peek()

virtual int HardwareSerial::peek(void)

戻り値

int

read()

virtual int HardwareSerial::read(void)

戻り値

int

availableForWrite()

virtual int HardwareSerial::availableForWrite(void)

戻り値

int

flush()

virtual void HardwareSerial::flush(void)

write()

virtual size_t HardwareSerial::write(uint8_t)

引数

  • uint8_t ``

戻り値

size_t

write()

size_t HardwareSerial::write(unsigned long n)

引数

  • unsigned long n

戻り値

size_t

write()

size_t HardwareSerial::write(long n)

引数

  • long n

戻り値

size_t

write()

size_t HardwareSerial::write(unsigned int n)

引数

  • unsigned int n

戻り値

size_t

write()

size_t HardwareSerial::write(int n)

引数

  • int n

戻り値

size_t

operator bool()

HardwareSerial::operator bool()

_rx_complete_irq()

void HardwareSerial::_rx_complete_irq(void)

_tx_udr_empty_irq()

void HardwareSerial::_tx_udr_empty_irq(void)

write()

virtual size_t Print::write(uint8_t)=0

戻り値

size_t

write()

size_t Print::write(const char *str)

戻り値

size_t

write()

size_t Print::write(const uint8_t *buffer, size_t size)

戻り値

size_t

write()

size_t Print::write(const char *buffer, size_t size)

戻り値

size_t