ESP_RETURN_ON_FALSE_ISR(!both_dir&&!both_type,ESP_ERR_INVALID_ARG,TAG,"both C2M and M2C directions, or both data and instruction type are selected, you should only select one direction or one type");
ESP_RETURN_ON_FALSE_ISR(aligned_addr,ESP_ERR_INVALID_ARG,TAG,"start address: 0x%"PRIx32", or the size: 0x%"PRIx32" is(are) not aligned with cache line size (0x%"PRIx32")B",(uint32_t)addr,(uint32_t)size,cache_line_size);