| /external/platform/pico/rp2_common/hardware_pwm/include/hardware/ |
| A D | pwm.h | 166 static inline void pwm_config_set_clkdiv_mode(pwm_config *c, enum pwm_clkdiv_mode mode) { in pwm_config_set_clkdiv_mode() argument 167 valid_params_if(PWM, mode == PWM_DIV_FREE_RUNNING || in pwm_config_set_clkdiv_mode() 168 mode == PWM_DIV_B_RISING || in pwm_config_set_clkdiv_mode() 169 mode == PWM_DIV_B_HIGH || in pwm_config_set_clkdiv_mode() 170 mode == PWM_DIV_B_FALLING); in pwm_config_set_clkdiv_mode() 172 | (((uint)mode) << PWM_CH0_CSR_DIVMODE_LSB); in pwm_config_set_clkdiv_mode() 439 static inline void pwm_set_clkdiv_mode(uint slice_num, enum pwm_clkdiv_mode mode) { in pwm_set_clkdiv_mode() argument 441 valid_params_if(PWM, mode == PWM_DIV_FREE_RUNNING || in pwm_set_clkdiv_mode() 442 mode == PWM_DIV_B_RISING || in pwm_set_clkdiv_mode() 443 mode == PWM_DIV_B_HIGH || in pwm_set_clkdiv_mode() [all …]
|
| /external/platform/nrfx/hal/ |
| A D | nrf_nvmc.h | 121 nrf_nvmc_mode_t mode); 131 nrf_nvmc_ns_mode_t mode); 270 nrf_nvmc_mode_t mode) in nrf_nvmc_mode_set() argument 272 p_reg->CONFIG = (uint32_t)mode; in nrf_nvmc_mode_set() 277 nrf_nvmc_ns_mode_t mode) in nrf_nvmc_nonsecure_mode_set() argument 279 p_reg->CONFIGNS = (uint32_t)mode; in nrf_nvmc_nonsecure_mode_set()
|
| A D | nrf_i2s.h | 427 nrf_i2s_mode_t mode, 638 nrf_i2s_mode_t mode, in nrf_i2s_configure() argument 646 if (mode == NRF_I2S_MODE_MASTER) in nrf_i2s_configure() 663 p_reg->CONFIG.MODE = mode; in nrf_i2s_configure()
|
| A D | nrf_pdm.h | 531 uint32_t mode = p_reg->MODE; in nrf_pdm_mode_get() local 532 *p_pdm_mode = (nrf_pdm_mode_t)((mode & PDM_MODE_OPERATION_Msk ) >> PDM_MODE_OPERATION_Pos); in nrf_pdm_mode_get() 533 *p_pdm_edge = (nrf_pdm_edge_t)((mode & PDM_MODE_EDGE_Msk ) >> PDM_MODE_EDGE_Pos); in nrf_pdm_mode_get()
|
| /external/platform/pico/rp2_common/pico_cyw43_driver/include/ |
| A D | cyw43_configport.h | 117 static inline void cyw43_hal_pin_config(cyw43_hal_pin_obj_t pin, uint32_t mode, uint32_t pull, __un… in cyw43_hal_pin_config() argument 118 assert((mode == CYW43_HAL_PIN_MODE_INPUT || mode == CYW43_HAL_PIN_MODE_OUTPUT) && alt == 0); in cyw43_hal_pin_config() 119 gpio_set_dir(pin, mode); in cyw43_hal_pin_config()
|
| /external/platform/lpc15xx/lpcopen/periph_spi_interrupt/example/ |
| A D | readme.dox | 2 * @brief SPI bus master example in interrupt mode 35 * This example shows how to configure SPI as a bus master in interrupt mode.<br> 38 …* using interrupt mode. The SPI is configured to be in loop back mode and the received data is com…
|
| /external/platform/lpc15xx/lpcopen/periph_mrt/example/src/ |
| A D | mrt.c | 49 static void setupMRT(uint8_t ch, MRT_MODE_T mode, uint32_t rate) in setupMRT() argument 61 Chip_MRT_SetMode(pMRT, mode); in setupMRT()
|
| /external/platform/lpc15xx/lpcopen/periph_spi_rom_interrupt/example/ |
| A D | readme.dox | 2 * @brief SPI bus master example using the ROM API and interrupt mode 35 * This example shows how to configure SPI as a bus master in interrupt mode using 39 …* using interrupt mode. The SPI is configured to be in loop back mode and the received data is com…
|
| /external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/ |
| A D | iocon_15xx.h | 109 STATIC INLINE void Chip_IOCON_PinMux(LPC_IOCON_T *pIOCON, uint8_t port, uint8_t pin, uint16_t mode,… in Chip_IOCON_PinMux() argument 111 Chip_IOCON_PinMuxSet(pIOCON, port, pin, (uint32_t) (mode | func)); in Chip_IOCON_PinMux()
|
| A D | acmp_15xx.h | 409 STATIC INLINE void Chip_ACMP_SetSampleMode(LPC_CMP_T *pACMP, uint8_t index, CHIP_ACMP_SMODE_T mode) in Chip_ACMP_SetSampleMode() argument 411 pACMP->ACMP[index].CMPFILTR = (pACMP->ACMP[index].CMPFILTR & ~ACMP_SMODE_MASK) | (uint32_t) mode; in Chip_ACMP_SetSampleMode() 436 CHIP_ACMP_SMODE_T mode, in Chip_ACMP_SetCompFiltReg() argument 439 pACMP->ACMP[index].CMPFILTR = (uint32_t) mode | (uint32_t) div; in Chip_ACMP_SetCompFiltReg()
|
| A D | crc_15xx.h | 158 STATIC INLINE void Chip_CRC_SetMode(uint32_t mode) in Chip_CRC_SetMode() argument 160 LPC_CRC->MODE = mode; in Chip_CRC_SetMode()
|
| A D | mrt_15xx.h | 222 STATIC INLINE void Chip_MRT_SetMode(LPC_MRT_CH_T *pMRT, MRT_MODE_T mode) in Chip_MRT_SetMode() argument 227 pMRT->CTRL = reg | (uint32_t) mode; in Chip_MRT_SetMode()
|
| /external/platform/nrfx/drivers/include/ |
| A D | nrfx_i2s.h | 72 nrf_i2s_mode_t mode; ///< Mode of operation. member 126 .mode = NRF_I2S_MODE_MASTER, \
|
| A D | nrfx_pdm.h | 70 nrf_pdm_mode_t mode; ///< Interface operation mode. member 117 .mode = NRF_PDM_MODE_MONO, \
|
| A D | nrfx_spis.h | 127 .mode = NRF_SPIS_MODE_0, \ 147 nrf_spis_mode_t mode; //!< SPI mode. member
|
| A D | nrfx_saadc.h | 74 .mode = NRF_SAADC_MODE_SINGLE_ENDED, \ 107 .mode = NRF_SAADC_MODE_DIFFERENTIAL, \
|
| A D | nrfx_spi.h | 107 nrf_spi_mode_t mode; ///< SPI mode. member 135 .mode = NRF_SPI_MODE_0, \
|
| A D | nrfx_spim.h | 111 nrf_spim_mode_t mode; ///< SPIM mode. member 175 .mode = NRF_SPIM_MODE_0, \
|
| A D | nrfx_timer.h | 92 nrf_timer_mode_t mode; ///< Mode of operation. member 109 .mode = NRF_TIMER_MODE_TIMER, \
|
| /external/platform/lpc15xx/lpcopen/periph_spi_polling/example/ |
| A D | readme.dox | 35 * This example shows how to configure SPI as a bus master in polling mode.<br> 38 …* using polling mode. The SPI is configured to be in loop back mode and the received data is compa…
|
| /external/platform/lpc15xx/lpcopen/periph_spi_rom_polling/example/ |
| A D | readme.dox | 35 * This example shows how to configure SPI as a bus master in polling mode using 39 …* using polling mode. The SPI is configured to be in loop back mode and the received data is compa…
|
| /external/platform/lpc15xx/lpcopen/periph_spi_rom_polling_slave/example/ |
| A D | readme.dox | 2 * @brief SPI bus slave example using the ROM API in polling mode 35 * This example shows how to configure SPI as a bus slave in polling mode using 38 * This example configures SPI as a slave to read an array of 4 words of 16 bits using polling mode.
|
| /external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/usbd/ |
| A D | usbd_hw.h | 322 ErrorCode_t (*SetTestMode)(USBD_HANDLE_T hUsb, uint8_t mode); 441 extern ErrorCode_t hwUSB_SetTestMode(USBD_HANDLE_T hUsb, uint8_t mode); /* for FS only devices retu…
|
| A D | usbd_core.h | 552 static INLINE void USB_SetSpeedMode(USB_CORE_CTRL_T* pCtrl, uint8_t mode) in USB_SetSpeedMode() argument 554 pCtrl->device_speed = mode; in USB_SetSpeedMode()
|
| /external/platform/lpc15xx/lpcopen/periph_i2cm_interrupt/example/ |
| A D | readme.dox | 2 * @brief I2CM bus master example using interrupt mode 35 * This example shows how to configure I2C as a bus master in interrupt mode using
|