Delayed LED control using bools to save input values
Fork of MODSERIAL by
MODSERIAL_LPC11U24.cpp
- Committer:
- Sissors
- Date:
- 2013-07-11
- Revision:
- 27:9c93ce7cb9d8
File content as of revision 27:9c93ce7cb9d8:
#ifdef TARGET_LPC11U24 #include "MODSERIAL.h" void MODSERIAL::setBase(void ) { _base = LPC_USART; _IRQ = UART_IRQn; } bool MODSERIAL::txIsBusy( void ) { return ( ((LPC_USART_Type*)_base)->LSR & ( 3UL << 5 ) == 0 ) ? true : false; } #endif