vos/ambiq-hal-sys/defines.h

21 lines
642 B
C
Raw Normal View History

2022-10-24 06:45:43 +00:00
// Some defines are not re-exported
/// UART
const uint32_t cAM_HAL_UART_DATA_BITS_8 = AM_HAL_UART_DATA_BITS_8;
const uint32_t cAM_HAL_UART_PARITY_NONE = AM_HAL_UART_PARITY_NONE;
const uint32_t cAM_HAL_UART_ONE_STOP_BIT = AM_HAL_UART_ONE_STOP_BIT;
const uint32_t cAM_HAL_UART_FLOW_CTRL_NONE = AM_HAL_UART_FLOW_CTRL_NONE;
const uint32_t cAM_HAL_UART_TX_FIFO_1_2 = AM_HAL_UART_TX_FIFO_1_2;
const uint32_t cAM_HAL_UART_RX_FIFO_1_2 = AM_HAL_UART_RX_FIFO_1_2;
/// I2C
const uint32_t cAM_HAL_IOM_I2CMODE = AM_HAL_IOM_I2C_MODE;
const uint32_t cAM_HAL_IOM_SPIMODE = AM_HAL_IOM_SPI_MODE;
const uint32_t cAM_HAL_IOM_400KHZ = AM_HAL_IOM_400KHZ;