mirror of https://github.com/ARMmbed/mbed-os.git
Fix spelling error
parent
af0ab802d4
commit
17c1b9a860
|
@ -69,7 +69,7 @@ public:
|
||||||
|
|
||||||
/** Create an AnalogIn, connected to the specified pin
|
/** Create an AnalogIn, connected to the specified pin
|
||||||
*
|
*
|
||||||
* @param pinmap reference to strucure which holds static pinmap.
|
* @param pinmap reference to structure which holds static pinmap.
|
||||||
*/
|
*/
|
||||||
AnalogIn(const PinMap &pinmap);
|
AnalogIn(const PinMap &pinmap);
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ public:
|
||||||
|
|
||||||
/** Create an AnalogOut connected to the specified pin
|
/** Create an AnalogOut connected to the specified pin
|
||||||
*
|
*
|
||||||
* @param pinmap reference to strucure which holds static pinmap.
|
* @param pinmap reference to structure which holds static pinmap.
|
||||||
*/
|
*/
|
||||||
AnalogOut(const PinMap &pinmap)
|
AnalogOut(const PinMap &pinmap)
|
||||||
{
|
{
|
||||||
|
|
|
@ -103,7 +103,7 @@ public:
|
||||||
|
|
||||||
/** Create an I2C Master interface, connected to the specified pins
|
/** Create an I2C Master interface, connected to the specified pins
|
||||||
*
|
*
|
||||||
* @param explicit_pinmap reference to strucure which holds static pinmap.
|
* @param explicit_pinmap reference to structure which holds static pinmap.
|
||||||
*/
|
*/
|
||||||
I2C(const i2c_pinmap_t &explicit_pinmap);
|
I2C(const i2c_pinmap_t &explicit_pinmap);
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ public:
|
||||||
|
|
||||||
/** Create an I2C Slave interface, connected to the specified pins.
|
/** Create an I2C Slave interface, connected to the specified pins.
|
||||||
*
|
*
|
||||||
* @param explicit_pinmap reference to strucure which holds static pinmap.
|
* @param explicit_pinmap reference to structure which holds static pinmap.
|
||||||
*/
|
*/
|
||||||
I2CSlave(const i2c_pinmap_t &explicit_pinmap);
|
I2CSlave(const i2c_pinmap_t &explicit_pinmap);
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ public:
|
||||||
|
|
||||||
/** Create a PwmOut connected to the specified pin
|
/** Create a PwmOut connected to the specified pin
|
||||||
*
|
*
|
||||||
* @param pinmap reference to strucure which holds static pinmap.
|
* @param pinmap reference to structure which holds static pinmap.
|
||||||
*/
|
*/
|
||||||
PwmOut(const PinMap &pinmap);
|
PwmOut(const PinMap &pinmap);
|
||||||
|
|
||||||
|
|
|
@ -140,7 +140,7 @@ public:
|
||||||
*
|
*
|
||||||
* @note You can specify mosi or miso as NC if not used.
|
* @note You can specify mosi or miso as NC if not used.
|
||||||
*
|
*
|
||||||
* @param explicit_pinmap reference to strucure which holds static pinmap.
|
* @param explicit_pinmap reference to structure which holds static pinmap.
|
||||||
*/
|
*/
|
||||||
SPI(const spi_pinmap_t &explicit_pinmap);
|
SPI(const spi_pinmap_t &explicit_pinmap);
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ public:
|
||||||
*
|
*
|
||||||
* @note You can specify mosi or miso as NC if not used.
|
* @note You can specify mosi or miso as NC if not used.
|
||||||
*
|
*
|
||||||
* @param explicit_pinmap reference to strucure which holds static pinmap.
|
* @param explicit_pinmap reference to structure which holds static pinmap.
|
||||||
* @param ssel SPI Chip Select pin.
|
* @param ssel SPI Chip Select pin.
|
||||||
*/
|
*/
|
||||||
SPI(const spi_pinmap_t &explicit_pinmap, PinName ssel);
|
SPI(const spi_pinmap_t &explicit_pinmap, PinName ssel);
|
||||||
|
|
|
@ -75,7 +75,7 @@ public:
|
||||||
*
|
*
|
||||||
* @note Either mosi or miso can be specified as NC if not used.
|
* @note Either mosi or miso can be specified as NC if not used.
|
||||||
*
|
*
|
||||||
* @param explicit_pinmap reference to strucure which holds static pinmap.
|
* @param explicit_pinmap reference to structure which holds static pinmap.
|
||||||
*/
|
*/
|
||||||
SPISlave(const spi_pinmap_t &pinmap);
|
SPISlave(const spi_pinmap_t &pinmap);
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ public:
|
||||||
|
|
||||||
/** Create a Serial port, connected to the specified transmit and receive pins
|
/** Create a Serial port, connected to the specified transmit and receive pins
|
||||||
*
|
*
|
||||||
* @param explicit_pinmap reference to strucure which holds static pinmap.
|
* @param explicit_pinmap reference to structure which holds static pinmap.
|
||||||
* @param name The name of the stream associated with this serial port (optional)
|
* @param name The name of the stream associated with this serial port (optional)
|
||||||
* @param baud The baud rate of the serial port (optional, defaults to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE or 9600)
|
* @param baud The baud rate of the serial port (optional, defaults to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE or 9600)
|
||||||
*
|
*
|
||||||
|
@ -97,7 +97,7 @@ public:
|
||||||
|
|
||||||
/** Create a Serial port, connected to the specified transmit and receive pins, with the specified baud
|
/** Create a Serial port, connected to the specified transmit and receive pins, with the specified baud
|
||||||
*
|
*
|
||||||
* @param explicit_pinmap reference to strucure which holds static pinmap.
|
* @param explicit_pinmap reference to structure which holds static pinmap.
|
||||||
* @param baud The baud rate of the serial port
|
* @param baud The baud rate of the serial port
|
||||||
*
|
*
|
||||||
* @note
|
* @note
|
||||||
|
|
|
@ -204,7 +204,7 @@ public:
|
||||||
/** Set the flow control type on the serial port
|
/** Set the flow control type on the serial port
|
||||||
*
|
*
|
||||||
* @param type the flow control type (Disabled, RTS, CTS, RTSCTS)
|
* @param type the flow control type (Disabled, RTS, CTS, RTSCTS)
|
||||||
* @param pinmap reference to strucure which holds static pinmap
|
* @param pinmap reference to structure which holds static pinmap
|
||||||
*/
|
*/
|
||||||
void set_flow_control(Flow type, const serial_fc_pinmap_t &explicit_pinmap);
|
void set_flow_control(Flow type, const serial_fc_pinmap_t &explicit_pinmap);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -60,7 +60,7 @@ public:
|
||||||
UARTSerial(PinName tx, PinName rx, int baud = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE);
|
UARTSerial(PinName tx, PinName rx, int baud = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE);
|
||||||
|
|
||||||
/** Create a UARTSerial port, connected to the specified transmit and receive pins, with a particular baud rate.
|
/** Create a UARTSerial port, connected to the specified transmit and receive pins, with a particular baud rate.
|
||||||
* @param explicit_pinmap reference to strucure which holds static pinmap
|
* @param explicit_pinmap reference to structure which holds static pinmap
|
||||||
* @param baud The baud rate of the serial port (optional, defaults to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE)
|
* @param baud The baud rate of the serial port (optional, defaults to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE)
|
||||||
*/
|
*/
|
||||||
UARTSerial(const serial_pinmap_t &explicit_pinmap, int baud = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE);
|
UARTSerial(const serial_pinmap_t &explicit_pinmap, int baud = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE);
|
||||||
|
|
|
@ -65,7 +65,7 @@ typedef struct analogin_s analogin_t;
|
||||||
*
|
*
|
||||||
* Configures the pin used by analogin.
|
* Configures the pin used by analogin.
|
||||||
* @param obj The analogin object to initialize
|
* @param obj The analogin object to initialize
|
||||||
* @param pinmap pointer to strucure which holds static pinmap
|
* @param pinmap pointer to structure which holds static pinmap
|
||||||
*/
|
*/
|
||||||
void analogin_init_direct(analogin_t* obj, const PinMap *pinmap);
|
void analogin_init_direct(analogin_t* obj, const PinMap *pinmap);
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ typedef struct dac_s dac_t;
|
||||||
*
|
*
|
||||||
* Configures the pin used by analogout.
|
* Configures the pin used by analogout.
|
||||||
* @param obj The analogout object to initialize
|
* @param obj The analogout object to initialize
|
||||||
* @param pinmap pointer to strucure which holds static pinmap
|
* @param pinmap pointer to structure which holds static pinmap
|
||||||
*/
|
*/
|
||||||
void analogout_init_direct(dac_t* obj, const PinMap *pinmap);
|
void analogout_init_direct(dac_t* obj, const PinMap *pinmap);
|
||||||
|
|
||||||
|
|
|
@ -148,7 +148,7 @@ extern "C" {
|
||||||
* peripheral, and configures its specifieds pins.
|
* peripheral, and configures its specifieds pins.
|
||||||
*
|
*
|
||||||
* @param obj The I2C object
|
* @param obj The I2C object
|
||||||
* @param pinmap Pinmap pointer to strucure which holds static pinmap
|
* @param pinmap Pinmap pointer to structure which holds static pinmap
|
||||||
*/
|
*/
|
||||||
void i2c_init_direct(i2c_t *obj, const i2c_pinmap_t *pinmap);
|
void i2c_init_direct(i2c_t *obj, const i2c_pinmap_t *pinmap);
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ typedef struct pwmout_s pwmout_t;
|
||||||
/** Initialize the pwm out peripheral and configure the pin
|
/** Initialize the pwm out peripheral and configure the pin
|
||||||
*
|
*
|
||||||
* @param obj The pwmout object to initialize
|
* @param obj The pwmout object to initialize
|
||||||
* @param pinmap pointer to strucure which holds static pinmap
|
* @param pinmap pointer to structure which holds static pinmap
|
||||||
*/
|
*/
|
||||||
void pwmout_init_direct(pwmout_t* obj, const PinMap *pinmap);
|
void pwmout_init_direct(pwmout_t* obj, const PinMap *pinmap);
|
||||||
|
|
||||||
|
|
|
@ -224,7 +224,7 @@ void serial_init(serial_t *obj, PinName tx, PinName rx);
|
||||||
* peripheral, and configures its specifieds pins.
|
* peripheral, and configures its specifieds pins.
|
||||||
*
|
*
|
||||||
* @param obj The serial object
|
* @param obj The serial object
|
||||||
* @param pinmap pointer to strucure which holds static pinmap
|
* @param pinmap pointer to structure which holds static pinmap
|
||||||
*/
|
*/
|
||||||
void serial_init_direct(serial_t *obj, const serial_pinmap_t *pinmap);
|
void serial_init_direct(serial_t *obj, const serial_pinmap_t *pinmap);
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ void serial_set_flow_control(serial_t *obj, FlowControl type, PinName rxflow, Pi
|
||||||
*
|
*
|
||||||
* @param obj The serial object
|
* @param obj The serial object
|
||||||
* @param type The type of the flow control. Look at the available FlowControl types.
|
* @param type The type of the flow control. Look at the available FlowControl types.
|
||||||
* @param pinmap Pointer to strucure which holds static pinmap
|
* @param pinmap Pointer to structure which holds static pinmap
|
||||||
*/
|
*/
|
||||||
void serial_set_flow_control_direct(serial_t *obj, FlowControl type, const serial_fc_pinmap_t *pinmap);
|
void serial_set_flow_control_direct(serial_t *obj, FlowControl type, const serial_fc_pinmap_t *pinmap);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -173,7 +173,7 @@ void spi_get_capabilities(PinName ssel, bool slave, spi_capabilities_t *cap);
|
||||||
*
|
*
|
||||||
* Configures the pins used by SPI, sets a default format and frequency, and enables the peripheral
|
* Configures the pins used by SPI, sets a default format and frequency, and enables the peripheral
|
||||||
* @param[out] obj The SPI object to initialize
|
* @param[out] obj The SPI object to initialize
|
||||||
* @param[in] pinmap pointer to strucure which holds static pinmap
|
* @param[in] pinmap pointer to structure which holds static pinmap
|
||||||
*/
|
*/
|
||||||
void spi_init_direct(spi_t *obj, const spi_pinmap_t *pinmap);
|
void spi_init_direct(spi_t *obj, const spi_pinmap_t *pinmap);
|
||||||
|
|
||||||
|
|
|
@ -725,7 +725,7 @@ void serial_rx_abort_asynch(serial_t *obj)
|
||||||
* Set HW Control Flow
|
* Set HW Control Flow
|
||||||
* @param obj The serial object
|
* @param obj The serial object
|
||||||
* @param type The Control Flow type (FlowControlNone, FlowControlRTS, FlowControlCTS, FlowControlRTSCTS)
|
* @param type The Control Flow type (FlowControlNone, FlowControlRTS, FlowControlCTS, FlowControlRTSCTS)
|
||||||
* @param pinmap Pointer to strucure which holds static pinmap
|
* @param pinmap Pointer to structure which holds static pinmap
|
||||||
*/
|
*/
|
||||||
#if EXPLICIT_PINMAP_READY
|
#if EXPLICIT_PINMAP_READY
|
||||||
#define SERIAL_SET_FC_DIRECT serial_set_flow_control_direct
|
#define SERIAL_SET_FC_DIRECT serial_set_flow_control_direct
|
||||||
|
|
Loading…
Reference in New Issue