DMX library
Fork of DMX by
Diff: DMX.h
- Revision:
- 8:d4a45bba41d2
- Parent:
- 7:16d6874076dd
- Child:
- 9:e687f321c428
--- a/DMX.h Sun Jan 13 01:35:53 2013 +0000 +++ b/DMX.h Mon Mar 11 04:02:26 2013 +0000 @@ -88,15 +88,9 @@ private: #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) - __IO uint8_t *uart_lcr; - __I uint8_t *uart_lsr; - __IO uint8_t *uart_thr; - __I uint8_t *uart_rbr; + LPC_UART_TypeDef *_uart; #elif defined(TARGET_LPC11U24) - __IO uint32_t *uart_lcr; - __I uint32_t *uart_lsr; - __IO uint32_t *uart_thr; - __I uint32_t *uart_rbr; + LPC_USART_Type *_uart; #endif };