static inline void Chip_GPIO_SetPortDIROutput(LPC_GPIO_T *pGPIO, uint8_t port, uint8_t pinMask) |
static inline void Chip_GPIO_SetPortDIROutput(LPC_GPIO_T *pGPIO, uint8_t port, uint32_t pinMask) |
The problem with the width of the GPIO pinMask datatype in gpio8xx.h (as well as the UART_CFG_TXPOL mistake) is not corrected in the latest version despite the promise given above to have it in april version.
Is this not the place to report such problems? If not, where is it then?
Hi Henning,
Yes, this is the correct place to report such problems. I have talked with the LPCOpen developers about this bug and they mention that it is on the list of to do for LPCOpen but schedule is not finalized yet.
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
#define UART_CFG_TXPOL (0x01 << 22) /*!< Transmit data polarity */ |
#define UART_CFG_TXPOL (0x01 << 23) /*!< Transmit data polarity */ |
/** * Get XFER pointer to buffer */ static inline uint32_t Chip_DMA_GetXFERPtr(LPC_DMA_T *pDMA, DMA_CHID_T ch) { return (pDMA->DMACH[ch].XFERCFG >> 16) & 0x3FF; } |
#define uart0RxWp(UART0_RX_BUFF_SIZE - 1 - Chip_DMA_GetXFERPtr(LPC_DMA, DMAREQ_USART0_RX)) |