mirror of https://github.com/ARMmbed/mbed-os.git
[B96B_Serial_Async] Add asynchronous feature for the platform B96B
parent
bf2315b9c9
commit
524f4a6ac7
|
@ -40,8 +40,8 @@
|
|||
#define DEVICE_ANALOGOUT 1
|
||||
|
||||
#define DEVICE_SERIAL 1
|
||||
#define DEVICE_SERIAL_ASYNCH 0
|
||||
#define DEVICE_SERIAL_ASYNCH_DMA 0
|
||||
#define DEVICE_SERIAL_ASYNCH 1
|
||||
#define DEVICE_SERIAL_ASYNCH_DMA 1
|
||||
#define DEVICE_SERIAL_FC 0
|
||||
|
||||
#define DEVICE_I2C 1
|
||||
|
|
|
@ -74,6 +74,9 @@ struct serial_s {
|
|||
uint32_t parity;
|
||||
PinName pin_tx;
|
||||
PinName pin_rx;
|
||||
#if DEVICE_SERIAL_ASYNCH
|
||||
uint32_t events;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct spi_s {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue