mbed(SerialHalfDuplex入り)
Fork of mbed by
Diff: TARGET_NUCLEO_F302R8/TARGET_STM/TARGET_NUCLEO_F302R8/objects.h
- Revision:
- 85:024bf7f99721
- Parent:
- 82:6473597d706e
- Child:
- 90:cb3d968589d8
--- a/TARGET_NUCLEO_F302R8/TARGET_STM/TARGET_NUCLEO_F302R8/objects.h Mon May 19 18:14:09 2014 +0100 +++ b/TARGET_NUCLEO_F302R8/TARGET_STM/TARGET_NUCLEO_F302R8/objects.h Wed Jun 11 15:14:05 2014 +0100 @@ -60,7 +60,7 @@ struct dac_s { DACName dac; - PinName channel; + PinName pin; }; struct serial_s { @@ -70,6 +70,8 @@ uint32_t databits; uint32_t stopbits; uint32_t parity; + PinName pin_tx; + PinName pin_rx; }; struct spi_s { @@ -80,10 +82,14 @@ uint32_t mode; uint32_t nss; uint32_t br_presc; + PinName pin_miso; + PinName pin_mosi; + PinName pin_sclk; + PinName pin_ssel; }; struct i2c_s { - I2CName i2c; + I2CName i2c; }; struct pwmout_s {