Skip to content

Commit 214cbaa

Browse files
svastm0xc0170
authored andcommitted
Add asynchronous serial
1 parent 8310d41 commit 214cbaa

File tree

2 files changed

+370
-917
lines changed

2 files changed

+370
-917
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32F2/objects.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ struct serial_s {
7474
uint32_t parity;
7575
PinName pin_tx;
7676
PinName pin_rx;
77+
#if DEVICE_SERIAL_ASYNCH
78+
uint32_t events;
79+
#endif
80+
#if DEVICE_SERIAL_FC
81+
uint32_t hw_flow_ctl;
82+
PinName pin_rts;
83+
PinName pin_cts;
84+
#endif
7785
};
7886

7987
struct spi_s {

0 commit comments

Comments
 (0)