| /bsp/tae32f5300/Libraries/TAE32F53xx_StdPeriph_Driver/src/ |
| A D | tae32f53xx_ll_dflash.c | 97 return LL_OK; in LL_DFLASH_WaitForLastOperation() 131 LL_StatusETypeDef status = LL_OK; in LL_DFLASH_Program_Byte() 139 if ((status = LL_DFLASH_WaitForLastOperation(DFLASH_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DFLASH_Program_Byte() 174 LL_StatusETypeDef status = LL_OK; in LL_DFLASH_Program_Word() 183 if ((status = LL_DFLASH_WaitForLastOperation(DFLASH_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DFLASH_Program_Word() 217 LL_StatusETypeDef status = LL_OK; in LL_DFLASH_Read_Byte() 227 if ((status = LL_DFLASH_WaitForLastOperation(DFLASH_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DFLASH_Read_Byte() 259 LL_StatusETypeDef status = LL_OK; in LL_DFLASH_Read_Word() 300 LL_StatusETypeDef status = LL_OK; in LL_DFLASH_MassErase() 328 LL_StatusETypeDef status = LL_OK; in LL_DFLASH_SectorErase() [all …]
|
| A D | tae32f53xx_ll_flash.c | 117 LL_StatusETypeDef status = LL_OK; in LL_FLASH_ReadProtectLevelConfig() 119 if ((status = LL_FLASH_WaitForLastOperation(FLASH_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_FLASH_ReadProtectLevelConfig() 150 LL_StatusETypeDef status = LL_OK; in LL_FLASH_WriteProtectConfig() 152 if ((status = LL_FLASH_WaitForLastOperation(FLASH_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_FLASH_WriteProtectConfig() 226 return LL_OK; in LL_FLASH_WaitForLastOperation() 270 LL_StatusETypeDef status = LL_OK; in LL_FLASH_Program() 279 if ((status = LL_FLASH_WaitForLastOperation(FLASH_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_FLASH_Program() 320 LL_StatusETypeDef status = LL_OK; in LL_FLASH_SectorErase() 325 if ((status = LL_FLASH_WaitForLastOperation(FLASH_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_FLASH_SectorErase() 362 LL_StatusETypeDef status = LL_OK; in LL_FLASH_MultiSectorsErase() [all …]
|
| A D | tae32f53xx_ll_dali.c | 124 return LL_OK; in LL_DALI_Init() 144 return LL_OK; in LL_DALI_DeInit() 222 return LL_OK; in LL_DALI_WaitForLastOperation() 261 if ((status = LL_DALI_WaitForLastOperation(Instance, DALI_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DALI_Master_Transmit() 298 if ((status = LL_DALI_WaitForLastOperation(Instance, DALI_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DALI_Master_Transmit_IT() 329 if ((status = LL_DALI_WaitForLastOperation(Instance, DALI_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DALI_Master_Receive() 360 if ((status = LL_DALI_WaitForLastOperation(Instance, DALI_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DALI_Master_Receive_IT() 384 if ((status = LL_DALI_WaitForLastOperation(Instance, DALI_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DALI_Slave_Transmit() 421 if ((status = LL_DALI_WaitForLastOperation(Instance, DALI_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DALI_Slave_Transmit_IT() 453 if ((status = LL_DALI_WaitForLastOperation(Instance, DALI_TIMEOUT_MAX_VALUE)) == LL_OK) { in LL_DALI_Slave_Receive() [all …]
|
| A D | tae32f53xx_ll_tmr.c | 127 return LL_OK; in LL_TMR_Init() 153 return LL_OK; in LL_TMR_DeInit() 223 return LL_OK; in LL_TMR_TB_Config() 249 return LL_OK; in LL_TMR_IC_Config() 274 return LL_OK; in LL_TMR_OC_Config() 297 return LL_OK; in LL_TMR_EXT_Config() 335 return LL_OK; in LL_TMR_Start() 352 return LL_OK; in LL_TMR_Stop() 388 return LL_OK; in LL_TMR_Start_IT() 413 return LL_OK; in LL_TMR_Stop_IT() [all …]
|
| A D | tae32f53xx_ll_dac.c | 85 return LL_OK; in LL_DAC_Init() 116 return LL_OK; in LL_DAC_DeInit() 203 return LL_OK; in LL_DAC_ChannelConfig() 249 return LL_OK; in LL_DAC_SawtoothWaveGenerate() 288 return LL_OK; in LL_DAC_TriangleWaveGenerate() 337 return LL_OK; in LL_DAC_Start() 365 return LL_OK; in LL_DAC_Stop() 396 return LL_OK; in LL_DAC_SetValue() 444 return LL_OK; in LL_DAC_SawtoothWaveDataStep() 468 return LL_OK; in LL_DAC_SawtoothWaveDataReset() [all …]
|
| A D | tae32f53xx_ll_iir.c | 95 return LL_OK; in LL_IIR_Init() 115 return LL_OK; in LL_IIR_DeInit() 198 return LL_OK; in LL_IIR_FilterConfig() 237 return LL_OK; in LL_IIR_FilterConfig_Preload() 287 return LL_OK; in LL_IIR_FilterStart() 318 return LL_OK; in LL_IIR_FilterStart_IT() 349 return LL_OK; in LL_IIR_FilterBufferReset()
|
| A D | tae32f53xx_ll.c | 184 return LL_OK; in LL_Init() 202 return LL_OK; in LL_DeInit() 262 return LL_OK; in LL_InitTick() 332 LL_StatusETypeDef status = LL_OK; in LL_SetTickFreq() 339 if (status == LL_OK) { in LL_SetTickFreq()
|
| A D | tae32f53xx_ll_uart.c | 155 return LL_OK; in LL_UART_Init() 168 return LL_OK; in LL_UART_DeInit() 261 return LL_OK; in LL_UART_Transmit_CPU() 315 return LL_OK; in LL_UART_Receive_CPU() 331 return LL_OK; in LL_UART_Transmit_IT() 347 return LL_OK; in LL_UART_Receive_IT() 417 return LL_OK; in LL_UART_Transmit_DMA() 486 return LL_OK; in LL_UART_Receive_DMA() 517 return LL_OK; in LL_Uart_9bit_SendAddress() 557 return LL_OK; in LL_UART_RS485Cfg() [all …]
|
| A D | tae32f53xx_ll_fpll.c | 67 return LL_OK; in LL_FPLL_Init() 80 return LL_OK; in LL_FPLL_DeInit() 139 return LL_OK; in LL_FPLL_DivStart()
|
| A D | tae32f53xx_ll_cmp.c | 83 return LL_OK; in LL_CMP_Init() 108 return LL_OK; in LL_CMP_DeInit() 212 return LL_OK; in LL_CMP_ChannelConfig() 259 return LL_OK; in LL_CMP_Start() 287 return LL_OK; in LL_CMP_Stop()
|
| A D | tae32f53xx_ll_wwdg.c | 111 return LL_OK; in LL_WWDG_Init() 131 return LL_OK; in LL_WWDG_DeInit() 189 return LL_OK; in LL_WWDG_Refresh()
|
| A D | tae32f53xx_ll_sysctrl.c | 281 return LL_OK; in LL_SYSCTRL_GPIOA_DbcClkCfg() 302 return LL_OK; in LL_SYSCTRL_GPIOB_DbcClkCfg() 323 return LL_OK; in LL_SYSCTRL_GPIOC_DbcClkCfg() 344 return LL_OK; in LL_SYSCTRL_GPIOD_DbcClkCfg() 365 return LL_OK; in LL_SYSCTRL_DFLASH_ClkCfg() 386 return LL_OK; in LL_SYSCTRL_EFLASH_ClkCfg() 407 return LL_OK; in LL_SYSCTRL_ADC_FuncClkCfg() 428 return LL_OK; in LL_SYSCTRL_HRPWM_FuncClkCfg() 585 return LL_OK; in LL_SYSCTRL_Pll0Cfg() 673 return LL_OK; in LL_SYSCTRL_Pll1Cfg() [all …]
|
| A D | tae32f53xx_ll_dma.c | 189 return LL_OK; in LL_DMA_Init() 228 return LL_OK; in LL_DMA_DeInit() 370 return LL_OK; in LL_DMA_Start_CPU() 423 return LL_OK; in LL_DMA_Stop_CPU() 438 if (ret != LL_OK) { in LL_DMA_Stop_IT() 454 return LL_OK; in LL_DMA_Stop_IT() 482 ret = LL_OK; in LL_DMA_WaitComplete_CPU() 505 ret = LL_OK; in LL_DMA_WaitComplete_CPU()
|
| A D | tae32f53xx_ll_i2c.c | 232 return LL_OK; in LL_I2C_Init() 251 return LL_OK; in LL_I2C_DeInit() 400 return LL_OK; in LL_I2C_SlaveRead_CPU() 504 return LL_OK; in LL_I2C_SlaveWrite_CPU() 580 return LL_OK; in LL_SMBUS_SlaveRead_CPU() 692 return LL_OK; in LL_SMBUS_SlaveWrite_CPU() 727 return LL_OK; in LL_SMBUS_MasterWrite_IT() 772 return LL_OK; in LL_SMBUS_MasterRead_IT() 796 return LL_OK; in LL_SMBUS_SlaveWrite_IT() 819 return LL_OK; in LL_SMBUS_SlaveRead_IT() [all …]
|
| A D | tae32f53xx_ll_iwdg.c | 152 return LL_OK; in LL_IWDG_Init() 178 return LL_OK; in LL_IWDG_DeInit() 252 return LL_OK; in LL_IWDG_Refresh()
|
| A D | tae32f53xx_ll_hrpwm.c | 141 return LL_OK; in LL_HRPWM_Init() 163 return LL_OK; in LL_HRPWM_DeInit() 232 return LL_OK; in LL_HRPWM_DLLStartConfig() 245 return LL_OK; in LL_HRPWM_DLLStart() 291 return LL_OK; in LL_HRPWM_TimerBaseConfig() 332 return LL_OK; in LL_HRPWM_TimerCompareConfig() 376 return LL_OK; in LL_HRPWM_StartCounter() 401 return LL_OK; in LL_HRPWM_StopCounter() 477 return LL_OK; in LL_HRPWM_TimerUintRollOverContrl() 531 return LL_OK; in LL_HRPWM_TimerDualChannelDacConfig() [all …]
|
| A D | tae32f53xx_ll_lvdctrl.c | 73 return LL_OK; in LL_LVD_Init() 92 return LL_OK; in LL_LVD_DeInit()
|
| /bsp/hc32/libraries/hc32_drivers/ |
| A D | drv_rtc.c | 76 int32_t i32Ret = LL_OK; in _bakup_reg_check() 100 if (LL_OK == RTC_EnterRwMode()) in _hc32_rtc_rw_check() 103 if (LL_OK == RTC_ExitRwMode()) in _hc32_rtc_rw_check() 105 i32Ret = LL_OK; in _hc32_rtc_rw_check() 120 if (LL_OK != RTC_GetTime(RTC_DATA_FMT_DEC, &stcRtcTime)) in _rtc_get_timeval() 124 if (LL_OK != RTC_GetDate(RTC_DATA_FMT_DEC, &stcRtcDate)) in _rtc_get_timeval() 162 if (LL_OK != RTC_SetTime(RTC_DATA_FMT_DEC, &stcRtcTime)) in hc32_rtc_set_time_stamp() 166 if (LL_OK != RTC_SetDate(RTC_DATA_FMT_DEC, &stcRtcDate)) in hc32_rtc_set_time_stamp() 219 …if ((SET == VBAT_PowerDownCheck()) || (LL_OK != _bakup_reg_check()) || (LL_OK != _hc32_rtc_rw_chec… in _rtc_init() 221 if ((LL_OK != _bakup_reg_check()) || (LL_OK != _hc32_rtc_rw_check())) in _rtc_init()
|
| A D | drv_nand.c | 154 if (LL_OK == EXMC_NFC_Init(&nfc_init_params)) in _nand_init() 157 if (LL_OK == EXMC_NFC_Reset(hw_nand->nfc_bank, NAND_RESET_TIMEOUT)) in _nand_init() 218 if (LL_OK == EXMC_NFC_EraseBlock(hw_nand->nfc_bank, block_num, NAND_ERASE_TIMEOUT)) in _nand_erase_block() 287 … if (LL_OK != EXMC_NFC_ReadPageMeta(hw_nand->nfc_bank, page, data, data_len, NAND_READ_TIMEOUT)) in _nand_read_page() 295 … if (LL_OK != EXMC_NFC_ReadPageHwEcc(hw_nand->nfc_bank, page, data, data_len, NAND_READ_TIMEOUT)) in _nand_read_page() 319 if (LL_OK != EXMC_NFC_Read(&stcColumn, (rt_uint32_t *)spare, in _nand_read_page() 358 … if (LL_OK != EXMC_NFC_WritePageMeta(hw_nand->nfc_bank, page, data, data_len, NAND_WRITE_TIMEOUT)) in _nand_write_page() 366 … if (LL_OK != EXMC_NFC_WritePageHwEcc(hw_nand->nfc_bank, page, data, data_len, NAND_WRITE_TIMEOUT)) in _nand_write_page() 387 if (LL_OK != EXMC_NFC_Write(&stcColumn, (rt_uint32_t *)spare, in _nand_write_page()
|
| A D | drv_qspi.c | 154 if (LL_OK != DMA_Init(qspi_dma->Instance, qspi_dma->channel, &stcDmaInit)) in hc32_qspi_init() 174 return LL_OK; in hc32_qspi_search_rom_cmd() 241 return LL_OK; in hc32_qspi_check_direct_comm_param() 339 return LL_OK; in hc32_qspi_send_cmd() 423 int32_t i32Ret = LL_OK; in hc32_qspi_write_instr() 580 int32_t i32Ret = LL_OK; in hc32_qspi_read_instr() 773 int32_t i32Ret = LL_OK; in hc32_qspi_read() 792 if (LL_OK == hc32_qspi_search_rom_cmd(u8Instr)) in hc32_qspi_read() 944 if (LL_OK == hc32_qspi_write(qspi_bus, qspi_message)) in qspixfer() 963 if (LL_OK != hc32_qspi_send_cmd(qspi_bus, qspi_message, QSPI_READ_FUNC)) in qspixfer() [all …]
|
| A D | drv_i2c.c | 153 if (LL_OK != I2C_Start(i2c_obj->config->Instance, i2c_obj->config->timeout)) in hc32_hw_i2c_start() 163 if (LL_OK != I2C_Restart(i2c_obj->config->Instance, i2c_obj->config->timeout)) in hc32_hw_i2c_restart() 175 if (LL_OK != I2C_TransAddr(i2c_obj->config->Instance, msg->addr, dir, i2c_obj->config->timeout)) in hc32_hw_i2c_send_addr() 184 if (LL_OK != I2C_Stop(i2c_obj->config->Instance, i2c_obj->config->timeout)) in hc32_hw_i2c_stop() 280 …if (LL_OK != DMA_Init(i2c_obj->config->i2c_tx_dma->Instance, i2c_obj->config->i2c_tx_dma->channel,… in hc32_i2c_dma_configure() 302 …if (LL_OK != DMA_Init(i2c_obj->config->i2c_rx_dma->Instance, i2c_obj->config->i2c_rx_dma->channel,… in hc32_i2c_dma_configure() 342 …while ((LL_OK != I2C_WaitStatus(i2c_obj->config->Instance, I2C_FLAG_TX_CPLT, SET, 1)) && (timeCnt … in I2C_Master_Transmit_DMA() 390 …while ((LL_OK != I2C_WaitStatus(i2c_obj->config->Instance, I2C_FLAG_RX_FULL, SET, 1)) && (timeCnt … in I2C_Master_Receive_DMA() 404 …while ((LL_OK != I2C_WaitStatus(i2c_obj->config->Instance, I2C_FLAG_RX_FULL, SET, 1)) && (timeCnt … in I2C_Master_Receive_DMA() 419 …while ((LL_OK != I2C_WaitStatus(i2c_obj->config->Instance, I2C_FLAG_STOP, SET, 1)) && (timeCnt < i… in I2C_Master_Receive_DMA()
|
| /bsp/hc32/tests/ |
| A D | test_spi.c | 144 i32Ret = LL_OK; in w25q_check_process_done() 157 int32_t i32Ret = LL_OK; in w25q_read_data() 174 int32_t i32Ret = LL_OK; in w25q_write_data() 208 if (i32Ret != LL_OK) in w25q_write_data() 225 int32_t i32Ret = LL_OK; in w25q_erase_sector() 251 if (LL_OK != w25q_check_process_done(device, 500U)) in w25q_erase_sector() 271 if (LL_OK != w25q_erase_sector(device, u32Addr, W25Q_SPI_DATA_BUF_LEN)) in w25q_write_read_data() 275 if (LL_OK != w25q_write_data(device, u32Addr, u8WrBuf, W25Q_SPI_DATA_BUF_LEN)) in w25q_write_read_data() 279 if (LL_OK != w25q_read_data(device, u32Addr, u8RdBuf, W25Q_SPI_DATA_BUF_LEN)) in w25q_write_read_data()
|
| A D | test_qspi.c | 164 i32Ret = LL_OK; in w25q_check_process_done() 346 if (LL_OK != w25q_check_process_done(device, 500U)) in w25q_write_sr() 355 int32_t i32Ret = LL_OK; in w25q_read_data() 373 int32_t i32Ret = LL_OK; in w25q_write_data() 417 if (i32Ret != LL_OK) in w25q_write_data() 434 int32_t i32Ret = LL_OK; in w25q_erase_sector() 460 if (LL_OK != w25q_check_process_done(device, 500U)) in w25q_erase_sector() 480 if (LL_OK != w25q_erase_sector(device, u32Addr, W25Q_QSPI_DATA_BUF_LEN)) in w25q_write_read_data() 484 if (LL_OK != w25q_write_data(device, u32Addr, u8WrBuf, W25Q_QSPI_DATA_BUF_LEN)) in w25q_write_read_data() 488 if (LL_OK != w25q_read_data(device, u32Addr, u8RdBuf, W25Q_QSPI_DATA_BUF_LEN)) in w25q_write_read_data()
|
| /bsp/tae32f5300/Libraries/TAE32F53xx_StdPeriph_Driver/inc/ |
| A D | tae32f53xx_ll_flash.h | 304 return LL_OK; in LL_FLASH_Unlock() 318 return LL_OK; in LL_FLASH_Lock() 332 return LL_OK; in LL_FLASH_PF_Unlock() 346 return LL_OK; in LL_FLASH_PF_Lock() 360 return LL_OK; in LL_FLASH_PF_Launch()
|
| /bsp/hc32/libraries/hc32_drivers/drv_flash/ |
| A D | drv_flash_f4.c | 61 if (LL_OK != EFM_ReadByte(addr, buf, size)) in hc32_flash_read() 120 if (LL_OK == EFM_ReadByte(newAddr - HC32_FLASH_WRITE_GRANULARITY, u8MemBuf, index)) in hc32_flash_write() 127 …if (LL_OK == EFM_Program(newAddr - HC32_FLASH_WRITE_GRANULARITY, u8MemBuf, HC32_FLASH_WRITE_GRANUL… in hc32_flash_write() 140 if (LL_OK != EFM_Program(newAddr, (uint8_t *)&buf[offsetVal], size)) in hc32_flash_write() 199 if (LL_OK != EFM_SectorErase(u32Addr)) in hc32_flash_erase()
|