mbed(SerialHalfDuplex入り)
Fork of mbed by
Diff: TARGET_KL46Z/objects.h
- Revision:
- 77:869cf507173a
- Parent:
- 73:1efda918f0ba
--- a/TARGET_KL46Z/objects.h Mon Jan 13 15:31:11 2014 +0200 +++ b/TARGET_KL46Z/objects.h Fri Feb 14 14:36:43 2014 +0000 @@ -25,6 +25,10 @@ extern "C" { #endif +#ifdef TARGET_KL46Z +#define UARTLP_Type UART0_Type +#endif + struct gpio_irq_s { uint32_t port; uint32_t pin; @@ -46,7 +50,7 @@ }; struct serial_s { - UART0_Type *uart; + UARTLP_Type *uart; int index; };