mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 00:34:10 +08:00
Fix typos, 1 in a #define, others in comments. This changes one definition: _MQ_TIMEDRECIEVE is changed to _MQ_TIMEDRECEIVE. It appears this symbol is not used anywhere.
This commit is contained in:
committed by
Gregory Nutt
parent
bf3105fc8f
commit
366053e464
@@ -698,7 +698,7 @@
|
||||
|
||||
0.4.6 2009-05-19 Gregory Nutt <gnutt@nuttx.org>
|
||||
|
||||
* Change SPI interface so that is can accomodate interfaces where the
|
||||
* Change SPI interface so that is can accommodate interfaces where the
|
||||
number of bits per word is greater an 8 (such as with many 9-bit display
|
||||
interfaces). -- this might have broken a few things which will need to
|
||||
be retested!
|
||||
@@ -4186,7 +4186,7 @@
|
||||
application is started.
|
||||
* arch/arm/src/stm32/stm32_otgfsdev.c, drivers/usbdev/usbdev_trprintf.c,
|
||||
and include/nuttx/usb/usbdev_trace.h: Add logic to support decoding
|
||||
of device-specific trace events to make the trace ouput more readable.
|
||||
of device-specific trace events to make the trace output more readable.
|
||||
From Petteri Aimonen.
|
||||
* arch/arm/src/stm32/stm32_otgfsdev.c: Need to manually set CNAK in
|
||||
the case where we are waiting for a SETUP command with DATA. Otherwise,
|
||||
@@ -16124,12 +16124,12 @@
|
||||
(2017-07-19).
|
||||
* Initial port to STM32F769I-DISCO. From Titus von Boxberg
|
||||
(2017-07-20).
|
||||
* libc/math: Fix wrong ouput in modf() API. The sign of integral part
|
||||
* libc/math: Fix wrong output in modf() API. The sign of integral part
|
||||
given by the modf() should be same as sign of input. But for inputs
|
||||
between 0 and 1, the sign of integral part was not same as sign of
|
||||
input. From Lokesh B V (2017-07-20).
|
||||
* libc/math: Fix wrong ouput in ceil() API. Ex:for input x = 1.0, the
|
||||
ouput should be 1.0, but the ouput was 2.0. From Lokesh B V
|
||||
* libc/math: Fix wrong output in ceil() API. Ex:for input x = 1.0, the
|
||||
output should be 1.0, but the output was 2.0. From Lokesh B V
|
||||
(2017-07-20).
|
||||
* USB device: Rename usbdev_description_s to usbdev_devinfo_s to avoid
|
||||
any more confusion of naming with device descriptions in the future.
|
||||
@@ -16142,10 +16142,10 @@
|
||||
* libc/stdlib: (1) Fix an error in mkstemp() the could result in an
|
||||
infinite loop. (2) Fix for wrong output in some cases. For
|
||||
Example: (a) input: "FILEXX", output: "FILE00" and repeats same
|
||||
output for further invocations of mkstemp(). But, the ouput has to be
|
||||
output for further invocations of mkstemp(). But, the output has to be
|
||||
FILE01, FILE02, ...., FILEZZ. (b) input: "FILEXXXXXX", output:
|
||||
"FILE100000", for next invocation "FILE200000" and so on. But it's
|
||||
good, if the ouput goes like FILE000001, FILE000002, ..., FILE000101,
|
||||
good, if the output goes like FILE000001, FILE000002, ..., FILE000101,
|
||||
... From Lokesh B V (2017-07-21).
|
||||
* configs: add stm32f334-disco basic support. From Mateusz Szafoni
|
||||
(2017-07-21).
|
||||
|
||||
+6
-6
@@ -2367,7 +2367,7 @@ The new features (some still incomplete) include:
|
||||
Bugfixes, order roughly on decreasing criticality include:
|
||||
|
||||
* Message Queues. Correct errors in mq_timedsend() and
|
||||
mq_timedrecieve().
|
||||
mq_timedreceive().
|
||||
|
||||
* FAT. Writes that cross sector boundaries, stray write into the FAT,
|
||||
and a FAT long file name issue
|
||||
@@ -15505,19 +15505,19 @@ detailed bugfix information):
|
||||
- C Library: (1) Fix an error in mkstemp() the could result in an
|
||||
infinite loop. (2) Fix for wrong output in some cases. For Example:
|
||||
(a) input: "FILEXX", output: "FILE00" and repeats same output for
|
||||
further invocations of mkstemp(). But, the ouput has to be FILE01,
|
||||
further invocations of mkstemp(). But, the output has to be FILE01,
|
||||
FILE02, ...., FILEZZ. (b) input: "FILEXXXXXX", output: "FILE100000",
|
||||
for next invocation "FILE200000" and so on. But it's good, if the
|
||||
ouput goes like FILE000001, FILE000002, ..., FILE000101, ... From
|
||||
output goes like FILE000001, FILE000002, ..., FILE000101, ... From
|
||||
Lokesh B V.
|
||||
- C Library: gethostbyname_r: Fix check for space in buffer.
|
||||
- C Library: inet_ntop() was printing negative values for fields >127.
|
||||
- Math Library: Fix wrong ouput in modf() API. The sign of integral
|
||||
- Math Library: Fix wrong output in modf() API. The sign of integral
|
||||
part given by the modf() should be same as sign of input. But for
|
||||
inputs between 0 and 1, the sign of integral part was not same as
|
||||
sign of input. From Lokesh B V.
|
||||
- Math Library: Fix wrong ouput in ceil() API. Ex:for input x = 1.0,
|
||||
the output should be 1.0, but the ouput was 2.0. From Lokesh B V.
|
||||
- Math Library: Fix wrong output in ceil() API. Ex:for input x = 1.0,
|
||||
the output should be 1.0, but the output was 2.0. From Lokesh B V.
|
||||
|
||||
* Tools
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
|
||||
/* Auxiliary Control Register (ACTLR) */
|
||||
|
||||
#define ACTLR_FW (1 << 0) /* Bit 0: Enable Cache/TLB maintenance broadcase */
|
||||
#define ACTLR_FW (1 << 0) /* Bit 0: Enable Cache/TLB maintenance broadcast */
|
||||
#define ACTLR_L2_PREFECTH (1 << 1) /* Bit 1: L2 pre-fetch hint enable */
|
||||
#define ACTLR_L1_PREFETCH (1 << 2) /* Bit 2: L1 Dside pre-fetch enable */
|
||||
#define ACTLR_LINE_ZERO (1 << 3) /* Bit 3: Enable write full line zero mode */
|
||||
|
||||
@@ -771,7 +771,7 @@ static int cxd56_i2c_scurecv(int port, int addr, uint8_t *buf, ssize_t buflen)
|
||||
ret = scu_i2ctransfer(port, addr, inst, instn, buf, len0 + len1);
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "I2C recieve failed. port %d addr %d\n",
|
||||
syslog(LOG_ERR, "I2C receive failed. port %d addr %d\n",
|
||||
port, addr);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -872,7 +872,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer,
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of
|
||||
*bits-per-word selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -1762,7 +1762,7 @@ static int cxd56_epinterrupt(int irq, FAR void *context)
|
||||
|
||||
if (!(stat & USB_INT_MRXFIFOEMPTY))
|
||||
{
|
||||
/* Flush Recieve FIFO and clear NAK to finish status stage */
|
||||
/* Flush Receive FIFO and clear NAK to finish status stage */
|
||||
|
||||
putreg32(ctrl | USB_MRXFLUSH, CXD56_USB_OUT_EP_CONTROL(n));
|
||||
}
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
|
||||
#define USB_INT_CDC_CLEAR (1<<28) /* */
|
||||
#define USB_INT_XFERDONE (1<<27) /* Tfansfer Done/Transmit FIFO Empty */
|
||||
#define USB_INT_RSS (1<<26) /* Recieved Set Stall Indication */
|
||||
#define USB_INT_RSS (1<<26) /* Received Set Stall Indication */
|
||||
#define USB_INT_RCS (1<<25) /* Received Clear Stall Indication */
|
||||
#define USB_INT_TXEMPTY (1<<24) /* Transmit FIFO Empty */
|
||||
#define USB_INT_ISO_IN_DONE (1<<23) /* Isochronous IN transaction for the current microframe is complete */
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
/* Common Register Offsets */
|
||||
|
||||
#define CXD56_UART_DR 0x000 /* Data register */
|
||||
#define CXD56_UART_RSR_ECR 0x004 /* Recieve status/error clear register */
|
||||
#define CXD56_UART_RSR_ECR 0x004 /* Receive status/error clear register */
|
||||
#define CXD56_UART_FR 0x018 /* Flag register */
|
||||
#define CXD56_UART_ILPR 0x020 /* IrDA low-power counter register */
|
||||
#define CXD56_UART_IBRD 0x024 /* Integer baud rate register */
|
||||
|
||||
@@ -1542,7 +1542,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *txbuffer,
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - The length of data that can be received in the buffer in
|
||||
* number of words. The wordsize is determined by the number
|
||||
* of bits-per-word selected for the SPI interface. If nbits
|
||||
|
||||
@@ -932,7 +932,7 @@ static uint16_t spi_send(FAR struct spi_dev_s *dev, uint16_t wd)
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer of data to be sent
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that to be exchanged in units of words.
|
||||
* The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
@@ -987,7 +987,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -1117,7 +1117,7 @@ static int spi_cmddata(FAR struct spi_dev_s *dev, uint32_t devid,
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer of data to be sent
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that to be exchanged in units of words.
|
||||
* The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
@@ -1172,7 +1172,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -1398,7 +1398,7 @@ static void imxrt_lpspi_sndblock(FAR struct spi_dev_s *dev,
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -1847,7 +1847,7 @@ static int imxrt_sendcmd(FAR struct sdio_dev_s *dev, uint32_t cmd,
|
||||
|
||||
if (cmdidx == SD_ACMDIDX53)
|
||||
{
|
||||
/* Dynamically set parameters for ACMD53 because it can accomodate
|
||||
/* Dynamically set parameters for ACMD53 because it can accommodate
|
||||
* different transmission characteristics (single and multi-block,
|
||||
* rx & tx).
|
||||
*/
|
||||
|
||||
@@ -1080,7 +1080,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer,
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -583,7 +583,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer,
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -970,7 +970,7 @@ static void up_txint(struct uart_dev_s *dev, bool enable)
|
||||
* (at least by default) like edge interrupts.
|
||||
*
|
||||
* In any event, faking a TX interrupt here solves the problem;
|
||||
* Call uart_xmitchars() just as would have been done if we recieved
|
||||
* Call uart_xmitchars() just as would have been done if we received
|
||||
* the TX interrupt.
|
||||
*/
|
||||
|
||||
|
||||
@@ -466,7 +466,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer,
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -466,7 +466,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -696,7 +696,7 @@ static void ssp_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -142,8 +142,8 @@
|
||||
|
||||
/* Interrupt set/clear/status/mask registers (can't clear RXIM or TXIM) */
|
||||
|
||||
#define LPC214X_SP1INT_ROR (0x01) /* Bit 0: 1=Recieve Overrun */
|
||||
#define LPC214X_SP1INT_RTIM (0x02) /* Bit 1: 1=Recieve Timeout */
|
||||
#define LPC214X_SP1INT_ROR (0x01) /* Bit 0: 1=Receive Overrun */
|
||||
#define LPC214X_SP1INT_RTIM (0x02) /* Bit 1: 1=Receive Timeout */
|
||||
#define LPC214X_SP1INT_RXIM (0x04) /* Bit 2: 1=RX FIFO at least half full */
|
||||
#define LPC214X_SP1INT_TXIM (0x08) /* Bit 3: 1=TX FIFO at least half empty */
|
||||
|
||||
|
||||
@@ -375,7 +375,7 @@
|
||||
#define CODEC_INT_DACPC_SHIFT (1) /* Bits 1-7: Program counter on the CLKIN_DSP clock for interpolator */
|
||||
#define CODEC_INT_DACPC_MASK (0x7f << CODEC_INT_DACPC_SHIFT)
|
||||
#define CODEC_INT_SDETECTEDR1 (1 << 8) /* Bit 8: Silence detection output channel 1 RIGHT */
|
||||
#define CODEC_INT_SDETECTEDL1 (1 << 9) /* Bit 9: Silence detection ouput channel 1 LEFT */
|
||||
#define CODEC_INT_SDETECTEDL1 (1 << 9) /* Bit 9: Silence detection output channel 1 LEFT */
|
||||
#define CODEC_INT_MUTESTATEM (1 << 10) /* Bit 10: Mute status of master channel */
|
||||
#define CODEC_INT_INVNDAC (1 << 11) /* Bit 11: Control signal to invert neg. channel data for differential application */
|
||||
#define CODEC_INT_DSR (1 << 12) /* Bit 12: DAC silence switch control signal RIGHT */
|
||||
|
||||
@@ -875,7 +875,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, si
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -457,7 +457,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer, size
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -639,7 +639,7 @@ static void ssp_sndblock(FAR struct spi_dev_s *dev, FAR const void *buffer,
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -506,7 +506,7 @@
|
||||
#define SYSCON_SYSPLLCLKSEL_MASK (7 << SYSCON_SYSPLLCLKSEL_SHIFT)
|
||||
# define SYSCON_SYSPLLCLKSEL_FFRO (0 << SYSCON_SYSPLLCLKSEL_SHIFT) /* FRO 12 MHz (fro_12m) */
|
||||
# define SYSCON_SYSPLLCLKSEL_CLKIN (1 << SYSCON_SYSPLLCLKSEL_SHIFT) /* CLKIN (clk_in) */
|
||||
# define SYSCON_SYSPLLCLKSEL_RTC (3 << SYSCON_SYSPLLCLKSEL_SHIFT) /* RTC oscillator 32 KHz ouput */
|
||||
# define SYSCON_SYSPLLCLKSEL_RTC (3 << SYSCON_SYSPLLCLKSEL_SHIFT) /* RTC oscillator 32 KHz output */
|
||||
# define SYSCON_SYSPLLCLKSEL_NONE (7 << SYSCON_SYSPLLCLKSEL_SHIFT) /* None */
|
||||
|
||||
/* Audio PLL clock source select */
|
||||
|
||||
@@ -1372,7 +1372,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *txbuffer, size_t nwo
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -667,7 +667,7 @@ static int up_interrupt(int irq, void *context, void *arg)
|
||||
|
||||
/* Disable, further RX timeout interrupts and set the RX FIFO
|
||||
* threshold so that an interrupt will be generated when the
|
||||
* very next byte is recieved.
|
||||
* very next byte is received.
|
||||
*/
|
||||
|
||||
up_rxto_disable(priv);
|
||||
@@ -867,7 +867,7 @@ static void up_rxint(struct uart_dev_s *dev, bool enable)
|
||||
{
|
||||
/* The FIFO is empty. Disable RX timeout interrupts and set the
|
||||
* RX FIFO threshold so that an interrupt will be generated when
|
||||
* the very next byte is recieved.
|
||||
* the very next byte is received.
|
||||
*/
|
||||
|
||||
up_rxto_disable(priv);
|
||||
|
||||
@@ -1376,7 +1376,7 @@ static void s32k1xx_lpspi_sndblock(FAR struct spi_dev_s *dev,
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -1625,7 +1625,7 @@ static void sam_interrupt_work(FAR void *arg)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DEBUG_NET
|
||||
/* Check for PAUSE Frame recieved (PFRE).
|
||||
/* Check for PAUSE Frame received (PFRE).
|
||||
*
|
||||
* ISR:PFRE indicates that a pause frame has been received. Cleared on a read.
|
||||
*/
|
||||
|
||||
@@ -1577,7 +1577,7 @@ static void sam_interrupt_work(FAR void *arg)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DEBUG_NET
|
||||
/* Check for PAUSE Frame recieved (PFRE).
|
||||
/* Check for PAUSE Frame received (PFRE).
|
||||
*
|
||||
* ISR:PFRE indicates that a pause frame has been received. Cleared on a read.
|
||||
*/
|
||||
|
||||
@@ -1234,7 +1234,7 @@ static uint16_t spi_send(struct spi_dev_s *dev, uint16_t wd)
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* txbuffer - A pointer to the buffer of data to be sent
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that to be exchanged in units of words.
|
||||
* The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
@@ -1608,7 +1608,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *buffer, size_t nword
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -2179,7 +2179,7 @@ static uint32_t ssc_rxdatawidth(struct i2s_dev_s *dev, int bits)
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* apb - A pointer to the audio buffer in which to recieve data
|
||||
* apb - A pointer to the audio buffer in which to receive data
|
||||
* callback - A user provided callback function that will be called at
|
||||
* the completion of the transfer. The callback will be
|
||||
* performed in the context of the worker thread.
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
#define OPAMP_CTRL_MUXPOS_MASK (7 << OPAMP_CTRL_MUXPOS_SHIFT)
|
||||
# define OPAMP_CTRL_MUXPOS_OAxPOS (0 << OPAMP_CTRL_MUXPOS_SHIFT) /* Positive I/O pin, OPAMPn, n=0,1,2 */
|
||||
# define OPAMP_CTRL_MUXPOS_OAxTAP (1 << OPAMP_CTRL_MUXPOS_SHIFT) /* Resister ladder x taps, OPAMPn, n=0,1,2 */
|
||||
# define OPAMP_CTRL_MUXPOS_DAC_0 (2 << OPAMP_CTRL_MUXPOS_SHIFT) /* DAC ouput, OPAMP0 */
|
||||
# define OPAMP_CTRL_MUXPOS_DAC_0 (2 << OPAMP_CTRL_MUXPOS_SHIFT) /* DAC output, OPAMP0 */
|
||||
# define OPAMP_CTRL_MUXPOS_OA0OUT_1 (2 << OPAMP_CTRL_MUXPOS_SHIFT) /* OPAMP0 output, OPAMP1 */
|
||||
# define OPAMP_CTRL_MUXPOS_OA1OUT_2 (2 << OPAMP_CTRL_MUXPOS_SHIFT) /* OPAMP1 output, OPAMP2 */
|
||||
# define OPAMP_CTRL_MUXPOS_GND (3 << OPAMP_CTRL_MUXPOS_SHIFT) /* Ground, OPAMPn, n=0,1,2 */
|
||||
|
||||
@@ -1151,7 +1151,7 @@ static void spi_dma_callback(DMA_HANDLE dma, void *arg, int result)
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* txbuffer - A pointer to the buffer of data to be sent
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that to be exchanged in units of words.
|
||||
* The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
@@ -1364,7 +1364,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *buffer, size_t nword
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -1246,7 +1246,7 @@ static void spi_dma_callback(DMA_HANDLE dma, void *arg, int result)
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* txbuffer - A pointer to the buffer of data to be sent
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that to be exchanged in units of words.
|
||||
* The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
@@ -1459,7 +1459,7 @@ static void spi_sndblock(struct spi_dev_s *dev, const void *buffer, size_t nword
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* buffer - A pointer to the buffer in which to recieve data
|
||||
* buffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -648,7 +648,7 @@
|
||||
|
||||
/* RX Partial Store and Forward Register */
|
||||
|
||||
#define EMAC_RPSF_RPB1ADR_SHIFT (0) /* Bits 0-11: Recieve Partial Store and Forward Address */
|
||||
#define EMAC_RPSF_RPB1ADR_SHIFT (0) /* Bits 0-11: Receive Partial Store and Forward Address */
|
||||
#define EMAC_RPSF_RPB1ADR_MASK (0xfff << EMAC_RPSF_RPB1ADR_SHIFT)
|
||||
# define EMAC_RPSF_RPB1ADR(n) ((uint32_t)(n) << EMAC_RPSF_RPB1ADR_SHIFT)
|
||||
#define EMAC_RPSF_ENRXP (1 << 31) /* Bit 31: Enable RX Partial Store and Forward Operation */
|
||||
|
||||
@@ -1902,7 +1902,7 @@ static int sam_recvframe(struct sam_emac_s *priv, int qid)
|
||||
*
|
||||
* Input Parameters:
|
||||
* priv - Reference to the driver state structure
|
||||
* qid - The transfer queue on which the packet was recieved
|
||||
* qid - The transfer queue on which the packet was received
|
||||
*
|
||||
* Returned Value:
|
||||
* None
|
||||
|
||||
@@ -2158,7 +2158,7 @@ static uint32_t ssc_rxdatawidth(struct i2s_dev_s *dev, int bits)
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* apb - A pointer to the audio buffer in which to recieve data
|
||||
* apb - A pointer to the audio buffer in which to receive data
|
||||
* callback - A user provided callback function that will be called at
|
||||
* the completion of the transfer. The callback will be
|
||||
* performed in the context of the worker thread.
|
||||
|
||||
@@ -235,7 +235,7 @@
|
||||
#define GPIO_CRH_CNF15_SHIFT (30) /* Bits 31:30: Port configuration bits */
|
||||
#define GPIO_CRL_CNF15_MASK (3 << GPIO_CRL_CNF15_SHIFT)
|
||||
|
||||
/* Port input/ouput data register */
|
||||
/* Port input/output data register */
|
||||
|
||||
#define GPIO_IDR(n) (1 << (n))
|
||||
#define GPIO_ODR(n) (1 << (n))
|
||||
|
||||
@@ -222,7 +222,7 @@
|
||||
/* GPIO port output type register */
|
||||
|
||||
#define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */
|
||||
|
||||
/* GPIO port output speed register */
|
||||
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
/* GPIO port output type register */
|
||||
|
||||
#define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */
|
||||
|
||||
/* GPIO port output speed register */
|
||||
|
||||
|
||||
@@ -211,7 +211,7 @@
|
||||
/* GPIO port output type register */
|
||||
|
||||
#define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */
|
||||
|
||||
/* GPIO port output speed register */
|
||||
|
||||
|
||||
@@ -543,19 +543,19 @@ int stm32_configgpio(uint32_t cfgset)
|
||||
{
|
||||
#if defined(CONFIG_STM32_STM32L15XX)
|
||||
default:
|
||||
case GPIO_SPEED_400KHz: /* 400 kHz Very low speed ouput */
|
||||
case GPIO_SPEED_400KHz: /* 400 kHz Very low speed output */
|
||||
setting = GPIO_OSPEED_400KHz;
|
||||
break;
|
||||
|
||||
case GPIO_SPEED_2MHz: /* 2 MHz Low speed ouput */
|
||||
case GPIO_SPEED_2MHz: /* 2 MHz Low speed output */
|
||||
setting = GPIO_OSPEED_2MHz;
|
||||
break;
|
||||
|
||||
case GPIO_SPEED_10MHz: /* 10 MHz Medium speed ouput */
|
||||
case GPIO_SPEED_10MHz: /* 10 MHz Medium speed output */
|
||||
setting = GPIO_OSPEED_10MHz;
|
||||
break;
|
||||
|
||||
case GPIO_SPEED_40MHz: /* 40 MHz High speed ouput */
|
||||
case GPIO_SPEED_40MHz: /* 40 MHz High speed output */
|
||||
setting = GPIO_OSPEED_40MHz;
|
||||
break;
|
||||
#else
|
||||
|
||||
@@ -1742,7 +1742,7 @@ static int stm32_i2c_isr_process(struct stm32_i2c_priv_s *priv)
|
||||
|
||||
stm32_i2c_modifyreg(priv, STM32_I2C_CR1_OFFSET, I2C_CR1_ACK, 0);
|
||||
|
||||
/* Read dcnt = 3, to ensure a BTF event after having recieved
|
||||
/* Read dcnt = 3, to ensure a BTF event after having received
|
||||
* in the shift register.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1856,7 +1856,7 @@ static uint32_t stm32_i2s_rxdatawidth(struct i2s_dev_s *dev, int bits)
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* apb - A pointer to the audio buffer in which to recieve data
|
||||
* apb - A pointer to the audio buffer in which to receive data
|
||||
* callback - A user provided callback function that will be called at
|
||||
* the completion of the transfer. The callback will be
|
||||
* performed in the context of the worker thread.
|
||||
|
||||
@@ -1813,7 +1813,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, si
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
/* GPIO port output type register */
|
||||
|
||||
#define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */
|
||||
|
||||
/* GPIO port output speed register */
|
||||
|
||||
|
||||
@@ -1525,7 +1525,7 @@ static void spi_sndblock(FAR struct spi_dev_s *dev, FAR const void *txbuffer, si
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - Device-specific state data
|
||||
* rxbuffer - A pointer to the buffer in which to recieve data
|
||||
* rxbuffer - A pointer to the buffer in which to receive data
|
||||
* nwords - the length of data that can be received in the buffer in number
|
||||
* of words. The wordsize is determined by the number of bits-per-word
|
||||
* selected for the SPI interface. If nbits <= 8, the data is
|
||||
|
||||
@@ -256,7 +256,7 @@
|
||||
/* GPIO port output type register */
|
||||
|
||||
#define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */
|
||||
|
||||
/* GPIO port output speed register */
|
||||
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
/* GPIO port output type register */
|
||||
|
||||
#define GPIO_OTYPER_OD(n) (1 << (n)) /* 1=Output open-drain */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Ouput push-pull */
|
||||
#define GPIO_OTYPER_PP(n) (0) /* 0=Output push-pull */
|
||||
|
||||
/* GPIO port output speed register */
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user