Listing 5
struct uart_device_t { uint8_t STATUS; uint8_t TXCTL; ... and so on ... }; static volatile uart_device_t * const uart_device = reinterpret_cast<volatile uart_device_t *>(0xfffe0000); uart_device->TXBUF = 10; uart_device->TXCTL = 3;
Dr. Dobb's is part of the Informa Tech Division of Informa PLC
This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.
struct uart_device_t { uint8_t STATUS; uint8_t TXCTL; ... and so on ... }; static volatile uart_device_t * const uart_device = reinterpret_cast<volatile uart_device_t *>(0xfffe0000); uart_device->TXBUF = 10; uart_device->TXCTL = 3;
To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy. | |
is a fully searchable DVD that includes:
... all on a single DVD! More Info >>
Dr. Dobb's has gone green! Dr. Dobb's Journal Digital Edition will only be available in digital format going forward. A complimentary one-year digital subscription to Dr. Dobb's Journal Digital Edition will be sent to applicants who qualify.
Subscribe >>