vos/ambiq-hal-sys/defines.h
2022-10-23 23:45:43 -07:00

21 lines
642 B
C

// 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;