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:
parent
bf3105fc8f
commit
366053e464
113 changed files with 142 additions and 142 deletions
14
ChangeLog
14
ChangeLog
|
|
@ -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).
|
||||
|
|
|
|||
12
ReleaseNotes
12
ReleaseNotes
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -494,7 +494,7 @@ static void qspi_dumpregs(struct stm32f7_qspidev_s *priv, const char *msg)
|
|||
|
||||
#if 0
|
||||
/* this extra verbose output may be helpful in some cases; you'll need
|
||||
* to make sure your syslog is large enough to accomodate the extra output.
|
||||
* to make sure your syslog is large enough to accommodate the extra output.
|
||||
*/
|
||||
|
||||
regval = getreg32(priv->base + STM32_QUADSPI_CR_OFFSET); /* Control Register */
|
||||
|
|
|
|||
|
|
@ -1834,7 +1834,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
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -1895,7 +1895,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
|
||||
|
|
|
|||
|
|
@ -227,7 +227,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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -496,7 +496,7 @@ static void qspi_dumpregs(struct stm32l4_qspidev_s *priv, const char *msg)
|
|||
|
||||
#if 0
|
||||
/* This extra verbose output may be helpful in some cases; you'll need
|
||||
* to make sure your syslog is large enough to accomodate the extra output.
|
||||
* to make sure your syslog is large enough to accommodate the extra output.
|
||||
*/
|
||||
|
||||
regval = getreg32(priv->base + STM32L4_QUADSPI_CR_OFFSET); /* Control Register */
|
||||
|
|
|
|||
|
|
@ -949,7 +949,7 @@ static uint32_t sai_datawidth(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.
|
||||
|
|
|
|||
|
|
@ -1567,7 +1567,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
|
||||
|
|
|
|||
|
|
@ -1401,7 +1401,7 @@ static uint16_t ssi_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
|
||||
|
|
@ -1457,7 +1457,7 @@ static void ssi_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
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ void at32uc3_gpiowrite(uint16_t pinset, bool value)
|
|||
pinmask = (1 << pin);
|
||||
base = g_portmap[port];
|
||||
|
||||
/* Now, set or clear the pin ouput value */
|
||||
/* Now, set or clear the pin output value */
|
||||
|
||||
if (value)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -407,7 +407,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-wordselected for the SPI interface. If nbits <= 8, the
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@
|
|||
|
||||
# define PIC32MX_RESET_K1BASE (PIC32MX_SFR_K1BASE + 0x0000f600)
|
||||
|
||||
/* Peripheral Pin Select Input/Ouput Register Base Address */
|
||||
/* Peripheral Pin Select Input/Output Register Base Address */
|
||||
|
||||
# define PIC32MX_INSEL_K1BASE (PIC32MX_SFR_K1BASE + 0x0000fa00)
|
||||
# define PIC32MX_OUTSEL_K1BASE (PIC32MX_SFR_K1BASE + 0x0000fb00)
|
||||
|
|
|
|||
|
|
@ -785,7 +785,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
|
||||
|
|
|
|||
|
|
@ -717,7 +717,7 @@ static void spi_exchange8(FAR struct pic32mz_dev_s *priv,
|
|||
* 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.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@
|
|||
#define UART_C0_TXEPT 0x08 /* Bit 3: Transmit register empty 1=empty */
|
||||
#define UART_C0_CRD 0x10 /* Bit 4: CTS/RTS disable bit 1=CTS/RTS disabled */
|
||||
#define UART_C0_NCH 0x20 /* Bit 5: Data output select 1=TxDi is N-channel open drain output */
|
||||
#define UART_C0_CKPOL 0x40 /* Bit 6: CLK polarity select 1=XMT rising, recieve falling */
|
||||
#define UART_C0_CKPOL 0x40 /* Bit 6: CLK polarity select 1=XMT rising, receive falling */
|
||||
#define UART_C0_UFORM 0x80 /* Bit 7: Transfer format select 1=MSB first */
|
||||
|
||||
/* UART Transmit/Receive Control 1 */
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@
|
|||
#define SH1_SCISCR_MPIE (0x08) /* Bit 3: 1=Multiprocessor interrupt enable */
|
||||
#define SH1_SCISCR_RE (0x10) /* Bit 4: 1=Receiver enable */
|
||||
#define SH1_SCISCR_TE (0x20) /* Bit 5: 1=Transmitter enable */
|
||||
#define SH1_SCISCR_RIE (0x40) /* Bit 6: 1=Recieve-data-full interrupt enable */
|
||||
#define SH1_SCISCR_RIE (0x40) /* Bit 6: 1=Receive-data-full interrupt enable */
|
||||
#define SH1_SCISCR_TIE (0x80) /* Bit 7: 1=Transmit-data-empty interrupt enable */
|
||||
#define SH1_SCISCR_ALLINTS (0xcc)
|
||||
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ void up_lowsetup(void)
|
|||
|
||||
up_udelay(100);
|
||||
|
||||
/* Then enable the transmitter and reciever */
|
||||
/* Then enable the transmitter and receiver */
|
||||
|
||||
scr |= (SH1_SCISCR_TE | SH1_SCISCR_RE);
|
||||
putreg8(scr, SH1_SCI_BASE + SH1_SCI_SCR_OFFSET);
|
||||
|
|
|
|||
|
|
@ -440,7 +440,7 @@ static int up_setup(struct uart_dev_s *dev)
|
|||
|
||||
up_udelay(100);
|
||||
|
||||
/* Then enable the transmitter and reciever */
|
||||
/* Then enable the transmitter and receiver */
|
||||
|
||||
priv->scr |= (SH1_SCISCR_TE | SH1_SCISCR_RE);
|
||||
up_serialout(priv, SH1_SCI_SCR_OFFSET, priv->scr);
|
||||
|
|
|
|||
|
|
@ -537,7 +537,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
|
||||
* buflen - 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,
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@
|
|||
|
||||
/* UART0/1 FCTL register bits *******************************************************/
|
||||
|
||||
#define EZ80_UARTFCTL_TRIG 0xc0 /* Bits 6-7: UART recieve FIFO trigger level */
|
||||
#define EZ80_UARTFCTL_TRIG 0xc0 /* Bits 6-7: UART receive FIFO trigger level */
|
||||
# define EZ80_UARTTRIG_1 0x00 /* 00: Receive FIFO trigger level=1 */
|
||||
# define EZ80_UARTTRIG_4 0x40 /* 01: Receive FIFO trigger level=4 */
|
||||
# define EZ80_UARTTRIG_8 0x80 /* 10: Receive FIFO trigger level=8 */
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
/* EMAC configuration 1/2/3 register bit settings ***********************************/
|
||||
|
||||
#define EMAC_CFG1_DCRCC 0x01 /* Bit 0: 1=4 bytes of proprietary header */
|
||||
#define EMAC_CFG1_HUGEN 0x02 /* Bit 1: 1=Allow unlimited size frames to be recieved */
|
||||
#define EMAC_CFG1_HUGEN 0x02 /* Bit 1: 1=Allow unlimited size frames to be received */
|
||||
#define EMAC_CFG1_FLCHK 0x04 /* Bit 2: 1=Frame lengths compared to length/type */
|
||||
#define EMAC_CFG1_FULLHD 0x08 /* Bit 3: 1=Enable full duplex mode */
|
||||
#define EMAC_CFG1_CRCEN 0x10 /* Bit 4: 1=Append CRC to every frame */
|
||||
|
|
|
|||
|
|
@ -476,7 +476,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
|
||||
|
|
|
|||
|
|
@ -522,7 +522,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.
|
||||
|
|
|
|||
|
|
@ -1347,7 +1347,7 @@ Networking
|
|||
CONFIG_NET_TCP_READAHEAD=y : Enable TCP read-ahead buffering
|
||||
CONFIG_NET_TCP_WRITE_BUFFERS=y : Enable TCP write buffering
|
||||
CONFIG_NET_UDP=y : Enable UDP networking
|
||||
CONFIG_NET_BROADCAST=y : Support UDP broadcase packets
|
||||
CONFIG_NET_BROADCAST=y : Support UDP broadcast packets
|
||||
CONFIG_NET_ICMP=y : Enable ICMP networking
|
||||
CONFIG_NET_ICMP_SOCKET=y : Needed for NSH ping command
|
||||
: Defaults should be okay for other options
|
||||
|
|
|
|||
|
|
@ -398,7 +398,7 @@ Selecting the GMAC peripheral
|
|||
CONFIG_NET_TCP_READAHEAD=y : Enable TCP read-ahead buffering
|
||||
CONFIG_NET_TCP_WRITE_BUFFERS=y : Enable TCP write buffering
|
||||
CONFIG_NET_UDP=y : Enable UDP networking
|
||||
CONFIG_NET_BROADCAST=y : Support UDP broadcase packets
|
||||
CONFIG_NET_BROADCAST=y : Support UDP broadcast packets
|
||||
CONFIG_NET_ICMP=y : Enable ICMP networking
|
||||
CONFIG_NET_ICMP_SOCKET=y : Needed for NSH ping command
|
||||
: Defaults should be okay for other options
|
||||
|
|
|
|||
|
|
@ -714,7 +714,7 @@ Selecting the GMAC peripheral
|
|||
CONFIG_NET_TCP_READAHEAD=y : Enable TCP read-ahead buffering
|
||||
CONFIG_NET_TCP_WRITE_BUFFERS=y : Enable TCP write buffering
|
||||
CONFIG_NET_UDP=y : Enable UDP networking
|
||||
CONFIG_NET_BROADCAST=y : Support UDP broadcase packets
|
||||
CONFIG_NET_BROADCAST=y : Support UDP broadcast packets
|
||||
CONFIG_NET_ICMP=y : Enable ICMP networking
|
||||
CONFIG_NET_ICMP_SOCKET=y : Needed for NSH ping command
|
||||
: Defaults should be okay for other options
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
#define STM32_HSE_FREQUENCY STM32_BOARD_XTAL
|
||||
#define STM32_LSE_FREQUENCY 32768
|
||||
|
||||
/* PLL ouput is 72MHz */
|
||||
/* PLL output is 72MHz */
|
||||
|
||||
#define STM32_PLL_PREDIV2 RCC_CFGR2_PREDIV2d5 /* 25MHz / 5 => 5MHz */
|
||||
#define STM32_PLL_PLL2MUL RCC_CFGR2_PLL2MULx8 /* 5MHz * 8 => 40MHz */
|
||||
|
|
|
|||
|
|
@ -302,7 +302,7 @@ static int waveform_init(FAR struct spwm_s *spwm, float (*f)(float))
|
|||
|
||||
printf("Initialize waveform\n");
|
||||
|
||||
/* Get phase step to acheive one sine waveform period */
|
||||
/* Get phase step to achieve one sine waveform period */
|
||||
|
||||
spwm->phase_step = (float)(2 * M_PI / spwm->samples);
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
#define STM32_HSE_FREQUENCY STM32_BOARD_XTAL
|
||||
#define STM32_LSE_FREQUENCY 32768
|
||||
|
||||
/* PLL ouput is 72MHz */
|
||||
/* PLL output is 72MHz */
|
||||
|
||||
#define STM32_PLL_PREDIV2 RCC_CFGR2_PREDIV2d5 /* 25MHz / 5 => 5MHz */
|
||||
#define STM32_PLL_PLL2MUL RCC_CFGR2_PLL2MULx8 /* 5MHz * 8 => 40MHz */
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
#define STM32_HSE_FREQUENCY STM32_BOARD_XTAL
|
||||
#define STM32_LSE_FREQUENCY 32768
|
||||
|
||||
/* PLL ouput is 72MHz */
|
||||
/* PLL output is 72MHz */
|
||||
|
||||
#define STM32_PLL_PREDIV2 RCC_CFGR2_PREDIV2d5 /* 25MHz / 5 => 5MHz */
|
||||
#define STM32_PLL_PLL2MUL RCC_CFGR2_PLL2MULx8 /* 5MHz * 8 => 40MHz */
|
||||
|
|
|
|||
|
|
@ -1702,7 +1702,7 @@ static void stm3210e_backlight(void)
|
|||
|
||||
ccer &= ~(ATIM_CCER_CC1NP|ATIM_CCER_CC1NE);
|
||||
|
||||
/* Reset the Ouput Compare and Output Compare N IDLE State */
|
||||
/* Reset the Output Compare and Output Compare N IDLE State */
|
||||
|
||||
cr2 &= ~(ATIM_CR2_OIS1|ATIM_CR2_OIS1N);
|
||||
|
||||
|
|
|
|||
|
|
@ -486,7 +486,7 @@ MAPPING TO STM32 F4:
|
|||
FSMC_NWE ~WR pin 22 PD5 P2 pin 29 Conflict (Note 3)
|
||||
FSMC_NOE ~RD pin 21 PD4 P2 pin 32 Conflict (Note 4)
|
||||
PC6 RESET pin 24 PC6 P2 pin 47 Free I/O
|
||||
Timer ouput BL_CNT pin 23 (to be determined)
|
||||
Timer output BL_CNT pin 23 (to be determined)
|
||||
---------------- -------------- ----------------------------------
|
||||
|
||||
1 Used for the RED LED
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
#define STM32_HSE_FREQUENCY STM32_BOARD_XTAL
|
||||
#define STM32_LSE_FREQUENCY 32768
|
||||
|
||||
/* PLL ouput is 72MHz */
|
||||
/* PLL output is 72MHz */
|
||||
|
||||
#define STM32_PLL_PREDIV2 RCC_CFGR2_PREDIV2d5 /* 25MHz / 5 => 5MHz */
|
||||
#define STM32_PLL_PLL2MUL RCC_CFGR2_PLL2MULx8 /* 5MHz * 8 => 40MHz */
|
||||
|
|
|
|||
|
|
@ -906,7 +906,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
|
||||
* buflen - 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
|
||||
|
|
|
|||
|
|
@ -818,7 +818,7 @@ Where <subdir> is one of the following:
|
|||
Storage Demo Board," UART2 is available and is configured to used as
|
||||
the SYSLOG device. That means that all debug output will be directed
|
||||
out UART2. Debug output is not enabled by default, however, so these
|
||||
settings do nothing until you enable debug ouput.
|
||||
settings do nothing until you enable debug output.
|
||||
|
||||
Device Drivers -> System Logging Device Options:
|
||||
CONFIG_SYSLOG_CHAR=y
|
||||
|
|
|
|||
|
|
@ -541,7 +541,7 @@ ipforward
|
|||
forwarding logic will recognize that the received packets are not destined
|
||||
for it and will forward the logic to the other TUN network. The
|
||||
application logic then both sends the packets on one network and receives
|
||||
and verifies the forwarded packet recieved on the other network. The
|
||||
and verifies the forwarded packet received on the other network. The
|
||||
received packets differ from the sent packets only in that the hop limit
|
||||
(TTL) has been decremented.
|
||||
|
||||
|
|
|
|||
|
|
@ -1275,7 +1275,7 @@ int max11802_register(FAR struct spi_dev_s *spi,
|
|||
|
||||
/* If multiple MAX11802 devices are supported, then we will need to add
|
||||
* this new instance to a list of device instances so that it can be
|
||||
* found by the interrupt handler based on the recieved IRQ number.
|
||||
* found by the interrupt handler based on the received IRQ number.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_MAX11802_MULTIPLE
|
||||
|
|
|
|||
|
|
@ -1294,7 +1294,7 @@ int tsc2007_register(FAR struct i2c_master_s *dev,
|
|||
|
||||
/* If multiple TSC2007 devices are supported, then we will need to add
|
||||
* this new instance to a list of device instances so that it can be
|
||||
* found by the interrupt handler based on the recieved IRQ number.
|
||||
* found by the interrupt handler based on the received IRQ number.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_TSC2007_MULTIPLE
|
||||
|
|
|
|||
|
|
@ -824,7 +824,7 @@ static int tca64_multiwritepin(FAR struct ioexpander_dev_s *dev,
|
|||
ret = tca64_getreg(priv, regaddr, (FAR uint8_t *)&pinset, nregs);
|
||||
if (ret < 0)
|
||||
{
|
||||
gpioerr("ERROR: Failed to read %u ouput registers at %u: %d\n",
|
||||
gpioerr("ERROR: Failed to read %u output registers at %u: %d\n",
|
||||
nregs, regaddr, ret);
|
||||
goto errout_with_lock;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ fields in the configuration descriptor:
|
|||
cfg.rows = 2;
|
||||
cfg.cols = 16;
|
||||
|
||||
The lcd backpack can accomodate all known 1-line and 2-line displays, and
|
||||
The lcd backpack can accommodate all known 1-line and 2-line displays, and
|
||||
4-line displays up to 4 x 32. Explicitly, the 4 x 40 /cannot/ be supported
|
||||
because it has an important hardware difference (it is actually two 4x20
|
||||
controllers, and the LCD backpack does not have the wiring for the
|
||||
|
|
|
|||
|
|
@ -335,7 +335,7 @@ static uint16_t spi_send(FAR 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
|
||||
|
|
@ -452,7 +452,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
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ SYSLOG Channels
|
|||
* The output generated by up_putc() is immediate and in real-time. The
|
||||
normal SYSLOG output, on the other hand, is buffered in the serial
|
||||
driver and may be delayed with respect to the immediate output by many
|
||||
lines. Therefore, the interrupt level SYSLOG ouput provided throug
|
||||
lines. Therefore, the interrupt level SYSLOG output provided through
|
||||
up_putc() is grossly out of synchronization with other debug output
|
||||
|
||||
2. In-Memory Buffering
|
||||
|
|
|
|||
|
|
@ -1219,7 +1219,7 @@ void usbmsc_rdcomplete(FAR struct usbdev_ep_s *ep,
|
|||
* Name: usbmsc_deferredresponse
|
||||
*
|
||||
* Description:
|
||||
* Some EP0 setup request cannot be responded to immediately becuase they
|
||||
* Some EP0 setup request cannot be responded to immediately because they
|
||||
* require some asynchronous action from the SCSI worker thread. This
|
||||
* function is provided for the SCSI thread to make that deferred response.
|
||||
* The specific requests that require this deferred response are:
|
||||
|
|
|
|||
|
|
@ -667,7 +667,7 @@ void usbmsc_rdcomplete(FAR struct usbdev_ep_s *ep,
|
|||
* Name: usbmsc_deferredresponse
|
||||
*
|
||||
* Description:
|
||||
* Some EP0 setup request cannot be responded to immediately becuase they
|
||||
* Some EP0 setup request cannot be responded to immediately because they
|
||||
* require some asynchronous action from the SCSI worker thread. This
|
||||
* function is provided for the SCSI thread to make that deferred response.
|
||||
* The specific requests that require this deferred response are:
|
||||
|
|
|
|||
|
|
@ -551,7 +551,7 @@ static inline int vnc_wait_connect(int display)
|
|||
* The RUNNING state indicates that the server has started, it has
|
||||
* established a connection with the VNC client, it is negotiated
|
||||
* encodings and framebuffer characteristics, and it has started the
|
||||
* updater thread. The server is now ready to recieve Client-to-Server
|
||||
* updater thread. The server is now ready to receive Client-to-Server
|
||||
* messages and to perform remote framebuffer updates.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ int vnc_read_remainder(FAR struct vnc_session_s *session, size_t msglen,
|
|||
ssize_t nrecvd;
|
||||
size_t ntotal;
|
||||
|
||||
/* Loop until the rest of the message is recieved. */
|
||||
/* Loop until the rest of the message is received. */
|
||||
|
||||
for (ntotal = 0; ntotal < msglen; offset += nrecvd, ntotal += nrecvd)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@
|
|||
*
|
||||
* 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.
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@
|
|||
# define _MQ_SEND(d,m,l,p) nxmq_send(d,m,l,p)
|
||||
# define _MQ_TIMEDSEND(d,m,l,p,t) nxmq_timedsend(d,m,l,p,t)
|
||||
# define _MQ_RECEIVE(d,m,l,p) nxmq_receive(d,m,l,p)
|
||||
# define _MQ_TIMEDRECIEVE(d,m,l,p,t) nxmq_timedreceive(d,m,l,p,t)
|
||||
# define _MQ_TIMEDRECEIVE(d,m,l,p,t) nxmq_timedreceive(d,m,l,p,t)
|
||||
# define _MQ_GETERRNO(r) (-(r))
|
||||
# define _MQ_SETERRNO(r) set_errno(-(r))
|
||||
# define _MQ_GETERRVAL(r) (r)
|
||||
|
|
@ -86,7 +86,7 @@
|
|||
# define _MQ_SEND(d,m,l,p) mq_send(d,m,l,p)
|
||||
# define _MQ_TIMEDSEND(d,m,l,p,t) mq_timedsend(d,m,l,p,t)
|
||||
# define _MQ_RECEIVE(d,m,l,p) mq_receive(d,m,l,p)
|
||||
# define _MQ_TIMEDRECIEVE(d,m,l,p,t) mq_timedreceive(d,m,l,p,t)
|
||||
# define _MQ_TIMEDRECEIVE(d,m,l,p,t) mq_timedreceive(d,m,l,p,t)
|
||||
# define _MQ_GETERRNO(r) errno
|
||||
# define _MQ_SETERRNO(r)
|
||||
# define _MQ_GETERRVAL(r) (-errno)
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ extern "C"
|
|||
* nor can it call upward into NX. So, some other logic.
|
||||
*
|
||||
* vnc_fbinitialize() provides an optional, alternative initialization
|
||||
* function. It is optional becuase it need not be called. If it is not
|
||||
* function. It is optional because it need not be called. If it is not
|
||||
* called, however, keyboard/mouse inputs from the remote VNC client will
|
||||
* be lost. By calling vnc_fbinitialize(), you can provide callout
|
||||
* functions that can be received by logic higher in the architecture.
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue