1 // Copyright (C) 2022 Beken Corporation 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 /*********************************************************************************************************************************** 16 * This file is generated from BK7256_ADDR Mapping_20211224_format_change_highlight_20220113_update.xlsm automatically 17 * Modify it manually is not recommended 18 * CHIP ID:BK7256,GENARATE TIME:2022-03-17 20:29:39 19 ************************************************************************************************************************************/ 20 21 #pragma once 22 23 #include <soc/soc.h> 24 #include "system_hw.h" 25 #include "sys_ll_macro_def.h" 26 #include "sys_ll_op_if.h" 27 28 #ifdef __cplusplus 29 extern "C" { 30 #endif 31 32 #if 0 33 34 /* REG_0x00 */ 35 36 static inline uint32_t sys_ll_get_device_id_value(sys_hw_t *hw) 37 { 38 return hw->device_id.v; 39 } 40 41 /* REG_0x00:device_id->DeviceID:0x0[31:0], ,0x53434647,RO*/ 42 static inline uint32_t sys_ll_get_device_id_deviceid(sys_hw_t *hw) 43 { 44 return hw->device_id.v; 45 } 46 47 /* REG_0x01 */ 48 49 static inline uint32_t sys_ll_get_version_id_value(sys_hw_t *hw) 50 { 51 return hw->version_id.v; 52 } 53 54 /* REG_0x01:version_id->VersionID:0x1[31:0], ,0x72560001,RO*/ 55 static inline uint32_t sys_ll_get_version_id_versionid(sys_hw_t *hw) 56 { 57 return hw->version_id.v; 58 } 59 60 /* REG_0x02 */ 61 62 static inline uint32_t sys_ll_get_cpu_current_run_status_value(sys_hw_t *hw) 63 { 64 return hw->cpu_current_run_status.v; 65 } 66 67 /* REG_0x02:cpu_current_run_status->core0_halted:0x2[0],core0 halt indicate,0,RO*/ 68 static inline uint32_t sys_ll_get_cpu_current_run_status_core0_halted(sys_hw_t *hw) 69 { 70 return hw->cpu_current_run_status.core0_halted; 71 } 72 73 /* REG_0x02:cpu_current_run_status->core1_halted:0x2[1],core1 halt indicate,0,RO*/ 74 static inline uint32_t sys_ll_get_cpu_current_run_status_core1_halted(sys_hw_t *hw) 75 { 76 return hw->cpu_current_run_status.core1_halted; 77 } 78 79 /* REG_0x02:cpu_current_run_status->cpu0_sw_reset:0x2[4],cpu0_sw_reset indicate,0,RO*/ 80 static inline uint32_t sys_ll_get_cpu_current_run_status_cpu0_sw_reset(sys_hw_t *hw) 81 { 82 return hw->cpu_current_run_status.cpu0_sw_reset; 83 } 84 85 /* REG_0x02:cpu_current_run_status->cpu1_sw_reset:0x2[5],cpu1_sw_reset indicate,0,RO*/ 86 static inline uint32_t sys_ll_get_cpu_current_run_status_cpu1_sw_reset(sys_hw_t *hw) 87 { 88 return hw->cpu_current_run_status.cpu1_sw_reset; 89 } 90 91 /* REG_0x02:cpu_current_run_status->cpu0_pwr_dw_state:0x2[8],cpu0_pwr_dw_state,0,RO*/ 92 static inline uint32_t sys_ll_get_cpu_current_run_status_cpu0_pwr_dw_state(sys_hw_t *hw) 93 { 94 return hw->cpu_current_run_status.cpu0_pwr_dw_state; 95 } 96 97 /* REG_0x02:cpu_current_run_status->cpu1_pwr_dw_state:0x2[9],cpu1_pwr_dw_state,0,RO*/ 98 static inline uint32_t sys_ll_get_cpu_current_run_status_cpu1_pwr_dw_state(sys_hw_t *hw) 99 { 100 return hw->cpu_current_run_status.cpu1_pwr_dw_state; 101 } 102 103 /* REG_0x03 */ 104 105 static inline uint32_t sys_ll_get_cpu_storage_connect_op_select_value(sys_hw_t *hw) 106 { 107 return hw->cpu_storage_connect_op_select.v; 108 } 109 110 static inline void sys_ll_set_cpu_storage_connect_op_select_value(sys_hw_t *hw, uint32_t value) 111 { 112 hw->cpu_storage_connect_op_select.v = value; 113 } 114 115 /* REG_0x03:cpu_storage_connect_op_select->boot_mode:0x3[0],0:ROM boot 1:FLASH boot,0,R/W*/ 116 static inline uint32_t sys_ll_get_cpu_storage_connect_op_select_boot_mode(sys_hw_t *hw) 117 { 118 return hw->cpu_storage_connect_op_select.boot_mode; 119 } 120 121 static inline void sys_ll_set_cpu_storage_connect_op_select_boot_mode(sys_hw_t *hw, uint32_t value) 122 { 123 hw->cpu_storage_connect_op_select.boot_mode = value; 124 } 125 126 /* REG_0x03:cpu_storage_connect_op_select->rf_switch_en:0x3[4],0: rf switch by PTA; 1: rf switch by SW,0,R/W*/ 127 static inline uint32_t sys_ll_get_cpu_storage_connect_op_select_rf_switch_en(sys_hw_t *hw) 128 { 129 return hw->cpu_storage_connect_op_select.rf_switch_en; 130 } 131 132 static inline void sys_ll_set_cpu_storage_connect_op_select_rf_switch_en(sys_hw_t *hw, uint32_t value) 133 { 134 hw->cpu_storage_connect_op_select.rf_switch_en = value; 135 } 136 137 /* REG_0x03:cpu_storage_connect_op_select->rf_for_wifiorbt:0x3[5],0: rf for wifi; 1: rf for bt,0,R/W*/ 138 static inline uint32_t sys_ll_get_cpu_storage_connect_op_select_rf_for_wifiorbt(sys_hw_t *hw) 139 { 140 return hw->cpu_storage_connect_op_select.rf_for_wifiorbt; 141 } 142 143 static inline void sys_ll_set_cpu_storage_connect_op_select_rf_for_wifiorbt(sys_hw_t *hw, uint32_t value) 144 { 145 hw->cpu_storage_connect_op_select.rf_for_wifiorbt = value; 146 } 147 148 /* REG_0x03:cpu_storage_connect_op_select->jtag_core_sel:0x3[8],0:jtag connect core0, 1:jtag connect core1,0,R/W*/ 149 static inline uint32_t sys_ll_get_cpu_storage_connect_op_select_jtag_core_sel(sys_hw_t *hw) 150 { 151 return hw->cpu_storage_connect_op_select.jtag_core_sel; 152 } 153 154 static inline void sys_ll_set_cpu_storage_connect_op_select_jtag_core_sel(sys_hw_t *hw, uint32_t value) 155 { 156 hw->cpu_storage_connect_op_select.jtag_core_sel = value; 157 } 158 159 /* REG_0x03:cpu_storage_connect_op_select->flash_sel:0x3[9],0: normal flash operation 1:flash download by spi,0,R/W*/ 160 static inline uint32_t sys_ll_get_cpu_storage_connect_op_select_flash_sel(sys_hw_t *hw) 161 { 162 return hw->cpu_storage_connect_op_select.flash_sel; 163 } 164 165 static inline void sys_ll_set_cpu_storage_connect_op_select_flash_sel(sys_hw_t *hw, uint32_t value) 166 { 167 hw->cpu_storage_connect_op_select.flash_sel = value; 168 } 169 170 /* REG_0x04 */ 171 172 static inline uint32_t sys_ll_get_cpu0_int_halt_clk_op_value(sys_hw_t *hw) 173 { 174 return hw->cpu0_int_halt_clk_op.v; 175 } 176 177 static inline void sys_ll_set_cpu0_int_halt_clk_op_value(sys_hw_t *hw, uint32_t value) 178 { 179 hw->cpu0_int_halt_clk_op.v = value; 180 } 181 182 /* REG_0x04:cpu0_int_halt_clk_op->cpu0_sw_rst:0x4[0],reserved,0,R/W*/ 183 static inline uint32_t sys_ll_get_cpu0_int_halt_clk_op_cpu0_sw_rst(sys_hw_t *hw) 184 { 185 return hw->cpu0_int_halt_clk_op.cpu0_sw_rst; 186 } 187 188 static inline void sys_ll_set_cpu0_int_halt_clk_op_cpu0_sw_rst(sys_hw_t *hw, uint32_t value) 189 { 190 hw->cpu0_int_halt_clk_op.cpu0_sw_rst = value; 191 } 192 193 /* REG_0x04:cpu0_int_halt_clk_op->cpu0_pwr_dw:0x4[1],reserved,0,R/W*/ 194 static inline uint32_t sys_ll_get_cpu0_int_halt_clk_op_cpu0_pwr_dw(sys_hw_t *hw) 195 { 196 return hw->cpu0_int_halt_clk_op.cpu0_pwr_dw; 197 } 198 199 static inline void sys_ll_set_cpu0_int_halt_clk_op_cpu0_pwr_dw(sys_hw_t *hw, uint32_t value) 200 { 201 hw->cpu0_int_halt_clk_op.cpu0_pwr_dw = value; 202 } 203 204 /* REG_0x04:cpu0_int_halt_clk_op->cpu0_int_mask:0x4[2],cpu0 int mask,0,R/W*/ 205 static inline uint32_t sys_ll_get_cpu0_int_halt_clk_op_cpu0_int_mask(sys_hw_t *hw) 206 { 207 return hw->cpu0_int_halt_clk_op.cpu0_int_mask; 208 } 209 210 static inline void sys_ll_set_cpu0_int_halt_clk_op_cpu0_int_mask(sys_hw_t *hw, uint32_t value) 211 { 212 hw->cpu0_int_halt_clk_op.cpu0_int_mask = value; 213 } 214 215 /* REG_0x04:cpu0_int_halt_clk_op->cpu0_halt:0x4[3],core0 halt indicate,0,R/W*/ 216 static inline uint32_t sys_ll_get_cpu0_int_halt_clk_op_cpu0_halt(sys_hw_t *hw) 217 { 218 return hw->cpu0_int_halt_clk_op.cpu0_halt; 219 } 220 221 static inline void sys_ll_set_cpu0_int_halt_clk_op_cpu0_halt(sys_hw_t *hw, uint32_t value) 222 { 223 hw->cpu0_int_halt_clk_op.cpu0_halt = value; 224 } 225 226 /* REG_0x04:cpu0_int_halt_clk_op->cpu0_clk_div:0x4[7:4],Frequency division : F/(1+N), N is the data of the reg value,0,R/W*/ 227 static inline uint32_t sys_ll_get_cpu0_int_halt_clk_op_cpu0_clk_div(sys_hw_t *hw) 228 { 229 return hw->cpu0_int_halt_clk_op.cpu0_clk_div; 230 } 231 232 static inline void sys_ll_set_cpu0_int_halt_clk_op_cpu0_clk_div(sys_hw_t *hw, uint32_t value) 233 { 234 hw->cpu0_int_halt_clk_op.cpu0_clk_div = value; 235 } 236 237 /* REG_0x04:cpu0_int_halt_clk_op->cpu0_offset:0x4[31:8],reserved,0x0,RO*/ 238 static inline uint32_t sys_ll_get_cpu0_int_halt_clk_op_cpu0_offset(sys_hw_t *hw) 239 { 240 return hw->cpu0_int_halt_clk_op.cpu0_offset; 241 } 242 243 /* REG_0x05 */ 244 245 static inline uint32_t sys_ll_get_cpu1_int_halt_clk_op_value(sys_hw_t *hw) 246 { 247 return hw->cpu1_int_halt_clk_op.v; 248 } 249 250 static inline void sys_ll_set_cpu1_int_halt_clk_op_value(sys_hw_t *hw, uint32_t value) 251 { 252 hw->cpu1_int_halt_clk_op.v = value; 253 } 254 255 /* REG_0x05:cpu1_int_halt_clk_op->cpu1_sw_rst:0x5[0],reserved,0,R/W*/ 256 static inline uint32_t sys_ll_get_cpu1_int_halt_clk_op_cpu1_sw_rst(sys_hw_t *hw) 257 { 258 return hw->cpu1_int_halt_clk_op.cpu1_sw_rst; 259 } 260 261 static inline void sys_ll_set_cpu1_int_halt_clk_op_cpu1_sw_rst(sys_hw_t *hw, uint32_t value) 262 { 263 hw->cpu1_int_halt_clk_op.cpu1_sw_rst = value; 264 } 265 266 /* REG_0x05:cpu1_int_halt_clk_op->cpu1_pwr_dw:0x5[1],reserved,0,R/W*/ 267 static inline uint32_t sys_ll_get_cpu1_int_halt_clk_op_cpu1_pwr_dw(sys_hw_t *hw) 268 { 269 return hw->cpu1_int_halt_clk_op.cpu1_pwr_dw; 270 } 271 272 static inline void sys_ll_set_cpu1_int_halt_clk_op_cpu1_pwr_dw(sys_hw_t *hw, uint32_t value) 273 { 274 hw->cpu1_int_halt_clk_op.cpu1_pwr_dw = value; 275 } 276 277 /* REG_0x05:cpu1_int_halt_clk_op->cpu1_int_mask:0x5[2],cpu1 int mask,0,R/W*/ 278 static inline uint32_t sys_ll_get_cpu1_int_halt_clk_op_cpu1_int_mask(sys_hw_t *hw) 279 { 280 return hw->cpu1_int_halt_clk_op.cpu1_int_mask; 281 } 282 283 static inline void sys_ll_set_cpu1_int_halt_clk_op_cpu1_int_mask(sys_hw_t *hw, uint32_t value) 284 { 285 hw->cpu1_int_halt_clk_op.cpu1_int_mask = value; 286 } 287 288 /* REG_0x05:cpu1_int_halt_clk_op->cpu1_halt:0x5[3],core1 halt indicate,0,R/W*/ 289 static inline uint32_t sys_ll_get_cpu1_int_halt_clk_op_cpu1_halt(sys_hw_t *hw) 290 { 291 return hw->cpu1_int_halt_clk_op.cpu1_halt; 292 } 293 294 static inline void sys_ll_set_cpu1_int_halt_clk_op_cpu1_halt(sys_hw_t *hw, uint32_t value) 295 { 296 hw->cpu1_int_halt_clk_op.cpu1_halt = value; 297 } 298 299 /* REG_0x05:cpu1_int_halt_clk_op->cpu1_clk_div:0x5[7:4],Frequency division : F/(1+N), N is the data of the reg value,0,R/W*/ 300 static inline uint32_t sys_ll_get_cpu1_int_halt_clk_op_cpu1_clk_div(sys_hw_t *hw) 301 { 302 return hw->cpu1_int_halt_clk_op.cpu1_clk_div; 303 } 304 305 static inline void sys_ll_set_cpu1_int_halt_clk_op_cpu1_clk_div(sys_hw_t *hw, uint32_t value) 306 { 307 hw->cpu1_int_halt_clk_op.cpu1_clk_div = value; 308 } 309 310 /* REG_0x05:cpu1_int_halt_clk_op->cpu1_offset:0x5[31:8],reserved,0x0,R/W*/ 311 static inline uint32_t sys_ll_get_cpu1_int_halt_clk_op_cpu1_offset(sys_hw_t *hw) 312 { 313 return hw->cpu1_int_halt_clk_op.cpu1_offset; 314 } 315 316 static inline void sys_ll_set_cpu1_int_halt_clk_op_cpu1_offset(sys_hw_t *hw, uint32_t value) 317 { 318 hw->cpu1_int_halt_clk_op.cpu1_offset = value; 319 } 320 321 /* REG_0x06 */ 322 323 /* REG_0x08 */ 324 325 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_value(sys_hw_t *hw) 326 { 327 return hw->cpu_clk_div_mode1.v; 328 } 329 330 static inline void sys_ll_set_cpu_clk_div_mode1_value(sys_hw_t *hw, uint32_t value) 331 { 332 hw->cpu_clk_div_mode1.v = value; 333 } 334 335 /* REG_0x08:cpu_clk_div_mode1->clkdiv_core:0x8[3:0],Frequency division : F/(1+N), N is the data of the reg value,0,R/W*/ 336 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_clkdiv_core(sys_hw_t *hw) 337 { 338 return hw->cpu_clk_div_mode1.clkdiv_core; 339 } 340 341 static inline void sys_ll_set_cpu_clk_div_mode1_clkdiv_core(sys_hw_t *hw, uint32_t value) 342 { 343 hw->cpu_clk_div_mode1.clkdiv_core = value; 344 } 345 346 /* REG_0x08:cpu_clk_div_mode1->cksel_core:0x8[5:4],0:XTAL 1 : clk_DCO 2 : 320M 3 : 480M,0,R/W*/ 347 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_core(sys_hw_t *hw) 348 { 349 return hw->cpu_clk_div_mode1.cksel_core; 350 } 351 352 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_core(sys_hw_t *hw, uint32_t value) 353 { 354 hw->cpu_clk_div_mode1.cksel_core = value; 355 } 356 357 /* REG_0x08:cpu_clk_div_mode1->clkdiv_bus:0x8[6],Frequency division : F/(1+N), N is the data of the reg value,0,R/W*/ 358 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_clkdiv_bus(sys_hw_t *hw) 359 { 360 return hw->cpu_clk_div_mode1.clkdiv_bus; 361 } 362 363 static inline void sys_ll_set_cpu_clk_div_mode1_clkdiv_bus(sys_hw_t *hw, uint32_t value) 364 { 365 hw->cpu_clk_div_mode1.clkdiv_bus = value; 366 } 367 368 /* REG_0x08:cpu_clk_div_mode1->clkdiv_uart0:0x8[9:8],Frequency division : 0:/1 1:/2 2:/4 3:/8,0,R/W*/ 369 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_clkdiv_uart0(sys_hw_t *hw) 370 { 371 return hw->cpu_clk_div_mode1.clkdiv_uart0; 372 } 373 374 static inline void sys_ll_set_cpu_clk_div_mode1_clkdiv_uart0(sys_hw_t *hw, uint32_t value) 375 { 376 hw->cpu_clk_div_mode1.clkdiv_uart0 = value; 377 } 378 379 /* REG_0x08:cpu_clk_div_mode1->clksel_uart0:0x8[10],0:XTAL 1:APLL,0,R/W*/ 380 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_clksel_uart0(sys_hw_t *hw) 381 { 382 return hw->cpu_clk_div_mode1.clksel_uart0; 383 } 384 385 static inline void sys_ll_set_cpu_clk_div_mode1_clksel_uart0(sys_hw_t *hw, uint32_t value) 386 { 387 hw->cpu_clk_div_mode1.clksel_uart0 = value; 388 } 389 390 /* REG_0x08:cpu_clk_div_mode1->clkdiv_uart1:0x8[12:11],Frequency division : 0:/1 1:/2 2:/4 3:/8,0,R/W*/ 391 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_clkdiv_uart1(sys_hw_t *hw) 392 { 393 return hw->cpu_clk_div_mode1.clkdiv_uart1; 394 } 395 396 static inline void sys_ll_set_cpu_clk_div_mode1_clkdiv_uart1(sys_hw_t *hw, uint32_t value) 397 { 398 hw->cpu_clk_div_mode1.clkdiv_uart1 = value; 399 } 400 401 /* REG_0x08:cpu_clk_div_mode1->cksel_uart1:0x8[13],0:XTAL 1:APLL,0,R/W*/ 402 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_uart1(sys_hw_t *hw) 403 { 404 return hw->cpu_clk_div_mode1.cksel_uart1; 405 } 406 407 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_uart1(sys_hw_t *hw, uint32_t value) 408 { 409 hw->cpu_clk_div_mode1.cksel_uart1 = value; 410 } 411 412 /* REG_0x08:cpu_clk_div_mode1->clkdiv_uart2:0x8[15:14],Frequency division : 0:/1 1:/2 2:/4 3:/8,0,R/W*/ 413 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_clkdiv_uart2(sys_hw_t *hw) 414 { 415 return hw->cpu_clk_div_mode1.clkdiv_uart2; 416 } 417 418 static inline void sys_ll_set_cpu_clk_div_mode1_clkdiv_uart2(sys_hw_t *hw, uint32_t value) 419 { 420 hw->cpu_clk_div_mode1.clkdiv_uart2 = value; 421 } 422 423 /* REG_0x08:cpu_clk_div_mode1->cksel_uart2:0x8[16],0:XTAL 1:APLL,0,R/W*/ 424 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_uart2(sys_hw_t *hw) 425 { 426 return hw->cpu_clk_div_mode1.cksel_uart2; 427 } 428 429 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_uart2(sys_hw_t *hw, uint32_t value) 430 { 431 hw->cpu_clk_div_mode1.cksel_uart2 = value; 432 } 433 434 /* REG_0x08:cpu_clk_div_mode1->cksel_sadc:0x8[17],0:XTAL 1:APLL,0,R/W*/ 435 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_sadc(sys_hw_t *hw) 436 { 437 return hw->cpu_clk_div_mode1.cksel_sadc; 438 } 439 440 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_sadc(sys_hw_t *hw, uint32_t value) 441 { 442 hw->cpu_clk_div_mode1.cksel_sadc = value; 443 } 444 445 /* REG_0x08:cpu_clk_div_mode1->cksel_pwm0:0x8[18],0:clk32 1:XTAL,0,R/W*/ 446 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_pwm0(sys_hw_t *hw) 447 { 448 return hw->cpu_clk_div_mode1.cksel_pwm0; 449 } 450 451 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_pwm0(sys_hw_t *hw, uint32_t value) 452 { 453 hw->cpu_clk_div_mode1.cksel_pwm0 = value; 454 } 455 456 /* REG_0x08:cpu_clk_div_mode1->cksel_pwm1:0x8[19],0:clk32 1:XTAL,0,R/W*/ 457 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_pwm1(sys_hw_t *hw) 458 { 459 return hw->cpu_clk_div_mode1.cksel_pwm1; 460 } 461 462 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_pwm1(sys_hw_t *hw, uint32_t value) 463 { 464 hw->cpu_clk_div_mode1.cksel_pwm1 = value; 465 } 466 467 /* REG_0x08:cpu_clk_div_mode1->cksel_timer0:0x8[20],0:clk32 1:XTAL,0,R/W*/ 468 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_timer0(sys_hw_t *hw) 469 { 470 return hw->cpu_clk_div_mode1.cksel_timer0; 471 } 472 473 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_timer0(sys_hw_t *hw, uint32_t value) 474 { 475 hw->cpu_clk_div_mode1.cksel_timer0 = value; 476 } 477 478 /* REG_0x08:cpu_clk_div_mode1->cksel_timer1:0x8[21],0:clk32 1:XTAL,0,R/W*/ 479 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_timer1(sys_hw_t *hw) 480 { 481 return hw->cpu_clk_div_mode1.cksel_timer1; 482 } 483 484 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_timer1(sys_hw_t *hw, uint32_t value) 485 { 486 hw->cpu_clk_div_mode1.cksel_timer1 = value; 487 } 488 489 /* REG_0x08:cpu_clk_div_mode1->cksel_timer2:0x8[22],0:clk32 1:XTAL,0,R/W*/ 490 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_timer2(sys_hw_t *hw) 491 { 492 return hw->cpu_clk_div_mode1.cksel_timer2; 493 } 494 495 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_timer2(sys_hw_t *hw, uint32_t value) 496 { 497 hw->cpu_clk_div_mode1.cksel_timer2 = value; 498 } 499 500 /* REG_0x08:cpu_clk_div_mode1->cksel_can:0x8[23],0:XTAL 1:80M,0,R/W*/ 501 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_can(sys_hw_t *hw) 502 { 503 return hw->cpu_clk_div_mode1.cksel_can; 504 } 505 506 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_can(sys_hw_t *hw, uint32_t value) 507 { 508 hw->cpu_clk_div_mode1.cksel_can = value; 509 } 510 511 /* REG_0x08:cpu_clk_div_mode1->cksel_i2s:0x8[24],0:XTAL 1:APLL,0,R/W*/ 512 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_i2s(sys_hw_t *hw) 513 { 514 return hw->cpu_clk_div_mode1.cksel_i2s; 515 } 516 517 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_i2s(sys_hw_t *hw, uint32_t value) 518 { 519 hw->cpu_clk_div_mode1.cksel_i2s = value; 520 } 521 522 /* REG_0x08:cpu_clk_div_mode1->cksel_aud:0x8[25],0:XTAL 1:APLL,0,R/W*/ 523 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_aud(sys_hw_t *hw) 524 { 525 return hw->cpu_clk_div_mode1.cksel_aud; 526 } 527 528 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_aud(sys_hw_t *hw, uint32_t value) 529 { 530 hw->cpu_clk_div_mode1.cksel_aud = value; 531 } 532 533 /* REG_0x08:cpu_clk_div_mode1->clkdiv_jpeg:0x8[29:26],Frequency division : F/(1+N), N is the data of the reg value,0,R/W*/ 534 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_clkdiv_jpeg(sys_hw_t *hw) 535 { 536 return hw->cpu_clk_div_mode1.clkdiv_jpeg; 537 } 538 539 static inline void sys_ll_set_cpu_clk_div_mode1_clkdiv_jpeg(sys_hw_t *hw, uint32_t value) 540 { 541 hw->cpu_clk_div_mode1.clkdiv_jpeg = value; 542 } 543 544 /* REG_0x08:cpu_clk_div_mode1->cksel_jpeg:0x8[30],0:clk_320M 1:clk_480M,0,R/W*/ 545 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_cksel_jpeg(sys_hw_t *hw) 546 { 547 return hw->cpu_clk_div_mode1.cksel_jpeg; 548 } 549 550 static inline void sys_ll_set_cpu_clk_div_mode1_cksel_jpeg(sys_hw_t *hw, uint32_t value) 551 { 552 hw->cpu_clk_div_mode1.cksel_jpeg = value; 553 } 554 555 /* REG_0x08:cpu_clk_div_mode1->clkdiv_disp_l:0x8[31],Frequency division : F/(1+clkdiv_disp_l+clkdiv_disp_h*2),0,R/W*/ 556 static inline uint32_t sys_ll_get_cpu_clk_div_mode1_clkdiv_disp_l(sys_hw_t *hw) 557 { 558 return hw->cpu_clk_div_mode1.clkdiv_disp_l; 559 } 560 561 static inline void sys_ll_set_cpu_clk_div_mode1_clkdiv_disp_l(sys_hw_t *hw, uint32_t value) 562 { 563 hw->cpu_clk_div_mode1.clkdiv_disp_l = value; 564 } 565 566 /* REG_0x09 */ 567 568 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_value(sys_hw_t *hw) 569 { 570 return hw->cpu_clk_div_mode2.v; 571 } 572 573 static inline void sys_ll_set_cpu_clk_div_mode2_value(sys_hw_t *hw, uint32_t value) 574 { 575 hw->cpu_clk_div_mode2.v = value; 576 } 577 578 /* REG_0x09:cpu_clk_div_mode2->clkdiv_disp_h:0x9[2:0],Frequency division : F/(1+clkdiv_disp_l+clkdiv_disp_h*2),0,R/W*/ 579 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_clkdiv_disp_h(sys_hw_t *hw) 580 { 581 return hw->cpu_clk_div_mode2.clkdiv_disp_h; 582 } 583 584 static inline void sys_ll_set_cpu_clk_div_mode2_clkdiv_disp_h(sys_hw_t *hw, uint32_t value) 585 { 586 hw->cpu_clk_div_mode2.clkdiv_disp_h = value; 587 } 588 589 /* REG_0x09:cpu_clk_div_mode2->cksel_disp:0x9[3],0:clk_320M 1:clk_480M,0,R/W*/ 590 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_cksel_disp(sys_hw_t *hw) 591 { 592 return hw->cpu_clk_div_mode2.cksel_disp; 593 } 594 595 static inline void sys_ll_set_cpu_clk_div_mode2_cksel_disp(sys_hw_t *hw, uint32_t value) 596 { 597 hw->cpu_clk_div_mode2.cksel_disp = value; 598 } 599 600 /* REG_0x09:cpu_clk_div_mode2->ckdiv_psram:0x9[4],Frequency division : F/(1+N), N is the data of the reg value,0,R/W*/ 601 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_ckdiv_psram(sys_hw_t *hw) 602 { 603 return hw->cpu_clk_div_mode2.ckdiv_psram; 604 } 605 606 static inline void sys_ll_set_cpu_clk_div_mode2_ckdiv_psram(sys_hw_t *hw, uint32_t value) 607 { 608 hw->cpu_clk_div_mode2.ckdiv_psram = value; 609 } 610 611 /* REG_0x09:cpu_clk_div_mode2->cksel_psram:0x9[5],0:clk_320M 1:clk_480M,0,R/W*/ 612 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_cksel_psram(sys_hw_t *hw) 613 { 614 return hw->cpu_clk_div_mode2.cksel_psram; 615 } 616 617 static inline void sys_ll_set_cpu_clk_div_mode2_cksel_psram(sys_hw_t *hw, uint32_t value) 618 { 619 hw->cpu_clk_div_mode2.cksel_psram = value; 620 } 621 622 /* REG_0x09:cpu_clk_div_mode2->ckdiv_qspi0:0x9[9:6],Frequency division : F/(1+N), N is the data of the reg value,0,R/W*/ 623 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_ckdiv_qspi0(sys_hw_t *hw) 624 { 625 return hw->cpu_clk_div_mode2.ckdiv_qspi0; 626 } 627 628 static inline void sys_ll_set_cpu_clk_div_mode2_ckdiv_qspi0(sys_hw_t *hw, uint32_t value) 629 { 630 hw->cpu_clk_div_mode2.ckdiv_qspi0 = value; 631 } 632 633 /* REG_0x09:cpu_clk_div_mode2->cksel_qspi0:0x9[10],0:clk_320M 1:clk_480M,0,R/W*/ 634 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_cksel_qspi0(sys_hw_t *hw) 635 { 636 return hw->cpu_clk_div_mode2.cksel_qspi0; 637 } 638 639 static inline void sys_ll_set_cpu_clk_div_mode2_cksel_qspi0(sys_hw_t *hw, uint32_t value) 640 { 641 hw->cpu_clk_div_mode2.cksel_qspi0 = value; 642 } 643 644 /* REG_0x09:cpu_clk_div_mode2->ckdiv_sdio:0x9[16:14],0:/2 1:/4 2:/6 3:/8 4:/10 5:/12 6:/16 7:/256,0,R/W*/ 645 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_ckdiv_sdio(sys_hw_t *hw) 646 { 647 return hw->cpu_clk_div_mode2.ckdiv_sdio; 648 } 649 650 static inline void sys_ll_set_cpu_clk_div_mode2_ckdiv_sdio(sys_hw_t *hw, uint32_t value) 651 { 652 hw->cpu_clk_div_mode2.ckdiv_sdio = value; 653 } 654 655 /* REG_0x09:cpu_clk_div_mode2->cksel_sdio:0x9[17],0:XTAL 1:320M,0,R/W*/ 656 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_cksel_sdio(sys_hw_t *hw) 657 { 658 return hw->cpu_clk_div_mode2.cksel_sdio; 659 } 660 661 static inline void sys_ll_set_cpu_clk_div_mode2_cksel_sdio(sys_hw_t *hw, uint32_t value) 662 { 663 hw->cpu_clk_div_mode2.cksel_sdio = value; 664 } 665 666 /* REG_0x09:cpu_clk_div_mode2->ckdiv_auxs:0x9[21:18],Frequency division : F/(1+N), N is the data of the reg value,0,R/W*/ 667 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_ckdiv_auxs(sys_hw_t *hw) 668 { 669 return hw->cpu_clk_div_mode2.ckdiv_auxs; 670 } 671 672 static inline void sys_ll_set_cpu_clk_div_mode2_ckdiv_auxs(sys_hw_t *hw, uint32_t value) 673 { 674 hw->cpu_clk_div_mode2.ckdiv_auxs = value; 675 } 676 677 /* REG_0x09:cpu_clk_div_mode2->cksel_auxs:0x9[23:22],0:DCO 1:APLL 2:320M 4:480M,0,R/W*/ 678 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_cksel_auxs(sys_hw_t *hw) 679 { 680 return hw->cpu_clk_div_mode2.cksel_auxs; 681 } 682 683 static inline void sys_ll_set_cpu_clk_div_mode2_cksel_auxs(sys_hw_t *hw, uint32_t value) 684 { 685 hw->cpu_clk_div_mode2.cksel_auxs = value; 686 } 687 688 /* REG_0x09:cpu_clk_div_mode2->cksel_flash:0x9[25:24],0:XTAL 1:APLL 1x :clk_120M,0,R/W*/ 689 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_cksel_flash(sys_hw_t *hw) 690 { 691 return hw->cpu_clk_div_mode2.cksel_flash; 692 } 693 694 static inline void sys_ll_set_cpu_clk_div_mode2_cksel_flash(sys_hw_t *hw, uint32_t value) 695 { 696 hw->cpu_clk_div_mode2.cksel_flash = value; 697 } 698 699 /* REG_0x09:cpu_clk_div_mode2->ckdiv_flash:0x9[27:26],0:/1 1:/2 2:/4 3:/8,0,R/W*/ 700 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_ckdiv_flash(sys_hw_t *hw) 701 { 702 return hw->cpu_clk_div_mode2.ckdiv_flash; 703 } 704 705 static inline void sys_ll_set_cpu_clk_div_mode2_ckdiv_flash(sys_hw_t *hw, uint32_t value) 706 { 707 hw->cpu_clk_div_mode2.ckdiv_flash = value; 708 } 709 710 /* REG_0x09:cpu_clk_div_mode2->ckdiv_i2s0:0x9[30:28],0:/1 1:/2 2:/4 3:/8 4:/16 5:/32 6:/64 7:/256,0,R/W*/ 711 static inline uint32_t sys_ll_get_cpu_clk_div_mode2_ckdiv_i2s0(sys_hw_t *hw) 712 { 713 return hw->cpu_clk_div_mode2.ckdiv_i2s0; 714 } 715 716 static inline void sys_ll_set_cpu_clk_div_mode2_ckdiv_i2s0(sys_hw_t *hw, uint32_t value) 717 { 718 hw->cpu_clk_div_mode2.ckdiv_i2s0 = value; 719 } 720 721 /* REG_0x0a */ 722 723 static inline uint32_t sys_ll_get_cpu_26m_wdt_clk_div_value(sys_hw_t *hw) 724 { 725 return hw->cpu_26m_wdt_clk_div.v; 726 } 727 728 static inline void sys_ll_set_cpu_26m_wdt_clk_div_value(sys_hw_t *hw, uint32_t value) 729 { 730 hw->cpu_26m_wdt_clk_div.v = value; 731 } 732 733 /* REG_0x0a:cpu_26m_wdt_clk_div->ckdiv_26m:0xa[1:0],0:/1 1:/2 2:/4 3:/8,0,R/W*/ 734 static inline uint32_t sys_ll_get_cpu_26m_wdt_clk_div_ckdiv_26m(sys_hw_t *hw) 735 { 736 return hw->cpu_26m_wdt_clk_div.ckdiv_26m; 737 } 738 739 static inline void sys_ll_set_cpu_26m_wdt_clk_div_ckdiv_26m(sys_hw_t *hw, uint32_t value) 740 { 741 hw->cpu_26m_wdt_clk_div.ckdiv_26m = value; 742 } 743 744 /* REG_0x0a:cpu_26m_wdt_clk_div->ckdiv_wdt:0xa[3:2],0:/2 1:/4 2:/8 3:/16,0,R/W*/ 745 static inline uint32_t sys_ll_get_cpu_26m_wdt_clk_div_ckdiv_wdt(sys_hw_t *hw) 746 { 747 return hw->cpu_26m_wdt_clk_div.ckdiv_wdt; 748 } 749 750 static inline void sys_ll_set_cpu_26m_wdt_clk_div_ckdiv_wdt(sys_hw_t *hw, uint32_t value) 751 { 752 hw->cpu_26m_wdt_clk_div.ckdiv_wdt = value; 753 } 754 755 /* REG_0x0a:cpu_26m_wdt_clk_div->clksel_spi0:0xa[4],0:XTAL 1:APLL,0,R/W*/ 756 static inline uint32_t sys_ll_get_cpu_26m_wdt_clk_div_clksel_spi0(sys_hw_t *hw) 757 { 758 return hw->cpu_26m_wdt_clk_div.clksel_spi0; 759 } 760 761 static inline void sys_ll_set_cpu_26m_wdt_clk_div_clksel_spi0(sys_hw_t *hw, uint32_t value) 762 { 763 hw->cpu_26m_wdt_clk_div.clksel_spi0 = value; 764 } 765 766 /* REG_0x0a:cpu_26m_wdt_clk_div->clksel_spi1:0xa[5],0:XTAL 1:APLL,0,R/W*/ 767 static inline uint32_t sys_ll_get_cpu_26m_wdt_clk_div_clksel_spi1(sys_hw_t *hw) 768 { 769 return hw->cpu_26m_wdt_clk_div.clksel_spi1; 770 } 771 772 static inline void sys_ll_set_cpu_26m_wdt_clk_div_clksel_spi1(sys_hw_t *hw, uint32_t value) 773 { 774 hw->cpu_26m_wdt_clk_div.clksel_spi1 = value; 775 } 776 777 /* REG_0x0b */ 778 779 static inline uint32_t sys_ll_get_cpu_anaspi_freq_value(sys_hw_t *hw) 780 { 781 return hw->cpu_anaspi_freq.v; 782 } 783 784 static inline void sys_ll_set_cpu_anaspi_freq_value(sys_hw_t *hw, uint32_t value) 785 { 786 hw->cpu_anaspi_freq.v = value; 787 } 788 789 /* REG_0x0b:cpu_anaspi_freq->anaspi_freq:0xb[5:0], ,0,R/W*/ 790 static inline uint32_t sys_ll_get_cpu_anaspi_freq_anaspi_freq(sys_hw_t *hw) 791 { 792 return hw->cpu_anaspi_freq.anaspi_freq; 793 } 794 795 static inline void sys_ll_set_cpu_anaspi_freq_anaspi_freq(sys_hw_t *hw, uint32_t value) 796 { 797 hw->cpu_anaspi_freq.anaspi_freq = value; 798 } 799 800 /* REG_0x0b:cpu_anaspi_freq->anareg_state:0xb[27:8],analog register state:0x0: register write is idle;0x1: register write is busy; ,0,R*/ 801 static inline uint32_t sys_ll_get_cpu_anaspi_freq_anareg_state(sys_hw_t *hw) 802 { 803 return hw->cpu_anaspi_freq.anareg_state; 804 } 805 806 /* REG_0x0c */ 807 808 static inline uint32_t sys_ll_get_cpu_device_clk_enable_value(sys_hw_t *hw) 809 { 810 return hw->cpu_device_clk_enable.v; 811 } 812 813 static inline void sys_ll_set_cpu_device_clk_enable_value(sys_hw_t *hw, uint32_t value) 814 { 815 hw->cpu_device_clk_enable.v = value; 816 } 817 818 /* REG_0x0c:cpu_device_clk_enable->i2c0_cken:0xc[0],1:i2c0_clk enable,0,R/W*/ 819 static inline uint32_t sys_ll_get_cpu_device_clk_enable_i2c0_cken(sys_hw_t *hw) 820 { 821 return hw->cpu_device_clk_enable.i2c0_cken; 822 } 823 824 static inline void sys_ll_set_cpu_device_clk_enable_i2c0_cken(sys_hw_t *hw, uint32_t value) 825 { 826 hw->cpu_device_clk_enable.i2c0_cken = value; 827 } 828 829 /* REG_0x0c:cpu_device_clk_enable->spi0_cken:0xc[1],1:spi0_clk enable ,0,R/W*/ 830 static inline uint32_t sys_ll_get_cpu_device_clk_enable_spi0_cken(sys_hw_t *hw) 831 { 832 return hw->cpu_device_clk_enable.spi0_cken; 833 } 834 835 static inline void sys_ll_set_cpu_device_clk_enable_spi0_cken(sys_hw_t *hw, uint32_t value) 836 { 837 hw->cpu_device_clk_enable.spi0_cken = value; 838 } 839 840 /* REG_0x0c:cpu_device_clk_enable->uart0_cken:0xc[2],1:uart0_clk enable,0,R/W*/ 841 static inline uint32_t sys_ll_get_cpu_device_clk_enable_uart0_cken(sys_hw_t *hw) 842 { 843 return hw->cpu_device_clk_enable.uart0_cken; 844 } 845 846 static inline void sys_ll_set_cpu_device_clk_enable_uart0_cken(sys_hw_t *hw, uint32_t value) 847 { 848 hw->cpu_device_clk_enable.uart0_cken = value; 849 } 850 851 /* REG_0x0c:cpu_device_clk_enable->pwm0_cken:0xc[3],1:pwm0_clk enable ,0,R/W*/ 852 static inline uint32_t sys_ll_get_cpu_device_clk_enable_pwm0_cken(sys_hw_t *hw) 853 { 854 return hw->cpu_device_clk_enable.pwm0_cken; 855 } 856 857 static inline void sys_ll_set_cpu_device_clk_enable_pwm0_cken(sys_hw_t *hw, uint32_t value) 858 { 859 hw->cpu_device_clk_enable.pwm0_cken = value; 860 } 861 862 /* REG_0x0c:cpu_device_clk_enable->tim0_cken:0xc[4],1:tim0_clk enable ,0,R/W*/ 863 static inline uint32_t sys_ll_get_cpu_device_clk_enable_tim0_cken(sys_hw_t *hw) 864 { 865 return hw->cpu_device_clk_enable.tim0_cken; 866 } 867 868 static inline void sys_ll_set_cpu_device_clk_enable_tim0_cken(sys_hw_t *hw, uint32_t value) 869 { 870 hw->cpu_device_clk_enable.tim0_cken = value; 871 } 872 873 /* REG_0x0c:cpu_device_clk_enable->sadc_cken:0xc[5],1:sadc_clk enable ,0,R/W*/ 874 static inline uint32_t sys_ll_get_cpu_device_clk_enable_sadc_cken(sys_hw_t *hw) 875 { 876 return hw->cpu_device_clk_enable.sadc_cken; 877 } 878 879 static inline void sys_ll_set_cpu_device_clk_enable_sadc_cken(sys_hw_t *hw, uint32_t value) 880 { 881 hw->cpu_device_clk_enable.sadc_cken = value; 882 } 883 884 /* REG_0x0c:cpu_device_clk_enable->irda_cken:0xc[6],1:irda_clk enable ,0,R/W*/ 885 static inline uint32_t sys_ll_get_cpu_device_clk_enable_irda_cken(sys_hw_t *hw) 886 { 887 return hw->cpu_device_clk_enable.irda_cken; 888 } 889 890 static inline void sys_ll_set_cpu_device_clk_enable_irda_cken(sys_hw_t *hw, uint32_t value) 891 { 892 hw->cpu_device_clk_enable.irda_cken = value; 893 } 894 895 /* REG_0x0c:cpu_device_clk_enable->efuse_cken:0xc[7],1:efuse_clk enable,0,R/W*/ 896 static inline uint32_t sys_ll_get_cpu_device_clk_enable_efuse_cken(sys_hw_t *hw) 897 { 898 return hw->cpu_device_clk_enable.efuse_cken; 899 } 900 901 static inline void sys_ll_set_cpu_device_clk_enable_efuse_cken(sys_hw_t *hw, uint32_t value) 902 { 903 hw->cpu_device_clk_enable.efuse_cken = value; 904 } 905 906 /* REG_0x0c:cpu_device_clk_enable->i2c1_cken:0xc[8],1:i2c1_clk enable ,0,R/W*/ 907 static inline uint32_t sys_ll_get_cpu_device_clk_enable_i2c1_cken(sys_hw_t *hw) 908 { 909 return hw->cpu_device_clk_enable.i2c1_cken; 910 } 911 912 static inline void sys_ll_set_cpu_device_clk_enable_i2c1_cken(sys_hw_t *hw, uint32_t value) 913 { 914 hw->cpu_device_clk_enable.i2c1_cken = value; 915 } 916 917 /* REG_0x0c:cpu_device_clk_enable->spi1_cken:0xc[9],1:spi1_clk enable ,0,R/W*/ 918 static inline uint32_t sys_ll_get_cpu_device_clk_enable_spi1_cken(sys_hw_t *hw) 919 { 920 return hw->cpu_device_clk_enable.spi1_cken; 921 } 922 923 static inline void sys_ll_set_cpu_device_clk_enable_spi1_cken(sys_hw_t *hw, uint32_t value) 924 { 925 hw->cpu_device_clk_enable.spi1_cken = value; 926 } 927 928 /* REG_0x0c:cpu_device_clk_enable->uart1_cken:0xc[10],1:uart1_clk enable,0,R/W*/ 929 static inline uint32_t sys_ll_get_cpu_device_clk_enable_uart1_cken(sys_hw_t *hw) 930 { 931 return hw->cpu_device_clk_enable.uart1_cken; 932 } 933 934 static inline void sys_ll_set_cpu_device_clk_enable_uart1_cken(sys_hw_t *hw, uint32_t value) 935 { 936 hw->cpu_device_clk_enable.uart1_cken = value; 937 } 938 939 /* REG_0x0c:cpu_device_clk_enable->uart2_cken:0xc[11],1:uart2_clk enable,0,R/W*/ 940 static inline uint32_t sys_ll_get_cpu_device_clk_enable_uart2_cken(sys_hw_t *hw) 941 { 942 return hw->cpu_device_clk_enable.uart2_cken; 943 } 944 945 static inline void sys_ll_set_cpu_device_clk_enable_uart2_cken(sys_hw_t *hw, uint32_t value) 946 { 947 hw->cpu_device_clk_enable.uart2_cken = value; 948 } 949 950 /* REG_0x0c:cpu_device_clk_enable->pwm1_cken:0xc[12],1:pwm1_clk enable ,0,R/W*/ 951 static inline uint32_t sys_ll_get_cpu_device_clk_enable_pwm1_cken(sys_hw_t *hw) 952 { 953 return hw->cpu_device_clk_enable.pwm1_cken; 954 } 955 956 static inline void sys_ll_set_cpu_device_clk_enable_pwm1_cken(sys_hw_t *hw, uint32_t value) 957 { 958 hw->cpu_device_clk_enable.pwm1_cken = value; 959 } 960 961 /* REG_0x0c:cpu_device_clk_enable->tim1_cken:0xc[13],1:tim1_clk enable ,0,R/W*/ 962 static inline uint32_t sys_ll_get_cpu_device_clk_enable_tim1_cken(sys_hw_t *hw) 963 { 964 return hw->cpu_device_clk_enable.tim1_cken; 965 } 966 967 static inline void sys_ll_set_cpu_device_clk_enable_tim1_cken(sys_hw_t *hw, uint32_t value) 968 { 969 hw->cpu_device_clk_enable.tim1_cken = value; 970 } 971 972 /* REG_0x0c:cpu_device_clk_enable->tim2_cken:0xc[14],1:tim2_clk enable ,0,R/W*/ 973 static inline uint32_t sys_ll_get_cpu_device_clk_enable_tim2_cken(sys_hw_t *hw) 974 { 975 return hw->cpu_device_clk_enable.tim2_cken; 976 } 977 978 static inline void sys_ll_set_cpu_device_clk_enable_tim2_cken(sys_hw_t *hw, uint32_t value) 979 { 980 hw->cpu_device_clk_enable.tim2_cken = value; 981 } 982 983 /* REG_0x0c:cpu_device_clk_enable->otp_cken:0xc[15],1:otp_clk enable ,1,R/W*/ 984 static inline uint32_t sys_ll_get_cpu_device_clk_enable_otp_cken(sys_hw_t *hw) 985 { 986 return hw->cpu_device_clk_enable.otp_cken; 987 } 988 989 static inline void sys_ll_set_cpu_device_clk_enable_otp_cken(sys_hw_t *hw, uint32_t value) 990 { 991 hw->cpu_device_clk_enable.otp_cken = value; 992 } 993 994 /* REG_0x0c:cpu_device_clk_enable->i2s_cken:0xc[16],1:i2s_clk enable ,0,R/W*/ 995 static inline uint32_t sys_ll_get_cpu_device_clk_enable_i2s_cken(sys_hw_t *hw) 996 { 997 return hw->cpu_device_clk_enable.i2s_cken; 998 } 999 1000 static inline void sys_ll_set_cpu_device_clk_enable_i2s_cken(sys_hw_t *hw, uint32_t value) 1001 { 1002 hw->cpu_device_clk_enable.i2s_cken = value; 1003 } 1004 1005 /* REG_0x0c:cpu_device_clk_enable->usb_cken:0xc[17],1:usb_clk enable ,0,R/W*/ 1006 static inline uint32_t sys_ll_get_cpu_device_clk_enable_usb_cken(sys_hw_t *hw) 1007 { 1008 return hw->cpu_device_clk_enable.usb_cken; 1009 } 1010 1011 static inline void sys_ll_set_cpu_device_clk_enable_usb_cken(sys_hw_t *hw, uint32_t value) 1012 { 1013 hw->cpu_device_clk_enable.usb_cken = value; 1014 } 1015 1016 /* REG_0x0c:cpu_device_clk_enable->can_cken:0xc[18],1:can_clk enable ,0,R/W*/ 1017 static inline uint32_t sys_ll_get_cpu_device_clk_enable_can_cken(sys_hw_t *hw) 1018 { 1019 return hw->cpu_device_clk_enable.can_cken; 1020 } 1021 1022 static inline void sys_ll_set_cpu_device_clk_enable_can_cken(sys_hw_t *hw, uint32_t value) 1023 { 1024 hw->cpu_device_clk_enable.can_cken = value; 1025 } 1026 1027 /* REG_0x0c:cpu_device_clk_enable->psram_cken:0xc[19],1:psram_clk enable,0,R/W*/ 1028 static inline uint32_t sys_ll_get_cpu_device_clk_enable_psram_cken(sys_hw_t *hw) 1029 { 1030 return hw->cpu_device_clk_enable.psram_cken; 1031 } 1032 1033 static inline void sys_ll_set_cpu_device_clk_enable_psram_cken(sys_hw_t *hw, uint32_t value) 1034 { 1035 hw->cpu_device_clk_enable.psram_cken = value; 1036 } 1037 1038 /* REG_0x0c:cpu_device_clk_enable->qspi0_cken:0xc[20],1:qspi0_clk enable,0,R/W*/ 1039 static inline uint32_t sys_ll_get_cpu_device_clk_enable_qspi0_cken(sys_hw_t *hw) 1040 { 1041 return hw->cpu_device_clk_enable.qspi0_cken; 1042 } 1043 1044 static inline void sys_ll_set_cpu_device_clk_enable_qspi0_cken(sys_hw_t *hw, uint32_t value) 1045 { 1046 hw->cpu_device_clk_enable.qspi0_cken = value; 1047 } 1048 1049 /* REG_0x0c:cpu_device_clk_enable->qspi1_cken:0xc[21],1:qspi1_clk enable,0,R/W*/ 1050 static inline uint32_t sys_ll_get_cpu_device_clk_enable_qspi1_cken(sys_hw_t *hw) 1051 { 1052 return hw->cpu_device_clk_enable.qspi1_cken; 1053 } 1054 1055 static inline void sys_ll_set_cpu_device_clk_enable_qspi1_cken(sys_hw_t *hw, uint32_t value) 1056 { 1057 hw->cpu_device_clk_enable.qspi1_cken = value; 1058 } 1059 1060 /* REG_0x0c:cpu_device_clk_enable->sdio_cken:0xc[22],1:sdio_clk enable ,0,R/W*/ 1061 static inline uint32_t sys_ll_get_cpu_device_clk_enable_sdio_cken(sys_hw_t *hw) 1062 { 1063 return hw->cpu_device_clk_enable.sdio_cken; 1064 } 1065 1066 static inline void sys_ll_set_cpu_device_clk_enable_sdio_cken(sys_hw_t *hw, uint32_t value) 1067 { 1068 hw->cpu_device_clk_enable.sdio_cken = value; 1069 } 1070 1071 /* REG_0x0c:cpu_device_clk_enable->auxs_cken:0xc[23],1:auxs_clk enable ,0,R/W*/ 1072 static inline uint32_t sys_ll_get_cpu_device_clk_enable_auxs_cken(sys_hw_t *hw) 1073 { 1074 return hw->cpu_device_clk_enable.auxs_cken; 1075 } 1076 1077 static inline void sys_ll_set_cpu_device_clk_enable_auxs_cken(sys_hw_t *hw, uint32_t value) 1078 { 1079 hw->cpu_device_clk_enable.auxs_cken = value; 1080 } 1081 1082 /* REG_0x0c:cpu_device_clk_enable->btdm_cken:0xc[24],1:btdm_clk enable ,0,R/W*/ 1083 static inline uint32_t sys_ll_get_cpu_device_clk_enable_btdm_cken(sys_hw_t *hw) 1084 { 1085 return hw->cpu_device_clk_enable.btdm_cken; 1086 } 1087 1088 static inline void sys_ll_set_cpu_device_clk_enable_btdm_cken(sys_hw_t *hw, uint32_t value) 1089 { 1090 hw->cpu_device_clk_enable.btdm_cken = value; 1091 } 1092 1093 /* REG_0x0c:cpu_device_clk_enable->xvr_cken:0xc[25],1:xvr_clk enable ,0,R/W*/ 1094 static inline uint32_t sys_ll_get_cpu_device_clk_enable_xvr_cken(sys_hw_t *hw) 1095 { 1096 return hw->cpu_device_clk_enable.xvr_cken; 1097 } 1098 1099 static inline void sys_ll_set_cpu_device_clk_enable_xvr_cken(sys_hw_t *hw, uint32_t value) 1100 { 1101 hw->cpu_device_clk_enable.xvr_cken = value; 1102 } 1103 1104 /* REG_0x0c:cpu_device_clk_enable->mac_cken:0xc[26],1:mac_clk enable ,0,R/W*/ 1105 static inline uint32_t sys_ll_get_cpu_device_clk_enable_mac_cken(sys_hw_t *hw) 1106 { 1107 return hw->cpu_device_clk_enable.mac_cken; 1108 } 1109 1110 static inline void sys_ll_set_cpu_device_clk_enable_mac_cken(sys_hw_t *hw, uint32_t value) 1111 { 1112 hw->cpu_device_clk_enable.mac_cken = value; 1113 } 1114 1115 /* REG_0x0c:cpu_device_clk_enable->phy_cken:0xc[27],1:phy_clk enable ,0,R/W*/ 1116 static inline uint32_t sys_ll_get_cpu_device_clk_enable_phy_cken(sys_hw_t *hw) 1117 { 1118 return hw->cpu_device_clk_enable.phy_cken; 1119 } 1120 1121 static inline void sys_ll_set_cpu_device_clk_enable_phy_cken(sys_hw_t *hw, uint32_t value) 1122 { 1123 hw->cpu_device_clk_enable.phy_cken = value; 1124 } 1125 1126 /* REG_0x0c:cpu_device_clk_enable->jpeg_cken:0xc[28],1:jpeg_clk enable ,0,R/W*/ 1127 static inline uint32_t sys_ll_get_cpu_device_clk_enable_jpeg_cken(sys_hw_t *hw) 1128 { 1129 return hw->cpu_device_clk_enable.jpeg_cken; 1130 } 1131 1132 static inline void sys_ll_set_cpu_device_clk_enable_jpeg_cken(sys_hw_t *hw, uint32_t value) 1133 { 1134 hw->cpu_device_clk_enable.jpeg_cken = value; 1135 } 1136 1137 /* REG_0x0c:cpu_device_clk_enable->disp_cken:0xc[29],1:disp_clk enable ,0,R/W*/ 1138 static inline uint32_t sys_ll_get_cpu_device_clk_enable_disp_cken(sys_hw_t *hw) 1139 { 1140 return hw->cpu_device_clk_enable.disp_cken; 1141 } 1142 1143 static inline void sys_ll_set_cpu_device_clk_enable_disp_cken(sys_hw_t *hw, uint32_t value) 1144 { 1145 hw->cpu_device_clk_enable.disp_cken = value; 1146 } 1147 1148 /* REG_0x0c:cpu_device_clk_enable->aud_cken:0xc[30],1:aud_clk enable ,0,R/W*/ 1149 static inline uint32_t sys_ll_get_cpu_device_clk_enable_aud_cken(sys_hw_t *hw) 1150 { 1151 return hw->cpu_device_clk_enable.aud_cken; 1152 } 1153 1154 static inline void sys_ll_set_cpu_device_clk_enable_aud_cken(sys_hw_t *hw, uint32_t value) 1155 { 1156 hw->cpu_device_clk_enable.aud_cken = value; 1157 } 1158 1159 /* REG_0x0c:cpu_device_clk_enable->wdt_cken:0xc[31],1:wdt_clk enable ,0,R/W*/ 1160 static inline uint32_t sys_ll_get_cpu_device_clk_enable_wdt_cken(sys_hw_t *hw) 1161 { 1162 return hw->cpu_device_clk_enable.wdt_cken; 1163 } 1164 1165 static inline void sys_ll_set_cpu_device_clk_enable_wdt_cken(sys_hw_t *hw, uint32_t value) 1166 { 1167 hw->cpu_device_clk_enable.wdt_cken = value; 1168 } 1169 1170 /* REG_0x0d */ 1171 1172 /* REG_0x0e */ 1173 1174 static inline uint32_t sys_ll_get_cpu_mode_disckg1_value(sys_hw_t *hw) 1175 { 1176 return hw->cpu_mode_disckg1.v; 1177 } 1178 1179 static inline void sys_ll_set_cpu_mode_disckg1_value(sys_hw_t *hw, uint32_t value) 1180 { 1181 hw->cpu_mode_disckg1.v = value; 1182 } 1183 1184 /* REG_0x0e:cpu_mode_disckg1->aon_disckg:0xe[0],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1185 static inline uint32_t sys_ll_get_cpu_mode_disckg1_aon_disckg(sys_hw_t *hw) 1186 { 1187 return hw->cpu_mode_disckg1.aon_disckg; 1188 } 1189 1190 static inline void sys_ll_set_cpu_mode_disckg1_aon_disckg(sys_hw_t *hw, uint32_t value) 1191 { 1192 hw->cpu_mode_disckg1.aon_disckg = value; 1193 } 1194 1195 /* REG_0x0e:cpu_mode_disckg1->sys_disckg:0xe[1],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1196 static inline uint32_t sys_ll_get_cpu_mode_disckg1_sys_disckg(sys_hw_t *hw) 1197 { 1198 return hw->cpu_mode_disckg1.sys_disckg; 1199 } 1200 1201 static inline void sys_ll_set_cpu_mode_disckg1_sys_disckg(sys_hw_t *hw, uint32_t value) 1202 { 1203 hw->cpu_mode_disckg1.sys_disckg = value; 1204 } 1205 1206 /* REG_0x0e:cpu_mode_disckg1->dma_disckg:0xe[2],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1207 static inline uint32_t sys_ll_get_cpu_mode_disckg1_dma_disckg(sys_hw_t *hw) 1208 { 1209 return hw->cpu_mode_disckg1.dma_disckg; 1210 } 1211 1212 static inline void sys_ll_set_cpu_mode_disckg1_dma_disckg(sys_hw_t *hw, uint32_t value) 1213 { 1214 hw->cpu_mode_disckg1.dma_disckg = value; 1215 } 1216 1217 /* REG_0x0e:cpu_mode_disckg1->flash_disckg:0xe[3],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1218 static inline uint32_t sys_ll_get_cpu_mode_disckg1_flash_disckg(sys_hw_t *hw) 1219 { 1220 return hw->cpu_mode_disckg1.flash_disckg; 1221 } 1222 1223 static inline void sys_ll_set_cpu_mode_disckg1_flash_disckg(sys_hw_t *hw, uint32_t value) 1224 { 1225 hw->cpu_mode_disckg1.flash_disckg = value; 1226 } 1227 1228 /* REG_0x0e:cpu_mode_disckg1->wdt_disckg:0xe[4],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1229 static inline uint32_t sys_ll_get_cpu_mode_disckg1_wdt_disckg(sys_hw_t *hw) 1230 { 1231 return hw->cpu_mode_disckg1.wdt_disckg; 1232 } 1233 1234 static inline void sys_ll_set_cpu_mode_disckg1_wdt_disckg(sys_hw_t *hw, uint32_t value) 1235 { 1236 hw->cpu_mode_disckg1.wdt_disckg = value; 1237 } 1238 1239 /* REG_0x0e:cpu_mode_disckg1->tim_disckg:0xe[5],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1240 static inline uint32_t sys_ll_get_cpu_mode_disckg1_tim_disckg(sys_hw_t *hw) 1241 { 1242 return hw->cpu_mode_disckg1.tim_disckg; 1243 } 1244 1245 static inline void sys_ll_set_cpu_mode_disckg1_tim_disckg(sys_hw_t *hw, uint32_t value) 1246 { 1247 hw->cpu_mode_disckg1.tim_disckg = value; 1248 } 1249 1250 /* REG_0x0e:cpu_mode_disckg1->urt_disckg:0xe[6],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1251 static inline uint32_t sys_ll_get_cpu_mode_disckg1_urt_disckg(sys_hw_t *hw) 1252 { 1253 return hw->cpu_mode_disckg1.urt_disckg; 1254 } 1255 1256 static inline void sys_ll_set_cpu_mode_disckg1_urt_disckg(sys_hw_t *hw, uint32_t value) 1257 { 1258 hw->cpu_mode_disckg1.urt_disckg = value; 1259 } 1260 1261 /* REG_0x0e:cpu_mode_disckg1->pwm_disckg:0xe[7],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1262 static inline uint32_t sys_ll_get_cpu_mode_disckg1_pwm_disckg(sys_hw_t *hw) 1263 { 1264 return hw->cpu_mode_disckg1.pwm_disckg; 1265 } 1266 1267 static inline void sys_ll_set_cpu_mode_disckg1_pwm_disckg(sys_hw_t *hw, uint32_t value) 1268 { 1269 hw->cpu_mode_disckg1.pwm_disckg = value; 1270 } 1271 1272 /* REG_0x0e:cpu_mode_disckg1->i2c_disckg:0xe[8],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1273 static inline uint32_t sys_ll_get_cpu_mode_disckg1_i2c_disckg(sys_hw_t *hw) 1274 { 1275 return hw->cpu_mode_disckg1.i2c_disckg; 1276 } 1277 1278 static inline void sys_ll_set_cpu_mode_disckg1_i2c_disckg(sys_hw_t *hw, uint32_t value) 1279 { 1280 hw->cpu_mode_disckg1.i2c_disckg = value; 1281 } 1282 1283 /* REG_0x0e:cpu_mode_disckg1->spi_disckg:0xe[9],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1284 static inline uint32_t sys_ll_get_cpu_mode_disckg1_spi_disckg(sys_hw_t *hw) 1285 { 1286 return hw->cpu_mode_disckg1.spi_disckg; 1287 } 1288 1289 static inline void sys_ll_set_cpu_mode_disckg1_spi_disckg(sys_hw_t *hw, uint32_t value) 1290 { 1291 hw->cpu_mode_disckg1.spi_disckg = value; 1292 } 1293 1294 /* REG_0x0e:cpu_mode_disckg1->sadc_disckg:0xe[10],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1295 static inline uint32_t sys_ll_get_cpu_mode_disckg1_sadc_disckg(sys_hw_t *hw) 1296 { 1297 return hw->cpu_mode_disckg1.sadc_disckg; 1298 } 1299 1300 static inline void sys_ll_set_cpu_mode_disckg1_sadc_disckg(sys_hw_t *hw, uint32_t value) 1301 { 1302 hw->cpu_mode_disckg1.sadc_disckg = value; 1303 } 1304 1305 /* REG_0x0e:cpu_mode_disckg1->efs_disckg:0xe[11],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1306 static inline uint32_t sys_ll_get_cpu_mode_disckg1_efs_disckg(sys_hw_t *hw) 1307 { 1308 return hw->cpu_mode_disckg1.efs_disckg; 1309 } 1310 1311 static inline void sys_ll_set_cpu_mode_disckg1_efs_disckg(sys_hw_t *hw, uint32_t value) 1312 { 1313 hw->cpu_mode_disckg1.efs_disckg = value; 1314 } 1315 1316 /* REG_0x0e:cpu_mode_disckg1->irda_disckg:0xe[12],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1317 static inline uint32_t sys_ll_get_cpu_mode_disckg1_irda_disckg(sys_hw_t *hw) 1318 { 1319 return hw->cpu_mode_disckg1.irda_disckg; 1320 } 1321 1322 static inline void sys_ll_set_cpu_mode_disckg1_irda_disckg(sys_hw_t *hw, uint32_t value) 1323 { 1324 hw->cpu_mode_disckg1.irda_disckg = value; 1325 } 1326 1327 /* REG_0x0e:cpu_mode_disckg1->trng_disckg:0xe[13],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1328 static inline uint32_t sys_ll_get_cpu_mode_disckg1_trng_disckg(sys_hw_t *hw) 1329 { 1330 return hw->cpu_mode_disckg1.trng_disckg; 1331 } 1332 1333 static inline void sys_ll_set_cpu_mode_disckg1_trng_disckg(sys_hw_t *hw, uint32_t value) 1334 { 1335 hw->cpu_mode_disckg1.trng_disckg = value; 1336 } 1337 1338 /* REG_0x0e:cpu_mode_disckg1->sdio_disckg:0xe[14],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1339 static inline uint32_t sys_ll_get_cpu_mode_disckg1_sdio_disckg(sys_hw_t *hw) 1340 { 1341 return hw->cpu_mode_disckg1.sdio_disckg; 1342 } 1343 1344 static inline void sys_ll_set_cpu_mode_disckg1_sdio_disckg(sys_hw_t *hw, uint32_t value) 1345 { 1346 hw->cpu_mode_disckg1.sdio_disckg = value; 1347 } 1348 1349 /* REG_0x0e:cpu_mode_disckg1->LA_disckg:0xe[15],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1350 static inline uint32_t sys_ll_get_cpu_mode_disckg1_la_disckg(sys_hw_t *hw) 1351 { 1352 return hw->cpu_mode_disckg1.la_disckg; 1353 } 1354 1355 static inline void sys_ll_set_cpu_mode_disckg1_la_disckg(sys_hw_t *hw, uint32_t value) 1356 { 1357 hw->cpu_mode_disckg1.la_disckg = value; 1358 } 1359 1360 /* REG_0x0e:cpu_mode_disckg1->tim1_disckg:0xe[16],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1361 static inline uint32_t sys_ll_get_cpu_mode_disckg1_tim1_disckg(sys_hw_t *hw) 1362 { 1363 return hw->cpu_mode_disckg1.tim1_disckg; 1364 } 1365 1366 static inline void sys_ll_set_cpu_mode_disckg1_tim1_disckg(sys_hw_t *hw, uint32_t value) 1367 { 1368 hw->cpu_mode_disckg1.tim1_disckg = value; 1369 } 1370 1371 /* REG_0x0e:cpu_mode_disckg1->urt1_disckg:0xe[17],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1372 static inline uint32_t sys_ll_get_cpu_mode_disckg1_urt1_disckg(sys_hw_t *hw) 1373 { 1374 return hw->cpu_mode_disckg1.urt1_disckg; 1375 } 1376 1377 static inline void sys_ll_set_cpu_mode_disckg1_urt1_disckg(sys_hw_t *hw, uint32_t value) 1378 { 1379 hw->cpu_mode_disckg1.urt1_disckg = value; 1380 } 1381 1382 /* REG_0x0e:cpu_mode_disckg1->urt2_disckg:0xe[18],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1383 static inline uint32_t sys_ll_get_cpu_mode_disckg1_urt2_disckg(sys_hw_t *hw) 1384 { 1385 return hw->cpu_mode_disckg1.urt2_disckg; 1386 } 1387 1388 static inline void sys_ll_set_cpu_mode_disckg1_urt2_disckg(sys_hw_t *hw, uint32_t value) 1389 { 1390 hw->cpu_mode_disckg1.urt2_disckg = value; 1391 } 1392 1393 /* REG_0x0e:cpu_mode_disckg1->pwm1_disckg:0xe[19],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1394 static inline uint32_t sys_ll_get_cpu_mode_disckg1_pwm1_disckg(sys_hw_t *hw) 1395 { 1396 return hw->cpu_mode_disckg1.pwm1_disckg; 1397 } 1398 1399 static inline void sys_ll_set_cpu_mode_disckg1_pwm1_disckg(sys_hw_t *hw, uint32_t value) 1400 { 1401 hw->cpu_mode_disckg1.pwm1_disckg = value; 1402 } 1403 1404 /* REG_0x0e:cpu_mode_disckg1->i2c1_disckg:0xe[20],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1405 static inline uint32_t sys_ll_get_cpu_mode_disckg1_i2c1_disckg(sys_hw_t *hw) 1406 { 1407 return hw->cpu_mode_disckg1.i2c1_disckg; 1408 } 1409 1410 static inline void sys_ll_set_cpu_mode_disckg1_i2c1_disckg(sys_hw_t *hw, uint32_t value) 1411 { 1412 hw->cpu_mode_disckg1.i2c1_disckg = value; 1413 } 1414 1415 /* REG_0x0e:cpu_mode_disckg1->spi1_disckg:0xe[21],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1416 static inline uint32_t sys_ll_get_cpu_mode_disckg1_spi1_disckg(sys_hw_t *hw) 1417 { 1418 return hw->cpu_mode_disckg1.spi1_disckg; 1419 } 1420 1421 static inline void sys_ll_set_cpu_mode_disckg1_spi1_disckg(sys_hw_t *hw, uint32_t value) 1422 { 1423 hw->cpu_mode_disckg1.spi1_disckg = value; 1424 } 1425 1426 /* REG_0x0e:cpu_mode_disckg1->usb_disckg:0xe[22],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1427 static inline uint32_t sys_ll_get_cpu_mode_disckg1_usb_disckg(sys_hw_t *hw) 1428 { 1429 return hw->cpu_mode_disckg1.usb_disckg; 1430 } 1431 1432 static inline void sys_ll_set_cpu_mode_disckg1_usb_disckg(sys_hw_t *hw, uint32_t value) 1433 { 1434 hw->cpu_mode_disckg1.usb_disckg = value; 1435 } 1436 1437 /* REG_0x0e:cpu_mode_disckg1->can_disckg:0xe[23],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1438 static inline uint32_t sys_ll_get_cpu_mode_disckg1_can_disckg(sys_hw_t *hw) 1439 { 1440 return hw->cpu_mode_disckg1.can_disckg; 1441 } 1442 1443 static inline void sys_ll_set_cpu_mode_disckg1_can_disckg(sys_hw_t *hw, uint32_t value) 1444 { 1445 hw->cpu_mode_disckg1.can_disckg = value; 1446 } 1447 1448 /* REG_0x0e:cpu_mode_disckg1->qspi0_disckg:0xe[24],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1449 static inline uint32_t sys_ll_get_cpu_mode_disckg1_qspi0_disckg(sys_hw_t *hw) 1450 { 1451 return hw->cpu_mode_disckg1.qspi0_disckg; 1452 } 1453 1454 static inline void sys_ll_set_cpu_mode_disckg1_qspi0_disckg(sys_hw_t *hw, uint32_t value) 1455 { 1456 hw->cpu_mode_disckg1.qspi0_disckg = value; 1457 } 1458 1459 /* REG_0x0e:cpu_mode_disckg1->psram_disckg:0xe[25],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1460 static inline uint32_t sys_ll_get_cpu_mode_disckg1_psram_disckg(sys_hw_t *hw) 1461 { 1462 return hw->cpu_mode_disckg1.psram_disckg; 1463 } 1464 1465 static inline void sys_ll_set_cpu_mode_disckg1_psram_disckg(sys_hw_t *hw, uint32_t value) 1466 { 1467 hw->cpu_mode_disckg1.psram_disckg = value; 1468 } 1469 1470 /* REG_0x0e:cpu_mode_disckg1->fft_disckg:0xe[26],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1471 static inline uint32_t sys_ll_get_cpu_mode_disckg1_fft_disckg(sys_hw_t *hw) 1472 { 1473 return hw->cpu_mode_disckg1.fft_disckg; 1474 } 1475 1476 static inline void sys_ll_set_cpu_mode_disckg1_fft_disckg(sys_hw_t *hw, uint32_t value) 1477 { 1478 hw->cpu_mode_disckg1.fft_disckg = value; 1479 } 1480 1481 /* REG_0x0e:cpu_mode_disckg1->sbc_disckg:0xe[27],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1482 static inline uint32_t sys_ll_get_cpu_mode_disckg1_sbc_disckg(sys_hw_t *hw) 1483 { 1484 return hw->cpu_mode_disckg1.sbc_disckg; 1485 } 1486 1487 static inline void sys_ll_set_cpu_mode_disckg1_sbc_disckg(sys_hw_t *hw, uint32_t value) 1488 { 1489 hw->cpu_mode_disckg1.sbc_disckg = value; 1490 } 1491 1492 /* REG_0x0e:cpu_mode_disckg1->aud_disckg:0xe[28],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1493 static inline uint32_t sys_ll_get_cpu_mode_disckg1_aud_disckg(sys_hw_t *hw) 1494 { 1495 return hw->cpu_mode_disckg1.aud_disckg; 1496 } 1497 1498 static inline void sys_ll_set_cpu_mode_disckg1_aud_disckg(sys_hw_t *hw, uint32_t value) 1499 { 1500 hw->cpu_mode_disckg1.aud_disckg = value; 1501 } 1502 1503 /* REG_0x0e:cpu_mode_disckg1->i2s_disckg:0xe[29],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1504 static inline uint32_t sys_ll_get_cpu_mode_disckg1_i2s_disckg(sys_hw_t *hw) 1505 { 1506 return hw->cpu_mode_disckg1.i2s_disckg; 1507 } 1508 1509 static inline void sys_ll_set_cpu_mode_disckg1_i2s_disckg(sys_hw_t *hw, uint32_t value) 1510 { 1511 hw->cpu_mode_disckg1.i2s_disckg = value; 1512 } 1513 1514 /* REG_0x0e:cpu_mode_disckg1->jpeg_disckg:0xe[30],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1515 static inline uint32_t sys_ll_get_cpu_mode_disckg1_jpeg_disckg(sys_hw_t *hw) 1516 { 1517 return hw->cpu_mode_disckg1.jpeg_disckg; 1518 } 1519 1520 static inline void sys_ll_set_cpu_mode_disckg1_jpeg_disckg(sys_hw_t *hw, uint32_t value) 1521 { 1522 hw->cpu_mode_disckg1.jpeg_disckg = value; 1523 } 1524 1525 /* REG_0x0e:cpu_mode_disckg1->jpeg_dec_disckg:0xe[31],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1526 static inline uint32_t sys_ll_get_cpu_mode_disckg1_jpeg_dec_disckg(sys_hw_t *hw) 1527 { 1528 return hw->cpu_mode_disckg1.jpeg_dec_disckg; 1529 } 1530 1531 static inline void sys_ll_set_cpu_mode_disckg1_jpeg_dec_disckg(sys_hw_t *hw, uint32_t value) 1532 { 1533 hw->cpu_mode_disckg1.jpeg_dec_disckg = value; 1534 } 1535 1536 /* REG_0x0f */ 1537 1538 static inline uint32_t sys_ll_get_cpu_mode_disckg2_value(sys_hw_t *hw) 1539 { 1540 return hw->cpu_mode_disckg2.v; 1541 } 1542 1543 static inline void sys_ll_set_cpu_mode_disckg2_value(sys_hw_t *hw, uint32_t value) 1544 { 1545 hw->cpu_mode_disckg2.v = value; 1546 } 1547 1548 /* REG_0x0f:cpu_mode_disckg2->disp_disckg:0xf[0],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1549 static inline uint32_t sys_ll_get_cpu_mode_disckg2_disp_disckg(sys_hw_t *hw) 1550 { 1551 return hw->cpu_mode_disckg2.disp_disckg; 1552 } 1553 1554 static inline void sys_ll_set_cpu_mode_disckg2_disp_disckg(sys_hw_t *hw, uint32_t value) 1555 { 1556 hw->cpu_mode_disckg2.disp_disckg = value; 1557 } 1558 1559 /* REG_0x0f:cpu_mode_disckg2->dma2d_disckg:0xf[1],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1560 static inline uint32_t sys_ll_get_cpu_mode_disckg2_dma2d_disckg(sys_hw_t *hw) 1561 { 1562 return hw->cpu_mode_disckg2.dma2d_disckg; 1563 } 1564 1565 static inline void sys_ll_set_cpu_mode_disckg2_dma2d_disckg(sys_hw_t *hw, uint32_t value) 1566 { 1567 hw->cpu_mode_disckg2.dma2d_disckg = value; 1568 } 1569 1570 /* REG_0x0f:cpu_mode_disckg2->btdm_disckg:0xf[3],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1571 static inline uint32_t sys_ll_get_cpu_mode_disckg2_btdm_disckg(sys_hw_t *hw) 1572 { 1573 return hw->cpu_mode_disckg2.btdm_disckg; 1574 } 1575 1576 static inline void sys_ll_set_cpu_mode_disckg2_btdm_disckg(sys_hw_t *hw, uint32_t value) 1577 { 1578 hw->cpu_mode_disckg2.btdm_disckg = value; 1579 } 1580 1581 /* REG_0x0f:cpu_mode_disckg2->xver_disckg:0xf[4],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1582 static inline uint32_t sys_ll_get_cpu_mode_disckg2_xver_disckg(sys_hw_t *hw) 1583 { 1584 return hw->cpu_mode_disckg2.xver_disckg; 1585 } 1586 1587 static inline void sys_ll_set_cpu_mode_disckg2_xver_disckg(sys_hw_t *hw, uint32_t value) 1588 { 1589 hw->cpu_mode_disckg2.xver_disckg = value; 1590 } 1591 1592 /* REG_0x0f:cpu_mode_disckg2->btdm_bps_ckg:0xf[8:5],BUS_CLK ENABLE,0: bus clock open when module is select,1:bus clock always open,0,R/W*/ 1593 static inline uint32_t sys_ll_get_cpu_mode_disckg2_btdm_bps_ckg(sys_hw_t *hw) 1594 { 1595 return hw->cpu_mode_disckg2.btdm_bps_ckg; 1596 } 1597 1598 static inline void sys_ll_set_cpu_mode_disckg2_btdm_bps_ckg(sys_hw_t *hw, uint32_t value) 1599 { 1600 hw->cpu_mode_disckg2.btdm_bps_ckg = value; 1601 } 1602 1603 /* REG_0x10 */ 1604 1605 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_value(sys_hw_t *hw) 1606 { 1607 return hw->cpu_power_sleep_wakeup.v; 1608 } 1609 1610 static inline void sys_ll_set_cpu_power_sleep_wakeup_value(sys_hw_t *hw, uint32_t value) 1611 { 1612 hw->cpu_power_sleep_wakeup.v = value; 1613 } 1614 1615 /* REG_0x10:cpu_power_sleep_wakeup->pwd_mem1:0x10[0],0:power on of mem1 ,0,RW*/ 1616 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_mem1(sys_hw_t *hw) 1617 { 1618 return hw->cpu_power_sleep_wakeup.pwd_mem1; 1619 } 1620 1621 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_mem1(sys_hw_t *hw, uint32_t value) 1622 { 1623 hw->cpu_power_sleep_wakeup.pwd_mem1 = value; 1624 } 1625 1626 /* REG_0x10:cpu_power_sleep_wakeup->pwd_mem2:0x10[1],0:power on of mem2 ,0,RW*/ 1627 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_mem2(sys_hw_t *hw) 1628 { 1629 return hw->cpu_power_sleep_wakeup.pwd_mem2; 1630 } 1631 1632 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_mem2(sys_hw_t *hw, uint32_t value) 1633 { 1634 hw->cpu_power_sleep_wakeup.pwd_mem2 = value; 1635 } 1636 1637 /* REG_0x10:cpu_power_sleep_wakeup->pwd_mem3:0x10[2],0:power on of mem3 ,0,RW*/ 1638 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_mem3(sys_hw_t *hw) 1639 { 1640 return hw->cpu_power_sleep_wakeup.pwd_mem3; 1641 } 1642 1643 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_mem3(sys_hw_t *hw, uint32_t value) 1644 { 1645 hw->cpu_power_sleep_wakeup.pwd_mem3 = value; 1646 } 1647 1648 /* REG_0x10:cpu_power_sleep_wakeup->pwd_encp:0x10[3],0:power on of encp ,0,RW*/ 1649 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_encp(sys_hw_t *hw) 1650 { 1651 return hw->cpu_power_sleep_wakeup.pwd_encp; 1652 } 1653 1654 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_encp(sys_hw_t *hw, uint32_t value) 1655 { 1656 hw->cpu_power_sleep_wakeup.pwd_encp = value; 1657 } 1658 1659 /* REG_0x10:cpu_power_sleep_wakeup->pwd_bakp:0x10[4],0:power on of bakp ,0,RW*/ 1660 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_bakp(sys_hw_t *hw) 1661 { 1662 return hw->cpu_power_sleep_wakeup.pwd_bakp; 1663 } 1664 1665 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_bakp(sys_hw_t *hw, uint32_t value) 1666 { 1667 hw->cpu_power_sleep_wakeup.pwd_bakp = value; 1668 } 1669 1670 /* REG_0x10:cpu_power_sleep_wakeup->pwd_ahbp:0x10[5],0:power on of ahbp ,0,RW*/ 1671 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_ahbp(sys_hw_t *hw) 1672 { 1673 return hw->cpu_power_sleep_wakeup.pwd_ahbp; 1674 } 1675 1676 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_ahbp(sys_hw_t *hw, uint32_t value) 1677 { 1678 hw->cpu_power_sleep_wakeup.pwd_ahbp = value; 1679 } 1680 1681 /* REG_0x10:cpu_power_sleep_wakeup->pwd_audp:0x10[6],0:power on of audp ,0,RW*/ 1682 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_audp(sys_hw_t *hw) 1683 { 1684 return hw->cpu_power_sleep_wakeup.pwd_audp; 1685 } 1686 1687 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_audp(sys_hw_t *hw, uint32_t value) 1688 { 1689 hw->cpu_power_sleep_wakeup.pwd_audp = value; 1690 } 1691 1692 /* REG_0x10:cpu_power_sleep_wakeup->pwd_vidp:0x10[7],0:power on of vidp ,0,RW*/ 1693 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_vidp(sys_hw_t *hw) 1694 { 1695 return hw->cpu_power_sleep_wakeup.pwd_vidp; 1696 } 1697 1698 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_vidp(sys_hw_t *hw, uint32_t value) 1699 { 1700 hw->cpu_power_sleep_wakeup.pwd_vidp = value; 1701 } 1702 1703 /* REG_0x10:cpu_power_sleep_wakeup->pwd_btsp:0x10[8],0:power on of btsp ,0,RW*/ 1704 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_btsp(sys_hw_t *hw) 1705 { 1706 return hw->cpu_power_sleep_wakeup.pwd_btsp; 1707 } 1708 1709 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_btsp(sys_hw_t *hw, uint32_t value) 1710 { 1711 hw->cpu_power_sleep_wakeup.pwd_btsp = value; 1712 } 1713 1714 /* REG_0x10:cpu_power_sleep_wakeup->pwd_wifp_mac:0x10[9],0:power on of wifp_mac ,0,RW*/ 1715 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_wifp_mac(sys_hw_t *hw) 1716 { 1717 return hw->cpu_power_sleep_wakeup.pwd_wifp_mac; 1718 } 1719 1720 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_wifp_mac(sys_hw_t *hw, uint32_t value) 1721 { 1722 hw->cpu_power_sleep_wakeup.pwd_wifp_mac = value; 1723 } 1724 1725 /* REG_0x10:cpu_power_sleep_wakeup->pwd_wifp_phy:0x10[10],0:power on of wifp_phy ,0,RW*/ 1726 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_wifp_phy(sys_hw_t *hw) 1727 { 1728 return hw->cpu_power_sleep_wakeup.pwd_wifp_phy; 1729 } 1730 1731 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_wifp_phy(sys_hw_t *hw, uint32_t value) 1732 { 1733 hw->cpu_power_sleep_wakeup.pwd_wifp_phy = value; 1734 } 1735 1736 /* REG_0x10:cpu_power_sleep_wakeup->pwd_mem0:0x10[11] ,0:power on of mem0,0,RW*/ 1737 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_pwd_mem0(sys_hw_t *hw) 1738 { 1739 return hw->cpu_power_sleep_wakeup.pwd_mem0; 1740 } 1741 1742 static inline void sys_ll_set_cpu_power_sleep_wakeup_pwd_mem0(sys_hw_t *hw, uint32_t value) 1743 { 1744 hw->cpu_power_sleep_wakeup.pwd_mem0 = value; 1745 } 1746 1747 /* REG_0x10:cpu_power_sleep_wakeup->sleep_en_need_flash_idle:0x10[16],0:sleep_en of flash_idle,0,RW*/ 1748 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_sleep_en_need_flash_idle(sys_hw_t *hw) 1749 { 1750 return hw->cpu_power_sleep_wakeup.sleep_en_need_flash_idle; 1751 } 1752 1753 static inline void sys_ll_set_cpu_power_sleep_wakeup_sleep_en_need_flash_idle(sys_hw_t *hw, uint32_t value) 1754 { 1755 hw->cpu_power_sleep_wakeup.sleep_en_need_flash_idle = value; 1756 } 1757 1758 /* REG_0x10:cpu_power_sleep_wakeup->sleep_en_need_cpu1_wfi:0x10[17],0:sleep_en of cpu1_wfi ,0,RW*/ 1759 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_sleep_en_need_cpu1_wfi(sys_hw_t *hw) 1760 { 1761 return hw->cpu_power_sleep_wakeup.sleep_en_need_cpu1_wfi; 1762 } 1763 1764 static inline void sys_ll_set_cpu_power_sleep_wakeup_sleep_en_need_cpu1_wfi(sys_hw_t *hw, uint32_t value) 1765 { 1766 hw->cpu_power_sleep_wakeup.sleep_en_need_cpu1_wfi = value; 1767 } 1768 1769 /* REG_0x10:cpu_power_sleep_wakeup->sleep_en_need_cpu0_wfi:0x10[18],0:sleep_en of cpu0_wfi ,0,RW*/ 1770 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_sleep_en_need_cpu0_wfi(sys_hw_t *hw) 1771 { 1772 return hw->cpu_power_sleep_wakeup.sleep_en_need_cpu0_wfi; 1773 } 1774 1775 static inline void sys_ll_set_cpu_power_sleep_wakeup_sleep_en_need_cpu0_wfi(sys_hw_t *hw, uint32_t value) 1776 { 1777 hw->cpu_power_sleep_wakeup.sleep_en_need_cpu0_wfi = value; 1778 } 1779 1780 /* REG_0x10:cpu_power_sleep_wakeup->sleep_en_global:0x10[19],0:sleep_en of global ,0,RW*/ 1781 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_sleep_en_global(sys_hw_t *hw) 1782 { 1783 return hw->cpu_power_sleep_wakeup.sleep_en_global; 1784 } 1785 1786 static inline void sys_ll_set_cpu_power_sleep_wakeup_sleep_en_global(sys_hw_t *hw, uint32_t value) 1787 { 1788 hw->cpu_power_sleep_wakeup.sleep_en_global = value; 1789 } 1790 1791 /* REG_0x10:cpu_power_sleep_wakeup->wifi_wakeup_platform_en:0x10[20],0:wifi_wakeup_en ,0,RW*/ 1792 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_wifi_wakeup_platform_en(sys_hw_t *hw) 1793 { 1794 return hw->cpu_power_sleep_wakeup.wifi_wakeup_platform_en; 1795 } 1796 1797 static inline void sys_ll_set_cpu_power_sleep_wakeup_wifi_wakeup_platform_en(sys_hw_t *hw, uint32_t value) 1798 { 1799 hw->cpu_power_sleep_wakeup.wifi_wakeup_platform_en = value; 1800 } 1801 1802 /* REG_0x10:cpu_power_sleep_wakeup->bts_wakeup_platform_en:0x10[21],0:bts_wakeup_en ,0,RW*/ 1803 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_bts_wakeup_platform_en(sys_hw_t *hw) 1804 { 1805 return hw->cpu_power_sleep_wakeup.bts_wakeup_platform_en; 1806 } 1807 1808 static inline void sys_ll_set_cpu_power_sleep_wakeup_bts_wakeup_platform_en(sys_hw_t *hw, uint32_t value) 1809 { 1810 hw->cpu_power_sleep_wakeup.bts_wakeup_platform_en = value; 1811 } 1812 1813 /* REG_0x10:cpu_power_sleep_wakeup->bts_sleep_exit_req:0x10[22],0:bt sleep exit request ,0,RW*/ 1814 static inline uint32_t sys_ll_get_cpu_power_sleep_wakeup_bts_sleep_exit_req(sys_hw_t *hw) 1815 { 1816 return hw->cpu_power_sleep_wakeup.bts_sleep_exit_req; 1817 } 1818 1819 static inline void sys_ll_set_cpu_power_sleep_wakeup_bts_sleep_exit_req(sys_hw_t *hw, uint32_t value) 1820 { 1821 hw->cpu_power_sleep_wakeup.bts_sleep_exit_req = value; 1822 } 1823 1824 /* REG_0x11 */ 1825 1826 /* REG_0x20 */ 1827 1828 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_value(sys_hw_t *hw) 1829 { 1830 return hw->cpu0_int_0_31_en.v; 1831 } 1832 1833 static inline void sys_ll_set_cpu0_int_0_31_en_value(sys_hw_t *hw, uint32_t value) 1834 { 1835 hw->cpu0_int_0_31_en.v = value; 1836 } 1837 1838 /* REG_0x20:cpu0_int_0_31_en->cpu0_bmc32_int_en:0x20[0], ,0,R/W*/ 1839 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_bmc32_int_en(sys_hw_t *hw) 1840 { 1841 return hw->cpu0_int_0_31_en.cpu0_bmc32_int_en; 1842 } 1843 1844 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_bmc32_int_en(sys_hw_t *hw, uint32_t value) 1845 { 1846 hw->cpu0_int_0_31_en.cpu0_bmc32_int_en = value; 1847 } 1848 1849 /* REG_0x20:cpu0_int_0_31_en->cpu0_host_0_irq_en:0x20[1], ,0,R/W*/ 1850 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_host_0_irq_en(sys_hw_t *hw) 1851 { 1852 return hw->cpu0_int_0_31_en.cpu0_host_0_irq_en; 1853 } 1854 1855 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_host_0_irq_en(sys_hw_t *hw, uint32_t value) 1856 { 1857 hw->cpu0_int_0_31_en.cpu0_host_0_irq_en = value; 1858 } 1859 1860 /* REG_0x20:cpu0_int_0_31_en->cpu0_host_0_sec_irq_en:0x20[2], ,0,R/W*/ 1861 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_host_0_sec_irq_en(sys_hw_t *hw) 1862 { 1863 return hw->cpu0_int_0_31_en.cpu0_host_0_sec_irq_en; 1864 } 1865 1866 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_host_0_sec_irq_en(sys_hw_t *hw, uint32_t value) 1867 { 1868 hw->cpu0_int_0_31_en.cpu0_host_0_sec_irq_en = value; 1869 } 1870 1871 /* REG_0x20:cpu0_int_0_31_en->cpu0_timer_int_en:0x20[3], ,0,R/W*/ 1872 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_timer_int_en(sys_hw_t *hw) 1873 { 1874 return hw->cpu0_int_0_31_en.cpu0_timer_int_en; 1875 } 1876 1877 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_timer_int_en(sys_hw_t *hw, uint32_t value) 1878 { 1879 hw->cpu0_int_0_31_en.cpu0_timer_int_en = value; 1880 } 1881 1882 /* REG_0x20:cpu0_int_0_31_en->cpu0_uart_int_en:0x20[4], ,0,R/W*/ 1883 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_uart_int_en(sys_hw_t *hw) 1884 { 1885 return hw->cpu0_int_0_31_en.cpu0_uart_int_en; 1886 } 1887 1888 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_uart_int_en(sys_hw_t *hw, uint32_t value) 1889 { 1890 hw->cpu0_int_0_31_en.cpu0_uart_int_en = value; 1891 } 1892 1893 /* REG_0x20:cpu0_int_0_31_en->cpu0_pwm_int_en:0x20[5], ,0,R/W*/ 1894 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_pwm_int_en(sys_hw_t *hw) 1895 { 1896 return hw->cpu0_int_0_31_en.cpu0_pwm_int_en; 1897 } 1898 1899 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_pwm_int_en(sys_hw_t *hw, uint32_t value) 1900 { 1901 hw->cpu0_int_0_31_en.cpu0_pwm_int_en = value; 1902 } 1903 1904 /* REG_0x20:cpu0_int_0_31_en->cpu0_i2c_int_en:0x20[6], ,0,R/W*/ 1905 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_i2c_int_en(sys_hw_t *hw) 1906 { 1907 return hw->cpu0_int_0_31_en.cpu0_i2c_int_en; 1908 } 1909 1910 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_i2c_int_en(sys_hw_t *hw, uint32_t value) 1911 { 1912 hw->cpu0_int_0_31_en.cpu0_i2c_int_en = value; 1913 } 1914 1915 /* REG_0x20:cpu0_int_0_31_en->cpu0_spi_int_en:0x20[7], ,0,R/W*/ 1916 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_spi_int_en(sys_hw_t *hw) 1917 { 1918 return hw->cpu0_int_0_31_en.cpu0_spi_int_en; 1919 } 1920 1921 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_spi_int_en(sys_hw_t *hw, uint32_t value) 1922 { 1923 hw->cpu0_int_0_31_en.cpu0_spi_int_en = value; 1924 } 1925 1926 /* REG_0x20:cpu0_int_0_31_en->cpu0_sadc_int_en:0x20[8], ,0,R/W*/ 1927 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_sadc_int_en(sys_hw_t *hw) 1928 { 1929 return hw->cpu0_int_0_31_en.cpu0_sadc_int_en; 1930 } 1931 1932 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_sadc_int_en(sys_hw_t *hw, uint32_t value) 1933 { 1934 hw->cpu0_int_0_31_en.cpu0_sadc_int_en = value; 1935 } 1936 1937 /* REG_0x20:cpu0_int_0_31_en->cpu0_irda_int_en:0x20[9], ,0,R/W*/ 1938 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_irda_int_en(sys_hw_t *hw) 1939 { 1940 return hw->cpu0_int_0_31_en.cpu0_irda_int_en; 1941 } 1942 1943 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_irda_int_en(sys_hw_t *hw, uint32_t value) 1944 { 1945 hw->cpu0_int_0_31_en.cpu0_irda_int_en = value; 1946 } 1947 1948 /* REG_0x20:cpu0_int_0_31_en->cpu0_sdio_int_en:0x20[10], ,0,R/W*/ 1949 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_sdio_int_en(sys_hw_t *hw) 1950 { 1951 return hw->cpu0_int_0_31_en.cpu0_sdio_int_en; 1952 } 1953 1954 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_sdio_int_en(sys_hw_t *hw, uint32_t value) 1955 { 1956 hw->cpu0_int_0_31_en.cpu0_sdio_int_en = value; 1957 } 1958 1959 /* REG_0x20:cpu0_int_0_31_en->cpu0_gdma_int_en:0x20[11], ,0,R/W*/ 1960 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_gdma_int_en(sys_hw_t *hw) 1961 { 1962 return hw->cpu0_int_0_31_en.cpu0_gdma_int_en; 1963 } 1964 1965 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_gdma_int_en(sys_hw_t *hw, uint32_t value) 1966 { 1967 hw->cpu0_int_0_31_en.cpu0_gdma_int_en = value; 1968 } 1969 1970 /* REG_0x20:cpu0_int_0_31_en->cpu0_la_int_en:0x20[12], ,0,R/W*/ 1971 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_la_int_en(sys_hw_t *hw) 1972 { 1973 return hw->cpu0_int_0_31_en.cpu0_la_int_en; 1974 } 1975 1976 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_la_int_en(sys_hw_t *hw, uint32_t value) 1977 { 1978 hw->cpu0_int_0_31_en.cpu0_la_int_en = value; 1979 } 1980 1981 /* REG_0x20:cpu0_int_0_31_en->cpu0_timer1_int_en:0x20[13], ,0,R/W*/ 1982 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_timer1_int_en(sys_hw_t *hw) 1983 { 1984 return hw->cpu0_int_0_31_en.cpu0_timer1_int_en; 1985 } 1986 1987 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_timer1_int_en(sys_hw_t *hw, uint32_t value) 1988 { 1989 hw->cpu0_int_0_31_en.cpu0_timer1_int_en = value; 1990 } 1991 1992 /* REG_0x20:cpu0_int_0_31_en->cpu0_i2c1_int_en:0x20[14], ,0,R/W*/ 1993 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_i2c1_int_en(sys_hw_t *hw) 1994 { 1995 return hw->cpu0_int_0_31_en.cpu0_i2c1_int_en; 1996 } 1997 1998 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_i2c1_int_en(sys_hw_t *hw, uint32_t value) 1999 { 2000 hw->cpu0_int_0_31_en.cpu0_i2c1_int_en = value; 2001 } 2002 2003 /* REG_0x20:cpu0_int_0_31_en->cpu0_uart1_int_en:0x20[15], ,0,R/W*/ 2004 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_uart1_int_en(sys_hw_t *hw) 2005 { 2006 return hw->cpu0_int_0_31_en.cpu0_uart1_int_en; 2007 } 2008 2009 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_uart1_int_en(sys_hw_t *hw, uint32_t value) 2010 { 2011 hw->cpu0_int_0_31_en.cpu0_uart1_int_en = value; 2012 } 2013 2014 /* REG_0x20:cpu0_int_0_31_en->cpu0_uart2_int_en:0x20[16], ,0,R/W*/ 2015 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_uart2_int_en(sys_hw_t *hw) 2016 { 2017 return hw->cpu0_int_0_31_en.cpu0_uart2_int_en; 2018 } 2019 2020 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_uart2_int_en(sys_hw_t *hw, uint32_t value) 2021 { 2022 hw->cpu0_int_0_31_en.cpu0_uart2_int_en = value; 2023 } 2024 2025 /* REG_0x20:cpu0_int_0_31_en->cpu0_spi1_int_en:0x20[17], ,0,R/W*/ 2026 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_spi1_int_en(sys_hw_t *hw) 2027 { 2028 return hw->cpu0_int_0_31_en.cpu0_spi1_int_en; 2029 } 2030 2031 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_spi1_int_en(sys_hw_t *hw, uint32_t value) 2032 { 2033 hw->cpu0_int_0_31_en.cpu0_spi1_int_en = value; 2034 } 2035 2036 /* REG_0x20:cpu0_int_0_31_en->cpu0_can_int_en:0x20[18], ,0,R/W*/ 2037 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_can_int_en(sys_hw_t *hw) 2038 { 2039 return hw->cpu0_int_0_31_en.cpu0_can_int_en; 2040 } 2041 2042 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_can_int_en(sys_hw_t *hw, uint32_t value) 2043 { 2044 hw->cpu0_int_0_31_en.cpu0_can_int_en = value; 2045 } 2046 2047 /* REG_0x20:cpu0_int_0_31_en->cpu0_usb_int_en:0x20[19], ,0,R/W*/ 2048 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_usb_int_en(sys_hw_t *hw) 2049 { 2050 return hw->cpu0_int_0_31_en.cpu0_usb_int_en; 2051 } 2052 2053 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_usb_int_en(sys_hw_t *hw, uint32_t value) 2054 { 2055 hw->cpu0_int_0_31_en.cpu0_usb_int_en = value; 2056 } 2057 2058 /* REG_0x20:cpu0_int_0_31_en->cpu0_qspi_int_en:0x20[20], ,0,R/W*/ 2059 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_qspi_int_en(sys_hw_t *hw) 2060 { 2061 return hw->cpu0_int_0_31_en.cpu0_qspi_int_en; 2062 } 2063 2064 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_qspi_int_en(sys_hw_t *hw, uint32_t value) 2065 { 2066 hw->cpu0_int_0_31_en.cpu0_qspi_int_en = value; 2067 } 2068 2069 /* REG_0x20:cpu0_int_0_31_en->cpu0_fft_int_en:0x20[21], ,0,R/W*/ 2070 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_fft_int_en(sys_hw_t *hw) 2071 { 2072 return hw->cpu0_int_0_31_en.cpu0_fft_int_en; 2073 } 2074 2075 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_fft_int_en(sys_hw_t *hw, uint32_t value) 2076 { 2077 hw->cpu0_int_0_31_en.cpu0_fft_int_en = value; 2078 } 2079 2080 /* REG_0x20:cpu0_int_0_31_en->cpu0_sbc_int_en:0x20[22], ,0,R/W*/ 2081 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_sbc_int_en(sys_hw_t *hw) 2082 { 2083 return hw->cpu0_int_0_31_en.cpu0_sbc_int_en; 2084 } 2085 2086 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_sbc_int_en(sys_hw_t *hw, uint32_t value) 2087 { 2088 hw->cpu0_int_0_31_en.cpu0_sbc_int_en = value; 2089 } 2090 2091 /* REG_0x20:cpu0_int_0_31_en->cpu0_aud_int_en:0x20[23], ,0,R/W*/ 2092 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_aud_int_en(sys_hw_t *hw) 2093 { 2094 return hw->cpu0_int_0_31_en.cpu0_aud_int_en; 2095 } 2096 2097 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_aud_int_en(sys_hw_t *hw, uint32_t value) 2098 { 2099 hw->cpu0_int_0_31_en.cpu0_aud_int_en = value; 2100 } 2101 2102 /* REG_0x20:cpu0_int_0_31_en->cpu0_i2s_int_en:0x20[24], ,0,R/W*/ 2103 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_i2s_int_en(sys_hw_t *hw) 2104 { 2105 return hw->cpu0_int_0_31_en.cpu0_i2s_int_en; 2106 } 2107 2108 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_i2s_int_en(sys_hw_t *hw, uint32_t value) 2109 { 2110 hw->cpu0_int_0_31_en.cpu0_i2s_int_en = value; 2111 } 2112 2113 /* REG_0x20:cpu0_int_0_31_en->cpu0_jpegenc_int_en:0x20[25], ,0,R/W*/ 2114 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_jpegenc_int_en(sys_hw_t *hw) 2115 { 2116 return hw->cpu0_int_0_31_en.cpu0_jpegenc_int_en; 2117 } 2118 2119 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_jpegenc_int_en(sys_hw_t *hw, uint32_t value) 2120 { 2121 hw->cpu0_int_0_31_en.cpu0_jpegenc_int_en = value; 2122 } 2123 2124 /* REG_0x20:cpu0_int_0_31_en->cpu0_jpegdec_int_en:0x20[26], ,0,R/W*/ 2125 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_jpegdec_int_en(sys_hw_t *hw) 2126 { 2127 return hw->cpu0_int_0_31_en.cpu0_jpegdec_int_en; 2128 } 2129 2130 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_jpegdec_int_en(sys_hw_t *hw, uint32_t value) 2131 { 2132 hw->cpu0_int_0_31_en.cpu0_jpegdec_int_en = value; 2133 } 2134 2135 /* REG_0x20:cpu0_int_0_31_en->cpu0_lcd_int_en:0x20[27], ,0,R/W*/ 2136 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_lcd_int_en(sys_hw_t *hw) 2137 { 2138 return hw->cpu0_int_0_31_en.cpu0_lcd_int_en; 2139 } 2140 2141 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_lcd_int_en(sys_hw_t *hw, uint32_t value) 2142 { 2143 hw->cpu0_int_0_31_en.cpu0_lcd_int_en = value; 2144 } 2145 2146 /* REG_0x20:cpu0_int_0_31_en->cpu0_dma2d_int_en:0x20[28], ,0,R/W*/ 2147 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_dma2d_int_en(sys_hw_t *hw) 2148 { 2149 return hw->cpu0_int_0_31_en.cpu0_dma2d_int_en; 2150 } 2151 2152 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_dma2d_int_en(sys_hw_t *hw, uint32_t value) 2153 { 2154 hw->cpu0_int_0_31_en.cpu0_dma2d_int_en = value; 2155 } 2156 2157 /* REG_0x20:cpu0_int_0_31_en->cpu0_wifi_int_phy_mpb_en:0x20[29], ,0,R/W*/ 2158 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_wifi_int_phy_mpb_en(sys_hw_t *hw) 2159 { 2160 return hw->cpu0_int_0_31_en.cpu0_wifi_int_phy_mpb_en; 2161 } 2162 2163 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_wifi_int_phy_mpb_en(sys_hw_t *hw, uint32_t value) 2164 { 2165 hw->cpu0_int_0_31_en.cpu0_wifi_int_phy_mpb_en = value; 2166 } 2167 2168 /* REG_0x20:cpu0_int_0_31_en->cpu0_wifi_int_phy_riu_en:0x20[30], ,0,R/W*/ 2169 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_wifi_int_phy_riu_en(sys_hw_t *hw) 2170 { 2171 return hw->cpu0_int_0_31_en.cpu0_wifi_int_phy_riu_en; 2172 } 2173 2174 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_wifi_int_phy_riu_en(sys_hw_t *hw, uint32_t value) 2175 { 2176 hw->cpu0_int_0_31_en.cpu0_wifi_int_phy_riu_en = value; 2177 } 2178 2179 /* REG_0x20:cpu0_int_0_31_en->cpu0_wifi_mac_int_tx_rx_timer_en:0x20[31], ,0,R/W*/ 2180 static inline uint32_t sys_ll_get_cpu0_int_0_31_en_cpu0_wifi_mac_int_tx_rx_timer_en(sys_hw_t *hw) 2181 { 2182 return hw->cpu0_int_0_31_en.cpu0_wifi_mac_int_tx_rx_timer_en; 2183 } 2184 2185 static inline void sys_ll_set_cpu0_int_0_31_en_cpu0_wifi_mac_int_tx_rx_timer_en(sys_hw_t *hw, uint32_t value) 2186 { 2187 hw->cpu0_int_0_31_en.cpu0_wifi_mac_int_tx_rx_timer_en = value; 2188 } 2189 2190 /* REG_0x21 */ 2191 2192 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_value(sys_hw_t *hw) 2193 { 2194 return hw->cpu0_int_32_63_en.v; 2195 } 2196 2197 static inline void sys_ll_set_cpu0_int_32_63_en_value(sys_hw_t *hw, uint32_t value) 2198 { 2199 hw->cpu0_int_32_63_en.v = value; 2200 } 2201 2202 /* REG_0x21:cpu0_int_32_63_en->cpu0_wifi_mac_int_tx_rx_misc_en:0x21[0], ,0,R/W*/ 2203 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_wifi_mac_int_tx_rx_misc_en(sys_hw_t *hw) 2204 { 2205 return hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_tx_rx_misc_en; 2206 } 2207 2208 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_wifi_mac_int_tx_rx_misc_en(sys_hw_t *hw, uint32_t value) 2209 { 2210 hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_tx_rx_misc_en = value; 2211 } 2212 2213 /* REG_0x21:cpu0_int_32_63_en->cpu0_wifi_mac_int_rx_trigger_en:0x21[1], ,0,R/W*/ 2214 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_wifi_mac_int_rx_trigger_en(sys_hw_t *hw) 2215 { 2216 return hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_rx_trigger_en; 2217 } 2218 2219 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_wifi_mac_int_rx_trigger_en(sys_hw_t *hw, uint32_t value) 2220 { 2221 hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_rx_trigger_en = value; 2222 } 2223 2224 /* REG_0x21:cpu0_int_32_63_en->cpu0_wifi_mac_int_tx_trigger_en:0x21[2], ,0,R/W*/ 2225 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_wifi_mac_int_tx_trigger_en(sys_hw_t *hw) 2226 { 2227 return hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_tx_trigger_en; 2228 } 2229 2230 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_wifi_mac_int_tx_trigger_en(sys_hw_t *hw, uint32_t value) 2231 { 2232 hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_tx_trigger_en = value; 2233 } 2234 2235 /* REG_0x21:cpu0_int_32_63_en->cpu0_wifi_mac_int_prot_trigger_en:0x21[3], ,0,R/W*/ 2236 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_wifi_mac_int_prot_trigger_en(sys_hw_t *hw) 2237 { 2238 return hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_prot_trigger_en; 2239 } 2240 2241 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_wifi_mac_int_prot_trigger_en(sys_hw_t *hw, uint32_t value) 2242 { 2243 hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_prot_trigger_en = value; 2244 } 2245 2246 /* REG_0x21:cpu0_int_32_63_en->cpu0_wifi_mac_int_gen_en:0x21[4], ,0,R/W*/ 2247 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_wifi_mac_int_gen_en(sys_hw_t *hw) 2248 { 2249 return hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_gen_en; 2250 } 2251 2252 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_wifi_mac_int_gen_en(sys_hw_t *hw, uint32_t value) 2253 { 2254 hw->cpu0_int_32_63_en.cpu0_wifi_mac_int_gen_en = value; 2255 } 2256 2257 /* REG_0x21:cpu0_int_32_63_en->cpu0_wifi_hsu_irq_en:0x21[5], ,0,R/W*/ 2258 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_wifi_hsu_irq_en(sys_hw_t *hw) 2259 { 2260 return hw->cpu0_int_32_63_en.cpu0_wifi_hsu_irq_en; 2261 } 2262 2263 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_wifi_hsu_irq_en(sys_hw_t *hw, uint32_t value) 2264 { 2265 hw->cpu0_int_32_63_en.cpu0_wifi_hsu_irq_en = value; 2266 } 2267 2268 /* REG_0x21:cpu0_int_32_63_en->cpu0_wifi_int_mac_wakeup_en:0x21[6], ,0,R/W*/ 2269 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_wifi_int_mac_wakeup_en(sys_hw_t *hw) 2270 { 2271 return hw->cpu0_int_32_63_en.cpu0_wifi_int_mac_wakeup_en; 2272 } 2273 2274 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_wifi_int_mac_wakeup_en(sys_hw_t *hw, uint32_t value) 2275 { 2276 hw->cpu0_int_32_63_en.cpu0_wifi_int_mac_wakeup_en = value; 2277 } 2278 2279 /* REG_0x21:cpu0_int_32_63_en->cpu0_dm_irq_en:0x21[7], ,0,R/W*/ 2280 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_dm_irq_en(sys_hw_t *hw) 2281 { 2282 return hw->cpu0_int_32_63_en.cpu0_dm_irq_en; 2283 } 2284 2285 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_dm_irq_en(sys_hw_t *hw, uint32_t value) 2286 { 2287 hw->cpu0_int_32_63_en.cpu0_dm_irq_en = value; 2288 } 2289 2290 /* REG_0x21:cpu0_int_32_63_en->cpu0_ble_irq_en:0x21[8], ,0,R/W*/ 2291 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_ble_irq_en(sys_hw_t *hw) 2292 { 2293 return hw->cpu0_int_32_63_en.cpu0_ble_irq_en; 2294 } 2295 2296 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_ble_irq_en(sys_hw_t *hw, uint32_t value) 2297 { 2298 hw->cpu0_int_32_63_en.cpu0_ble_irq_en = value; 2299 } 2300 2301 /* REG_0x21:cpu0_int_32_63_en->cpu0_bt_irq_en:0x21[9], ,0,R/W*/ 2302 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_bt_irq_en(sys_hw_t *hw) 2303 { 2304 return hw->cpu0_int_32_63_en.cpu0_bt_irq_en; 2305 } 2306 2307 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_bt_irq_en(sys_hw_t *hw, uint32_t value) 2308 { 2309 hw->cpu0_int_32_63_en.cpu0_bt_irq_en = value; 2310 } 2311 2312 /* REG_0x21:cpu0_int_32_63_en->cpu0_mbox0_int_en:0x21[16], ,0,R/W*/ 2313 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_mbox0_int_en(sys_hw_t *hw) 2314 { 2315 return hw->cpu0_int_32_63_en.cpu0_mbox0_int_en; 2316 } 2317 2318 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_mbox0_int_en(sys_hw_t *hw, uint32_t value) 2319 { 2320 hw->cpu0_int_32_63_en.cpu0_mbox0_int_en = value; 2321 } 2322 2323 /* REG_0x21:cpu0_int_32_63_en->cpu0_mbox1_int_en:0x21[17], ,0,R/W*/ 2324 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_mbox1_int_en(sys_hw_t *hw) 2325 { 2326 return hw->cpu0_int_32_63_en.cpu0_mbox1_int_en; 2327 } 2328 2329 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_mbox1_int_en(sys_hw_t *hw, uint32_t value) 2330 { 2331 hw->cpu0_int_32_63_en.cpu0_mbox1_int_en = value; 2332 } 2333 2334 /* REG_0x21:cpu0_int_32_63_en->cpu0_bmc64_int_en:0x21[18], ,0,R/W*/ 2335 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_bmc64_int_en(sys_hw_t *hw) 2336 { 2337 return hw->cpu0_int_32_63_en.cpu0_bmc64_int_en; 2338 } 2339 2340 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_bmc64_int_en(sys_hw_t *hw, uint32_t value) 2341 { 2342 hw->cpu0_int_32_63_en.cpu0_bmc64_int_en = value; 2343 } 2344 2345 /* REG_0x21:cpu0_int_32_63_en->cpu0_touched_int_en:0x21[20], ,0,R/W*/ 2346 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_touched_int_en(sys_hw_t *hw) 2347 { 2348 return hw->cpu0_int_32_63_en.cpu0_touched_int_en; 2349 } 2350 2351 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_touched_int_en(sys_hw_t *hw, uint32_t value) 2352 { 2353 hw->cpu0_int_32_63_en.cpu0_touched_int_en = value; 2354 } 2355 2356 /* REG_0x21:cpu0_int_32_63_en->cpu0_usbplug_int_en:0x21[21], ,0,R/W*/ 2357 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_usbplug_int_en(sys_hw_t *hw) 2358 { 2359 return hw->cpu0_int_32_63_en.cpu0_usbplug_int_en; 2360 } 2361 2362 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_usbplug_int_en(sys_hw_t *hw, uint32_t value) 2363 { 2364 hw->cpu0_int_32_63_en.cpu0_usbplug_int_en = value; 2365 } 2366 2367 /* REG_0x21:cpu0_int_32_63_en->cpu0_rtc_int_en:0x21[22], ,0,R/W*/ 2368 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_rtc_int_en(sys_hw_t *hw) 2369 { 2370 return hw->cpu0_int_32_63_en.cpu0_rtc_int_en; 2371 } 2372 2373 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_rtc_int_en(sys_hw_t *hw, uint32_t value) 2374 { 2375 hw->cpu0_int_32_63_en.cpu0_rtc_int_en = value; 2376 } 2377 2378 /* REG_0x21:cpu0_int_32_63_en->cpu0_gpio_int_en:0x21[23], ,0,R/W*/ 2379 static inline uint32_t sys_ll_get_cpu0_int_32_63_en_cpu0_gpio_int_en(sys_hw_t *hw) 2380 { 2381 return hw->cpu0_int_32_63_en.cpu0_gpio_int_en; 2382 } 2383 2384 static inline void sys_ll_set_cpu0_int_32_63_en_cpu0_gpio_int_en(sys_hw_t *hw, uint32_t value) 2385 { 2386 hw->cpu0_int_32_63_en.cpu0_gpio_int_en = value; 2387 } 2388 2389 /* REG_0x22 */ 2390 2391 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_value(sys_hw_t *hw) 2392 { 2393 return hw->cpu1_int_0_31_en.v; 2394 } 2395 2396 static inline void sys_ll_set_cpu1_int_0_31_en_value(sys_hw_t *hw, uint32_t value) 2397 { 2398 hw->cpu1_int_0_31_en.v = value; 2399 } 2400 2401 /* REG_0x22:cpu1_int_0_31_en->cpu1_bmc32_int_en:0x22[0], ,0,R/W*/ 2402 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_bmc32_int_en(sys_hw_t *hw) 2403 { 2404 return hw->cpu1_int_0_31_en.cpu1_bmc32_int_en; 2405 } 2406 2407 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_bmc32_int_en(sys_hw_t *hw, uint32_t value) 2408 { 2409 hw->cpu1_int_0_31_en.cpu1_bmc32_int_en = value; 2410 } 2411 2412 /* REG_0x22:cpu1_int_0_31_en->cpu1_host_0_irq_en:0x22[1], ,0,R/W*/ 2413 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_host_0_irq_en(sys_hw_t *hw) 2414 { 2415 return hw->cpu1_int_0_31_en.cpu1_host_0_irq_en; 2416 } 2417 2418 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_host_0_irq_en(sys_hw_t *hw, uint32_t value) 2419 { 2420 hw->cpu1_int_0_31_en.cpu1_host_0_irq_en = value; 2421 } 2422 2423 /* REG_0x22:cpu1_int_0_31_en->cpu1_host_0_sec_irq_en:0x22[2], ,0,R/W*/ 2424 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_host_0_sec_irq_en(sys_hw_t *hw) 2425 { 2426 return hw->cpu1_int_0_31_en.cpu1_host_0_sec_irq_en; 2427 } 2428 2429 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_host_0_sec_irq_en(sys_hw_t *hw, uint32_t value) 2430 { 2431 hw->cpu1_int_0_31_en.cpu1_host_0_sec_irq_en = value; 2432 } 2433 2434 /* REG_0x22:cpu1_int_0_31_en->cpu1_timer_int_en:0x22[3], ,0,R/W*/ 2435 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_timer_int_en(sys_hw_t *hw) 2436 { 2437 return hw->cpu1_int_0_31_en.cpu1_timer_int_en; 2438 } 2439 2440 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_timer_int_en(sys_hw_t *hw, uint32_t value) 2441 { 2442 hw->cpu1_int_0_31_en.cpu1_timer_int_en = value; 2443 } 2444 2445 /* REG_0x22:cpu1_int_0_31_en->cpu1_uart_int_en:0x22[4], ,0,R/W*/ 2446 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_uart_int_en(sys_hw_t *hw) 2447 { 2448 return hw->cpu1_int_0_31_en.cpu1_uart_int_en; 2449 } 2450 2451 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_uart_int_en(sys_hw_t *hw, uint32_t value) 2452 { 2453 hw->cpu1_int_0_31_en.cpu1_uart_int_en = value; 2454 } 2455 2456 /* REG_0x22:cpu1_int_0_31_en->cpu1_pwm_int_en:0x22[5], ,0,R/W*/ 2457 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_pwm_int_en(sys_hw_t *hw) 2458 { 2459 return hw->cpu1_int_0_31_en.cpu1_pwm_int_en; 2460 } 2461 2462 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_pwm_int_en(sys_hw_t *hw, uint32_t value) 2463 { 2464 hw->cpu1_int_0_31_en.cpu1_pwm_int_en = value; 2465 } 2466 2467 /* REG_0x22:cpu1_int_0_31_en->cpu1_i2c_int_en:0x22[6], ,0,R/W*/ 2468 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_i2c_int_en(sys_hw_t *hw) 2469 { 2470 return hw->cpu1_int_0_31_en.cpu1_i2c_int_en; 2471 } 2472 2473 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_i2c_int_en(sys_hw_t *hw, uint32_t value) 2474 { 2475 hw->cpu1_int_0_31_en.cpu1_i2c_int_en = value; 2476 } 2477 2478 /* REG_0x22:cpu1_int_0_31_en->cpu1_spi_int_en:0x22[7], ,0,R/W*/ 2479 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_spi_int_en(sys_hw_t *hw) 2480 { 2481 return hw->cpu1_int_0_31_en.cpu1_spi_int_en; 2482 } 2483 2484 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_spi_int_en(sys_hw_t *hw, uint32_t value) 2485 { 2486 hw->cpu1_int_0_31_en.cpu1_spi_int_en = value; 2487 } 2488 2489 /* REG_0x22:cpu1_int_0_31_en->cpu1_sadc_int_en:0x22[8], ,0,R/W*/ 2490 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_sadc_int_en(sys_hw_t *hw) 2491 { 2492 return hw->cpu1_int_0_31_en.cpu1_sadc_int_en; 2493 } 2494 2495 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_sadc_int_en(sys_hw_t *hw, uint32_t value) 2496 { 2497 hw->cpu1_int_0_31_en.cpu1_sadc_int_en = value; 2498 } 2499 2500 /* REG_0x22:cpu1_int_0_31_en->cpu1_irda_int_en:0x22[9], ,0,R/W*/ 2501 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_irda_int_en(sys_hw_t *hw) 2502 { 2503 return hw->cpu1_int_0_31_en.cpu1_irda_int_en; 2504 } 2505 2506 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_irda_int_en(sys_hw_t *hw, uint32_t value) 2507 { 2508 hw->cpu1_int_0_31_en.cpu1_irda_int_en = value; 2509 } 2510 2511 /* REG_0x22:cpu1_int_0_31_en->cpu1_sdio_int_en:0x22[10], ,0,R/W*/ 2512 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_sdio_int_en(sys_hw_t *hw) 2513 { 2514 return hw->cpu1_int_0_31_en.cpu1_sdio_int_en; 2515 } 2516 2517 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_sdio_int_en(sys_hw_t *hw, uint32_t value) 2518 { 2519 hw->cpu1_int_0_31_en.cpu1_sdio_int_en = value; 2520 } 2521 2522 /* REG_0x22:cpu1_int_0_31_en->cpu1_gdma_int_en:0x22[11], ,0,R/W*/ 2523 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_gdma_int_en(sys_hw_t *hw) 2524 { 2525 return hw->cpu1_int_0_31_en.cpu1_gdma_int_en; 2526 } 2527 2528 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_gdma_int_en(sys_hw_t *hw, uint32_t value) 2529 { 2530 hw->cpu1_int_0_31_en.cpu1_gdma_int_en = value; 2531 } 2532 2533 /* REG_0x22:cpu1_int_0_31_en->cpu1_la_int_en:0x22[12], ,0,R/W*/ 2534 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_la_int_en(sys_hw_t *hw) 2535 { 2536 return hw->cpu1_int_0_31_en.cpu1_la_int_en; 2537 } 2538 2539 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_la_int_en(sys_hw_t *hw, uint32_t value) 2540 { 2541 hw->cpu1_int_0_31_en.cpu1_la_int_en = value; 2542 } 2543 2544 /* REG_0x22:cpu1_int_0_31_en->cpu1_timer1_int_en:0x22[13], ,0,R/W*/ 2545 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_timer1_int_en(sys_hw_t *hw) 2546 { 2547 return hw->cpu1_int_0_31_en.cpu1_timer1_int_en; 2548 } 2549 2550 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_timer1_int_en(sys_hw_t *hw, uint32_t value) 2551 { 2552 hw->cpu1_int_0_31_en.cpu1_timer1_int_en = value; 2553 } 2554 2555 /* REG_0x22:cpu1_int_0_31_en->cpu1_i2c1_int_en:0x22[14], ,0,R/W*/ 2556 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_i2c1_int_en(sys_hw_t *hw) 2557 { 2558 return hw->cpu1_int_0_31_en.cpu1_i2c1_int_en; 2559 } 2560 2561 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_i2c1_int_en(sys_hw_t *hw, uint32_t value) 2562 { 2563 hw->cpu1_int_0_31_en.cpu1_i2c1_int_en = value; 2564 } 2565 2566 /* REG_0x22:cpu1_int_0_31_en->cpu1_uart1_int_en:0x22[15], ,0,R/W*/ 2567 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_uart1_int_en(sys_hw_t *hw) 2568 { 2569 return hw->cpu1_int_0_31_en.cpu1_uart1_int_en; 2570 } 2571 2572 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_uart1_int_en(sys_hw_t *hw, uint32_t value) 2573 { 2574 hw->cpu1_int_0_31_en.cpu1_uart1_int_en = value; 2575 } 2576 2577 /* REG_0x22:cpu1_int_0_31_en->cpu1_uart2_int_en:0x22[16], ,0,R/W*/ 2578 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_uart2_int_en(sys_hw_t *hw) 2579 { 2580 return hw->cpu1_int_0_31_en.cpu1_uart2_int_en; 2581 } 2582 2583 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_uart2_int_en(sys_hw_t *hw, uint32_t value) 2584 { 2585 hw->cpu1_int_0_31_en.cpu1_uart2_int_en = value; 2586 } 2587 2588 /* REG_0x22:cpu1_int_0_31_en->cpu1_spi1_int_en:0x22[17], ,0,R/W*/ 2589 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_spi1_int_en(sys_hw_t *hw) 2590 { 2591 return hw->cpu1_int_0_31_en.cpu1_spi1_int_en; 2592 } 2593 2594 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_spi1_int_en(sys_hw_t *hw, uint32_t value) 2595 { 2596 hw->cpu1_int_0_31_en.cpu1_spi1_int_en = value; 2597 } 2598 2599 /* REG_0x22:cpu1_int_0_31_en->cpu1_can_int_en:0x22[18], ,0,R/W*/ 2600 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_can_int_en(sys_hw_t *hw) 2601 { 2602 return hw->cpu1_int_0_31_en.cpu1_can_int_en; 2603 } 2604 2605 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_can_int_en(sys_hw_t *hw, uint32_t value) 2606 { 2607 hw->cpu1_int_0_31_en.cpu1_can_int_en = value; 2608 } 2609 2610 /* REG_0x22:cpu1_int_0_31_en->cpu1_usb_int_en:0x22[19], ,0,R/W*/ 2611 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_usb_int_en(sys_hw_t *hw) 2612 { 2613 return hw->cpu1_int_0_31_en.cpu1_usb_int_en; 2614 } 2615 2616 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_usb_int_en(sys_hw_t *hw, uint32_t value) 2617 { 2618 hw->cpu1_int_0_31_en.cpu1_usb_int_en = value; 2619 } 2620 2621 /* REG_0x22:cpu1_int_0_31_en->cpu1_qspi_int_en:0x22[20], ,0,R/W*/ 2622 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_qspi_int_en(sys_hw_t *hw) 2623 { 2624 return hw->cpu1_int_0_31_en.cpu1_qspi_int_en; 2625 } 2626 2627 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_qspi_int_en(sys_hw_t *hw, uint32_t value) 2628 { 2629 hw->cpu1_int_0_31_en.cpu1_qspi_int_en = value; 2630 } 2631 2632 /* REG_0x22:cpu1_int_0_31_en->cpu1_fft_int_en:0x22[21], ,0,R/W*/ 2633 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_fft_int_en(sys_hw_t *hw) 2634 { 2635 return hw->cpu1_int_0_31_en.cpu1_fft_int_en; 2636 } 2637 2638 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_fft_int_en(sys_hw_t *hw, uint32_t value) 2639 { 2640 hw->cpu1_int_0_31_en.cpu1_fft_int_en = value; 2641 } 2642 2643 /* REG_0x22:cpu1_int_0_31_en->cpu1_sbc_int_en:0x22[22], ,0,R/W*/ 2644 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_sbc_int_en(sys_hw_t *hw) 2645 { 2646 return hw->cpu1_int_0_31_en.cpu1_sbc_int_en; 2647 } 2648 2649 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_sbc_int_en(sys_hw_t *hw, uint32_t value) 2650 { 2651 hw->cpu1_int_0_31_en.cpu1_sbc_int_en = value; 2652 } 2653 2654 /* REG_0x22:cpu1_int_0_31_en->cpu1_aud_int_en:0x22[23], ,0,R/W*/ 2655 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_aud_int_en(sys_hw_t *hw) 2656 { 2657 return hw->cpu1_int_0_31_en.cpu1_aud_int_en; 2658 } 2659 2660 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_aud_int_en(sys_hw_t *hw, uint32_t value) 2661 { 2662 hw->cpu1_int_0_31_en.cpu1_aud_int_en = value; 2663 } 2664 2665 /* REG_0x22:cpu1_int_0_31_en->cpu1_i2s_int_en:0x22[24], ,0,R/W*/ 2666 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_i2s_int_en(sys_hw_t *hw) 2667 { 2668 return hw->cpu1_int_0_31_en.cpu1_i2s_int_en; 2669 } 2670 2671 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_i2s_int_en(sys_hw_t *hw, uint32_t value) 2672 { 2673 hw->cpu1_int_0_31_en.cpu1_i2s_int_en = value; 2674 } 2675 2676 /* REG_0x22:cpu1_int_0_31_en->cpu1_jpegenc_int_en:0x22[25], ,0,R/W*/ 2677 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_jpegenc_int_en(sys_hw_t *hw) 2678 { 2679 return hw->cpu1_int_0_31_en.cpu1_jpegenc_int_en; 2680 } 2681 2682 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_jpegenc_int_en(sys_hw_t *hw, uint32_t value) 2683 { 2684 hw->cpu1_int_0_31_en.cpu1_jpegenc_int_en = value; 2685 } 2686 2687 /* REG_0x22:cpu1_int_0_31_en->cpu1_jpegdec_int_en:0x22[26], ,0,R/W*/ 2688 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_jpegdec_int_en(sys_hw_t *hw) 2689 { 2690 return hw->cpu1_int_0_31_en.cpu1_jpegdec_int_en; 2691 } 2692 2693 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_jpegdec_int_en(sys_hw_t *hw, uint32_t value) 2694 { 2695 hw->cpu1_int_0_31_en.cpu1_jpegdec_int_en = value; 2696 } 2697 2698 /* REG_0x22:cpu1_int_0_31_en->cpu1_lcd_int_en:0x22[27], ,0,R/W*/ 2699 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_lcd_int_en(sys_hw_t *hw) 2700 { 2701 return hw->cpu1_int_0_31_en.cpu1_lcd_int_en; 2702 } 2703 2704 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_lcd_int_en(sys_hw_t *hw, uint32_t value) 2705 { 2706 hw->cpu1_int_0_31_en.cpu1_lcd_int_en = value; 2707 } 2708 2709 /* REG_0x22:cpu1_int_0_31_en->cpu1_dma2d_int_en:0x22[28], ,0,R/W*/ 2710 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_dma2d_int_en(sys_hw_t *hw) 2711 { 2712 return hw->cpu1_int_0_31_en.cpu1_dma2d_int_en; 2713 } 2714 2715 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_dma2d_int_en(sys_hw_t *hw, uint32_t value) 2716 { 2717 hw->cpu1_int_0_31_en.cpu1_dma2d_int_en = value; 2718 } 2719 2720 /* REG_0x22:cpu1_int_0_31_en->cpu1_wifi_int_phy_mpb_en:0x22[29], ,0,R/W*/ 2721 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_wifi_int_phy_mpb_en(sys_hw_t *hw) 2722 { 2723 return hw->cpu1_int_0_31_en.cpu1_wifi_int_phy_mpb_en; 2724 } 2725 2726 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_wifi_int_phy_mpb_en(sys_hw_t *hw, uint32_t value) 2727 { 2728 hw->cpu1_int_0_31_en.cpu1_wifi_int_phy_mpb_en = value; 2729 } 2730 2731 /* REG_0x22:cpu1_int_0_31_en->cpu1_wifi_int_phy_riu_en:0x22[30], ,0,R/W*/ 2732 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_wifi_int_phy_riu_en(sys_hw_t *hw) 2733 { 2734 return hw->cpu1_int_0_31_en.cpu1_wifi_int_phy_riu_en; 2735 } 2736 2737 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_wifi_int_phy_riu_en(sys_hw_t *hw, uint32_t value) 2738 { 2739 hw->cpu1_int_0_31_en.cpu1_wifi_int_phy_riu_en = value; 2740 } 2741 2742 /* REG_0x22:cpu1_int_0_31_en->cpu1_wifi_mac_int_tx_rx_timer_en:0x22[31], ,0,R/W*/ 2743 static inline uint32_t sys_ll_get_cpu1_int_0_31_en_cpu1_wifi_mac_int_tx_rx_timer_en(sys_hw_t *hw) 2744 { 2745 return hw->cpu1_int_0_31_en.cpu1_wifi_mac_int_tx_rx_timer_en; 2746 } 2747 2748 static inline void sys_ll_set_cpu1_int_0_31_en_cpu1_wifi_mac_int_tx_rx_timer_en(sys_hw_t *hw, uint32_t value) 2749 { 2750 hw->cpu1_int_0_31_en.cpu1_wifi_mac_int_tx_rx_timer_en = value; 2751 } 2752 2753 /* REG_0x23 */ 2754 2755 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_value(sys_hw_t *hw) 2756 { 2757 return hw->cpu1_int_32_63_en.v; 2758 } 2759 2760 static inline void sys_ll_set_cpu1_int_32_63_en_value(sys_hw_t *hw, uint32_t value) 2761 { 2762 hw->cpu1_int_32_63_en.v = value; 2763 } 2764 2765 /* REG_0x23:cpu1_int_32_63_en->cpu1_wifi_mac_int_tx_rx_misc_en:0x23[0], ,0,R/W*/ 2766 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_wifi_mac_int_tx_rx_misc_en(sys_hw_t *hw) 2767 { 2768 return hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_tx_rx_misc_en; 2769 } 2770 2771 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_wifi_mac_int_tx_rx_misc_en(sys_hw_t *hw, uint32_t value) 2772 { 2773 hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_tx_rx_misc_en = value; 2774 } 2775 2776 /* REG_0x23:cpu1_int_32_63_en->cpu1_wifi_mac_int_rx_trigger_en:0x23[1], ,0,R/W*/ 2777 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_wifi_mac_int_rx_trigger_en(sys_hw_t *hw) 2778 { 2779 return hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_rx_trigger_en; 2780 } 2781 2782 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_wifi_mac_int_rx_trigger_en(sys_hw_t *hw, uint32_t value) 2783 { 2784 hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_rx_trigger_en = value; 2785 } 2786 2787 /* REG_0x23:cpu1_int_32_63_en->cpu1_wifi_mac_int_tx_trigger_en:0x23[2], ,0,R/W*/ 2788 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_wifi_mac_int_tx_trigger_en(sys_hw_t *hw) 2789 { 2790 return hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_tx_trigger_en; 2791 } 2792 2793 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_wifi_mac_int_tx_trigger_en(sys_hw_t *hw, uint32_t value) 2794 { 2795 hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_tx_trigger_en = value; 2796 } 2797 2798 /* REG_0x23:cpu1_int_32_63_en->cpu1_wifi_mac_int_prot_trigger_en:0x23[3], ,0,R/W*/ 2799 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_wifi_mac_int_prot_trigger_en(sys_hw_t *hw) 2800 { 2801 return hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_prot_trigger_en; 2802 } 2803 2804 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_wifi_mac_int_prot_trigger_en(sys_hw_t *hw, uint32_t value) 2805 { 2806 hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_prot_trigger_en = value; 2807 } 2808 2809 /* REG_0x23:cpu1_int_32_63_en->cpu1_wifi_mac_int_gen_en:0x23[4], ,0,R/W*/ 2810 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_wifi_mac_int_gen_en(sys_hw_t *hw) 2811 { 2812 return hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_gen_en; 2813 } 2814 2815 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_wifi_mac_int_gen_en(sys_hw_t *hw, uint32_t value) 2816 { 2817 hw->cpu1_int_32_63_en.cpu1_wifi_mac_int_gen_en = value; 2818 } 2819 2820 /* REG_0x23:cpu1_int_32_63_en->cpu1_wifi_hsu_irq_en:0x23[5], ,0,R/W*/ 2821 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_wifi_hsu_irq_en(sys_hw_t *hw) 2822 { 2823 return hw->cpu1_int_32_63_en.cpu1_wifi_hsu_irq_en; 2824 } 2825 2826 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_wifi_hsu_irq_en(sys_hw_t *hw, uint32_t value) 2827 { 2828 hw->cpu1_int_32_63_en.cpu1_wifi_hsu_irq_en = value; 2829 } 2830 2831 /* REG_0x23:cpu1_int_32_63_en->cpu1_wifi_int_mac_wakeup_en:0x23[6], ,0,R/W*/ 2832 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_wifi_int_mac_wakeup_en(sys_hw_t *hw) 2833 { 2834 return hw->cpu1_int_32_63_en.cpu1_wifi_int_mac_wakeup_en; 2835 } 2836 2837 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_wifi_int_mac_wakeup_en(sys_hw_t *hw, uint32_t value) 2838 { 2839 hw->cpu1_int_32_63_en.cpu1_wifi_int_mac_wakeup_en = value; 2840 } 2841 2842 /* REG_0x23:cpu1_int_32_63_en->cpu1_dm_irq_en:0x23[7], ,0,R/W*/ 2843 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_dm_irq_en(sys_hw_t *hw) 2844 { 2845 return hw->cpu1_int_32_63_en.cpu1_dm_irq_en; 2846 } 2847 2848 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_dm_irq_en(sys_hw_t *hw, uint32_t value) 2849 { 2850 hw->cpu1_int_32_63_en.cpu1_dm_irq_en = value; 2851 } 2852 2853 /* REG_0x23:cpu1_int_32_63_en->cpu1_ble_irq_en:0x23[8], ,0,R/W*/ 2854 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_ble_irq_en(sys_hw_t *hw) 2855 { 2856 return hw->cpu1_int_32_63_en.cpu1_ble_irq_en; 2857 } 2858 2859 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_ble_irq_en(sys_hw_t *hw, uint32_t value) 2860 { 2861 hw->cpu1_int_32_63_en.cpu1_ble_irq_en = value; 2862 } 2863 2864 /* REG_0x23:cpu1_int_32_63_en->cpu1_bt_irq_en:0x23[9], ,0,R/W*/ 2865 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_bt_irq_en(sys_hw_t *hw) 2866 { 2867 return hw->cpu1_int_32_63_en.cpu1_bt_irq_en; 2868 } 2869 2870 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_bt_irq_en(sys_hw_t *hw, uint32_t value) 2871 { 2872 hw->cpu1_int_32_63_en.cpu1_bt_irq_en = value; 2873 } 2874 2875 /* REG_0x23:cpu1_int_32_63_en->cpu1_mbox0_int_en:0x23[16], ,0,R/W*/ 2876 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_mbox0_int_en(sys_hw_t *hw) 2877 { 2878 return hw->cpu1_int_32_63_en.cpu1_mbox0_int_en; 2879 } 2880 2881 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_mbox0_int_en(sys_hw_t *hw, uint32_t value) 2882 { 2883 hw->cpu1_int_32_63_en.cpu1_mbox0_int_en = value; 2884 } 2885 2886 /* REG_0x23:cpu1_int_32_63_en->cpu1_mbox1_int_en:0x23[17], ,0,R/W*/ 2887 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_mbox1_int_en(sys_hw_t *hw) 2888 { 2889 return hw->cpu1_int_32_63_en.cpu1_mbox1_int_en; 2890 } 2891 2892 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_mbox1_int_en(sys_hw_t *hw, uint32_t value) 2893 { 2894 hw->cpu1_int_32_63_en.cpu1_mbox1_int_en = value; 2895 } 2896 2897 /* REG_0x23:cpu1_int_32_63_en->cpu1_bmc64_int_en:0x23[18], ,0,R/W*/ 2898 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_bmc64_int_en(sys_hw_t *hw) 2899 { 2900 return hw->cpu1_int_32_63_en.cpu1_bmc64_int_en; 2901 } 2902 2903 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_bmc64_int_en(sys_hw_t *hw, uint32_t value) 2904 { 2905 hw->cpu1_int_32_63_en.cpu1_bmc64_int_en = value; 2906 } 2907 2908 /* REG_0x23:cpu1_int_32_63_en->cpu1_touched_int_en:0x23[20], ,0,R/W*/ 2909 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_touched_int_en(sys_hw_t *hw) 2910 { 2911 return hw->cpu1_int_32_63_en.cpu1_touched_int_en; 2912 } 2913 2914 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_touched_int_en(sys_hw_t *hw, uint32_t value) 2915 { 2916 hw->cpu1_int_32_63_en.cpu1_touched_int_en = value; 2917 } 2918 2919 /* REG_0x23:cpu1_int_32_63_en->cpu1_usbplug_int_en:0x23[21], ,0,R/W*/ 2920 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_usbplug_int_en(sys_hw_t *hw) 2921 { 2922 return hw->cpu1_int_32_63_en.cpu1_usbplug_int_en; 2923 } 2924 2925 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_usbplug_int_en(sys_hw_t *hw, uint32_t value) 2926 { 2927 hw->cpu1_int_32_63_en.cpu1_usbplug_int_en = value; 2928 } 2929 2930 /* REG_0x23:cpu1_int_32_63_en->cpu1_rtc_int_en:0x23[22], ,0,R/W*/ 2931 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_rtc_int_en(sys_hw_t *hw) 2932 { 2933 return hw->cpu1_int_32_63_en.cpu1_rtc_int_en; 2934 } 2935 2936 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_rtc_int_en(sys_hw_t *hw, uint32_t value) 2937 { 2938 hw->cpu1_int_32_63_en.cpu1_rtc_int_en = value; 2939 } 2940 2941 /* REG_0x23:cpu1_int_32_63_en->cpu1_gpio_int_en:0x23[23], ,0,R/W*/ 2942 static inline uint32_t sys_ll_get_cpu1_int_32_63_en_cpu1_gpio_int_en(sys_hw_t *hw) 2943 { 2944 return hw->cpu1_int_32_63_en.cpu1_gpio_int_en; 2945 } 2946 2947 static inline void sys_ll_set_cpu1_int_32_63_en_cpu1_gpio_int_en(sys_hw_t *hw, uint32_t value) 2948 { 2949 hw->cpu1_int_32_63_en.cpu1_gpio_int_en = value; 2950 } 2951 2952 /* REG_0x28 */ 2953 2954 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_value(sys_hw_t *hw) 2955 { 2956 return hw->cpu0_int_0_31_status.v; 2957 } 2958 2959 /* REG_0x28:cpu0_int_0_31_status->cpu0_bmc32_int_st:0x28[0], ,0,R*/ 2960 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_bmc32_int_st(sys_hw_t *hw) 2961 { 2962 return hw->cpu0_int_0_31_status.cpu0_bmc32_int_st; 2963 } 2964 2965 /* REG_0x28:cpu0_int_0_31_status->cpu0_host_0_irq_st:0x28[1], ,0,R*/ 2966 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_host_0_irq_st(sys_hw_t *hw) 2967 { 2968 return hw->cpu0_int_0_31_status.cpu0_host_0_irq_st; 2969 } 2970 2971 /* REG_0x28:cpu0_int_0_31_status->cpu0_host_0_sec_irq_st:0x28[2], ,0,R*/ 2972 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_host_0_sec_irq_st(sys_hw_t *hw) 2973 { 2974 return hw->cpu0_int_0_31_status.cpu0_host_0_sec_irq_st; 2975 } 2976 2977 /* REG_0x28:cpu0_int_0_31_status->cpu0_timer_int_st:0x28[3], ,0,R*/ 2978 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_timer_int_st(sys_hw_t *hw) 2979 { 2980 return hw->cpu0_int_0_31_status.cpu0_timer_int_st; 2981 } 2982 2983 /* REG_0x28:cpu0_int_0_31_status->cpu0_uart_int_st:0x28[4], ,0,R*/ 2984 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_uart_int_st(sys_hw_t *hw) 2985 { 2986 return hw->cpu0_int_0_31_status.cpu0_uart_int_st; 2987 } 2988 2989 /* REG_0x28:cpu0_int_0_31_status->cpu0_pwm_int_st:0x28[5], ,0,R*/ 2990 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_pwm_int_st(sys_hw_t *hw) 2991 { 2992 return hw->cpu0_int_0_31_status.cpu0_pwm_int_st; 2993 } 2994 2995 /* REG_0x28:cpu0_int_0_31_status->cpu0_i2c_int_st:0x28[6], ,0,R*/ 2996 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_i2c_int_st(sys_hw_t *hw) 2997 { 2998 return hw->cpu0_int_0_31_status.cpu0_i2c_int_st; 2999 } 3000 3001 /* REG_0x28:cpu0_int_0_31_status->cpu0_spi_int_st:0x28[7], ,0,R*/ 3002 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_spi_int_st(sys_hw_t *hw) 3003 { 3004 return hw->cpu0_int_0_31_status.cpu0_spi_int_st; 3005 } 3006 3007 /* REG_0x28:cpu0_int_0_31_status->cpu0_sadc_int_st:0x28[8], ,0,R*/ 3008 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_sadc_int_st(sys_hw_t *hw) 3009 { 3010 return hw->cpu0_int_0_31_status.cpu0_sadc_int_st; 3011 } 3012 3013 /* REG_0x28:cpu0_int_0_31_status->cpu0_irda_int_st:0x28[9], ,0,R*/ 3014 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_irda_int_st(sys_hw_t *hw) 3015 { 3016 return hw->cpu0_int_0_31_status.cpu0_irda_int_st; 3017 } 3018 3019 /* REG_0x28:cpu0_int_0_31_status->cpu0_sdio_int_st:0x28[10], ,0,R*/ 3020 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_sdio_int_st(sys_hw_t *hw) 3021 { 3022 return hw->cpu0_int_0_31_status.cpu0_sdio_int_st; 3023 } 3024 3025 /* REG_0x28:cpu0_int_0_31_status->cpu0_gdma_int_st:0x28[11], ,0,R*/ 3026 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_gdma_int_st(sys_hw_t *hw) 3027 { 3028 return hw->cpu0_int_0_31_status.cpu0_gdma_int_st; 3029 } 3030 3031 /* REG_0x28:cpu0_int_0_31_status->cpu0_la_int_st:0x28[12], ,0,R*/ 3032 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_la_int_st(sys_hw_t *hw) 3033 { 3034 return hw->cpu0_int_0_31_status.cpu0_la_int_st; 3035 } 3036 3037 /* REG_0x28:cpu0_int_0_31_status->cpu0_timer1_int_st:0x28[13], ,0,R*/ 3038 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_timer1_int_st(sys_hw_t *hw) 3039 { 3040 return hw->cpu0_int_0_31_status.cpu0_timer1_int_st; 3041 } 3042 3043 /* REG_0x28:cpu0_int_0_31_status->cpu0_i2c1_int_st:0x28[14], ,0,R*/ 3044 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_i2c1_int_st(sys_hw_t *hw) 3045 { 3046 return hw->cpu0_int_0_31_status.cpu0_i2c1_int_st; 3047 } 3048 3049 /* REG_0x28:cpu0_int_0_31_status->cpu0_uart1_int_st:0x28[15], ,0,R*/ 3050 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_uart1_int_st(sys_hw_t *hw) 3051 { 3052 return hw->cpu0_int_0_31_status.cpu0_uart1_int_st; 3053 } 3054 3055 /* REG_0x28:cpu0_int_0_31_status->cpu0_uart2_int_st:0x28[16], ,0,R*/ 3056 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_uart2_int_st(sys_hw_t *hw) 3057 { 3058 return hw->cpu0_int_0_31_status.cpu0_uart2_int_st; 3059 } 3060 3061 /* REG_0x28:cpu0_int_0_31_status->cpu0_spi1_int_st:0x28[17], ,0,R*/ 3062 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_spi1_int_st(sys_hw_t *hw) 3063 { 3064 return hw->cpu0_int_0_31_status.cpu0_spi1_int_st; 3065 } 3066 3067 /* REG_0x28:cpu0_int_0_31_status->cpu0_can_int_st:0x28[18], ,0,R*/ 3068 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_can_int_st(sys_hw_t *hw) 3069 { 3070 return hw->cpu0_int_0_31_status.cpu0_can_int_st; 3071 } 3072 3073 /* REG_0x28:cpu0_int_0_31_status->cpu0_usb_int_st:0x28[19], ,0,R*/ 3074 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_usb_int_st(sys_hw_t *hw) 3075 { 3076 return hw->cpu0_int_0_31_status.cpu0_usb_int_st; 3077 } 3078 3079 /* REG_0x28:cpu0_int_0_31_status->cpu0_qspi_int_st:0x28[20], ,0,R*/ 3080 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_qspi_int_st(sys_hw_t *hw) 3081 { 3082 return hw->cpu0_int_0_31_status.cpu0_qspi_int_st; 3083 } 3084 3085 /* REG_0x28:cpu0_int_0_31_status->cpu0_fft_int_st:0x28[21], ,0,R*/ 3086 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_fft_int_st(sys_hw_t *hw) 3087 { 3088 return hw->cpu0_int_0_31_status.cpu0_fft_int_st; 3089 } 3090 3091 /* REG_0x28:cpu0_int_0_31_status->cpu0_sbc_int_st:0x28[22], ,0,R*/ 3092 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_sbc_int_st(sys_hw_t *hw) 3093 { 3094 return hw->cpu0_int_0_31_status.cpu0_sbc_int_st; 3095 } 3096 3097 /* REG_0x28:cpu0_int_0_31_status->cpu0_aud_int_st:0x28[23], ,0,R*/ 3098 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_aud_int_st(sys_hw_t *hw) 3099 { 3100 return hw->cpu0_int_0_31_status.cpu0_aud_int_st; 3101 } 3102 3103 /* REG_0x28:cpu0_int_0_31_status->cpu0_i2s_int_st:0x28[24], ,0,R*/ 3104 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_i2s_int_st(sys_hw_t *hw) 3105 { 3106 return hw->cpu0_int_0_31_status.cpu0_i2s_int_st; 3107 } 3108 3109 /* REG_0x28:cpu0_int_0_31_status->cpu0_jpegenc_int_st:0x28[25], ,0,R*/ 3110 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_jpegenc_int_st(sys_hw_t *hw) 3111 { 3112 return hw->cpu0_int_0_31_status.cpu0_jpegenc_int_st; 3113 } 3114 3115 /* REG_0x28:cpu0_int_0_31_status->cpu0_jpegdec_int_st:0x28[26], ,0,R*/ 3116 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_jpegdec_int_st(sys_hw_t *hw) 3117 { 3118 return hw->cpu0_int_0_31_status.cpu0_jpegdec_int_st; 3119 } 3120 3121 /* REG_0x28:cpu0_int_0_31_status->cpu0_lcd_int_st:0x28[27], ,0,R*/ 3122 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_lcd_int_st(sys_hw_t *hw) 3123 { 3124 return hw->cpu0_int_0_31_status.cpu0_lcd_int_st; 3125 } 3126 3127 /* REG_0x28:cpu0_int_0_31_status->cpu0_wifi_int_phy_mpb_st:0x28[29], ,0,R*/ 3128 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_wifi_int_phy_mpb_st(sys_hw_t *hw) 3129 { 3130 return hw->cpu0_int_0_31_status.cpu0_wifi_int_phy_mpb_st; 3131 } 3132 3133 /* REG_0x28:cpu0_int_0_31_status->cpu0_wifi_int_phy_riu_st:0x28[30], ,0,R*/ 3134 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_wifi_int_phy_riu_st(sys_hw_t *hw) 3135 { 3136 return hw->cpu0_int_0_31_status.cpu0_wifi_int_phy_riu_st; 3137 } 3138 3139 /* REG_0x28:cpu0_int_0_31_status->cpu0_wifi_mac_int_tx_rx_timer_st:0x28[31], ,0,R*/ 3140 static inline uint32_t sys_ll_get_cpu0_int_0_31_status_cpu0_wifi_mac_int_tx_rx_timer_st(sys_hw_t *hw) 3141 { 3142 return hw->cpu0_int_0_31_status.cpu0_wifi_mac_int_tx_rx_timer_st; 3143 } 3144 3145 /* REG_0x29 */ 3146 3147 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_value(sys_hw_t *hw) 3148 { 3149 return hw->cpu0_int_32_63_status.v; 3150 } 3151 3152 /* REG_0x29:cpu0_int_32_63_status->cpu0_wifi_mac_int_tx_rx_misc_st:0x29[0], ,0,R*/ 3153 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_wifi_mac_int_tx_rx_misc_st(sys_hw_t *hw) 3154 { 3155 return hw->cpu0_int_32_63_status.cpu0_wifi_mac_int_tx_rx_misc_st; 3156 } 3157 3158 /* REG_0x29:cpu0_int_32_63_status->cpu0_wifi_mac_int_rx_trigger_st:0x29[1], ,0,R*/ 3159 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_wifi_mac_int_rx_trigger_st(sys_hw_t *hw) 3160 { 3161 return hw->cpu0_int_32_63_status.cpu0_wifi_mac_int_rx_trigger_st; 3162 } 3163 3164 /* REG_0x29:cpu0_int_32_63_status->cpu0_wifi_mac_int_tx_trigger_st:0x29[2], ,0,R*/ 3165 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_wifi_mac_int_tx_trigger_st(sys_hw_t *hw) 3166 { 3167 return hw->cpu0_int_32_63_status.cpu0_wifi_mac_int_tx_trigger_st; 3168 } 3169 3170 /* REG_0x29:cpu0_int_32_63_status->cpu0_wifi_mac_int_prot_trigger_st:0x29[3], ,0,R*/ 3171 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_wifi_mac_int_prot_trigger_st(sys_hw_t *hw) 3172 { 3173 return hw->cpu0_int_32_63_status.cpu0_wifi_mac_int_prot_trigger_st; 3174 } 3175 3176 /* REG_0x29:cpu0_int_32_63_status->cpu0_wifi_mac_int_gen_st:0x29[4], ,0,R*/ 3177 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_wifi_mac_int_gen_st(sys_hw_t *hw) 3178 { 3179 return hw->cpu0_int_32_63_status.cpu0_wifi_mac_int_gen_st; 3180 } 3181 3182 /* REG_0x29:cpu0_int_32_63_status->cpu0_wifi_hsu_irq_st:0x29[5], ,0,R*/ 3183 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_wifi_hsu_irq_st(sys_hw_t *hw) 3184 { 3185 return hw->cpu0_int_32_63_status.cpu0_wifi_hsu_irq_st; 3186 } 3187 3188 /* REG_0x29:cpu0_int_32_63_status->cpu0_wifi_int_mac_wakeup_st:0x29[6], ,0,R*/ 3189 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_wifi_int_mac_wakeup_st(sys_hw_t *hw) 3190 { 3191 return hw->cpu0_int_32_63_status.cpu0_wifi_int_mac_wakeup_st; 3192 } 3193 3194 /* REG_0x29:cpu0_int_32_63_status->cpu0_dm_irq_st:0x29[7], ,0,R*/ 3195 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_dm_irq_st(sys_hw_t *hw) 3196 { 3197 return hw->cpu0_int_32_63_status.cpu0_dm_irq_st; 3198 } 3199 3200 /* REG_0x29:cpu0_int_32_63_status->cpu0_ble_irq_st:0x29[8], ,0,R*/ 3201 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_ble_irq_st(sys_hw_t *hw) 3202 { 3203 return hw->cpu0_int_32_63_status.cpu0_ble_irq_st; 3204 } 3205 3206 /* REG_0x29:cpu0_int_32_63_status->cpu0_bt_irq_st:0x29[9], ,0,R*/ 3207 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_bt_irq_st(sys_hw_t *hw) 3208 { 3209 return hw->cpu0_int_32_63_status.cpu0_bt_irq_st; 3210 } 3211 3212 /* REG_0x29:cpu0_int_32_63_status->cpu0_mbox0_int_st:0x29[16], ,0,R*/ 3213 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_mbox0_int_st(sys_hw_t *hw) 3214 { 3215 return hw->cpu0_int_32_63_status.cpu0_mbox0_int_st; 3216 } 3217 3218 /* REG_0x29:cpu0_int_32_63_status->cpu0_mbox1_int_st:0x29[17], ,0,R*/ 3219 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_mbox1_int_st(sys_hw_t *hw) 3220 { 3221 return hw->cpu0_int_32_63_status.cpu0_mbox1_int_st; 3222 } 3223 3224 /* REG_0x29:cpu0_int_32_63_status->cpu0_bmc64_int_st:0x29[18], ,0,R*/ 3225 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_bmc64_int_st(sys_hw_t *hw) 3226 { 3227 return hw->cpu0_int_32_63_status.cpu0_bmc64_int_st; 3228 } 3229 3230 /* REG_0x29:cpu0_int_32_63_status->cpu0_touched_int_st:0x29[20], ,0,R*/ 3231 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_touched_int_st(sys_hw_t *hw) 3232 { 3233 return hw->cpu0_int_32_63_status.cpu0_touched_int_st; 3234 } 3235 3236 /* REG_0x29:cpu0_int_32_63_status->cpu0_usbplug_int_st:0x29[21], ,0,R*/ 3237 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_usbplug_int_st(sys_hw_t *hw) 3238 { 3239 return hw->cpu0_int_32_63_status.cpu0_usbplug_int_st; 3240 } 3241 3242 /* REG_0x29:cpu0_int_32_63_status->cpu0_rtc_int_st:0x29[22], ,0,R*/ 3243 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_rtc_int_st(sys_hw_t *hw) 3244 { 3245 return hw->cpu0_int_32_63_status.cpu0_rtc_int_st; 3246 } 3247 3248 /* REG_0x29:cpu0_int_32_63_status->cpu0_gpio_int_st:0x29[23], ,0,R*/ 3249 static inline uint32_t sys_ll_get_cpu0_int_32_63_status_cpu0_gpio_int_st(sys_hw_t *hw) 3250 { 3251 return hw->cpu0_int_32_63_status.cpu0_gpio_int_st; 3252 } 3253 3254 /* REG_0x2a */ 3255 3256 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_value(sys_hw_t *hw) 3257 { 3258 return hw->cpu1_int_0_31_status.v; 3259 } 3260 3261 /* REG_0x2a:cpu1_int_0_31_status->cpu1_bmc32_int_st:0x2a[0], ,0,R*/ 3262 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_bmc32_int_st(sys_hw_t *hw) 3263 { 3264 return hw->cpu1_int_0_31_status.cpu1_bmc32_int_st; 3265 } 3266 3267 /* REG_0x2a:cpu1_int_0_31_status->cpu1_host_0_irq_st:0x2a[1], ,0,R*/ 3268 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_host_0_irq_st(sys_hw_t *hw) 3269 { 3270 return hw->cpu1_int_0_31_status.cpu1_host_0_irq_st; 3271 } 3272 3273 /* REG_0x2a:cpu1_int_0_31_status->cpu1_host_0_sec_irq_st:0x2a[2], ,0,R*/ 3274 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_host_0_sec_irq_st(sys_hw_t *hw) 3275 { 3276 return hw->cpu1_int_0_31_status.cpu1_host_0_sec_irq_st; 3277 } 3278 3279 /* REG_0x2a:cpu1_int_0_31_status->cpu1_timer_int_st:0x2a[3], ,0,R*/ 3280 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_timer_int_st(sys_hw_t *hw) 3281 { 3282 return hw->cpu1_int_0_31_status.cpu1_timer_int_st; 3283 } 3284 3285 /* REG_0x2a:cpu1_int_0_31_status->cpu1_uart_int_st:0x2a[4], ,0,R*/ 3286 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_uart_int_st(sys_hw_t *hw) 3287 { 3288 return hw->cpu1_int_0_31_status.cpu1_uart_int_st; 3289 } 3290 3291 /* REG_0x2a:cpu1_int_0_31_status->cpu1_pwm_int_st:0x2a[5], ,0,R*/ 3292 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_pwm_int_st(sys_hw_t *hw) 3293 { 3294 return hw->cpu1_int_0_31_status.cpu1_pwm_int_st; 3295 } 3296 3297 /* REG_0x2a:cpu1_int_0_31_status->cpu1_i2c_int_st:0x2a[6], ,0,R*/ 3298 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_i2c_int_st(sys_hw_t *hw) 3299 { 3300 return hw->cpu1_int_0_31_status.cpu1_i2c_int_st; 3301 } 3302 3303 /* REG_0x2a:cpu1_int_0_31_status->cpu1_spi_int_st:0x2a[7], ,0,R*/ 3304 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_spi_int_st(sys_hw_t *hw) 3305 { 3306 return hw->cpu1_int_0_31_status.cpu1_spi_int_st; 3307 } 3308 3309 /* REG_0x2a:cpu1_int_0_31_status->cpu1_sadc_int_st:0x2a[8], ,0,R*/ 3310 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_sadc_int_st(sys_hw_t *hw) 3311 { 3312 return hw->cpu1_int_0_31_status.cpu1_sadc_int_st; 3313 } 3314 3315 /* REG_0x2a:cpu1_int_0_31_status->cpu1_irda_int_st:0x2a[9], ,0,R*/ 3316 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_irda_int_st(sys_hw_t *hw) 3317 { 3318 return hw->cpu1_int_0_31_status.cpu1_irda_int_st; 3319 } 3320 3321 /* REG_0x2a:cpu1_int_0_31_status->cpu1_sdio_int_st:0x2a[10], ,0,R*/ 3322 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_sdio_int_st(sys_hw_t *hw) 3323 { 3324 return hw->cpu1_int_0_31_status.cpu1_sdio_int_st; 3325 } 3326 3327 /* REG_0x2a:cpu1_int_0_31_status->cpu1_gdma_int_st:0x2a[11], ,0,R*/ 3328 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_gdma_int_st(sys_hw_t *hw) 3329 { 3330 return hw->cpu1_int_0_31_status.cpu1_gdma_int_st; 3331 } 3332 3333 /* REG_0x2a:cpu1_int_0_31_status->cpu1_la_int_st:0x2a[12], ,0,R*/ 3334 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_la_int_st(sys_hw_t *hw) 3335 { 3336 return hw->cpu1_int_0_31_status.cpu1_la_int_st; 3337 } 3338 3339 /* REG_0x2a:cpu1_int_0_31_status->cpu1_timer1_int_st:0x2a[13], ,0,R*/ 3340 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_timer1_int_st(sys_hw_t *hw) 3341 { 3342 return hw->cpu1_int_0_31_status.cpu1_timer1_int_st; 3343 } 3344 3345 /* REG_0x2a:cpu1_int_0_31_status->cpu1_i2c1_int_st:0x2a[14], ,0,R*/ 3346 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_i2c1_int_st(sys_hw_t *hw) 3347 { 3348 return hw->cpu1_int_0_31_status.cpu1_i2c1_int_st; 3349 } 3350 3351 /* REG_0x2a:cpu1_int_0_31_status->cpu1_uart1_int_st:0x2a[15], ,0,R*/ 3352 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_uart1_int_st(sys_hw_t *hw) 3353 { 3354 return hw->cpu1_int_0_31_status.cpu1_uart1_int_st; 3355 } 3356 3357 /* REG_0x2a:cpu1_int_0_31_status->cpu1_uart2_int_st:0x2a[16], ,0,R*/ 3358 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_uart2_int_st(sys_hw_t *hw) 3359 { 3360 return hw->cpu1_int_0_31_status.cpu1_uart2_int_st; 3361 } 3362 3363 /* REG_0x2a:cpu1_int_0_31_status->cpu1_spi1_int_st:0x2a[17], ,0,R*/ 3364 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_spi1_int_st(sys_hw_t *hw) 3365 { 3366 return hw->cpu1_int_0_31_status.cpu1_spi1_int_st; 3367 } 3368 3369 /* REG_0x2a:cpu1_int_0_31_status->cpu1_can_int_st:0x2a[18], ,0,R*/ 3370 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_can_int_st(sys_hw_t *hw) 3371 { 3372 return hw->cpu1_int_0_31_status.cpu1_can_int_st; 3373 } 3374 3375 /* REG_0x2a:cpu1_int_0_31_status->cpu1_usb_int_st:0x2a[19], ,0,R*/ 3376 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_usb_int_st(sys_hw_t *hw) 3377 { 3378 return hw->cpu1_int_0_31_status.cpu1_usb_int_st; 3379 } 3380 3381 /* REG_0x2a:cpu1_int_0_31_status->cpu1_qspi_int_st:0x2a[20], ,0,R*/ 3382 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_qspi_int_st(sys_hw_t *hw) 3383 { 3384 return hw->cpu1_int_0_31_status.cpu1_qspi_int_st; 3385 } 3386 3387 /* REG_0x2a:cpu1_int_0_31_status->cpu1_fft_int_st:0x2a[21], ,0,R*/ 3388 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_fft_int_st(sys_hw_t *hw) 3389 { 3390 return hw->cpu1_int_0_31_status.cpu1_fft_int_st; 3391 } 3392 3393 /* REG_0x2a:cpu1_int_0_31_status->cpu1_sbc_int_st:0x2a[22], ,0,R*/ 3394 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_sbc_int_st(sys_hw_t *hw) 3395 { 3396 return hw->cpu1_int_0_31_status.cpu1_sbc_int_st; 3397 } 3398 3399 /* REG_0x2a:cpu1_int_0_31_status->cpu1_aud_int_st:0x2a[23], ,0,R*/ 3400 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_aud_int_st(sys_hw_t *hw) 3401 { 3402 return hw->cpu1_int_0_31_status.cpu1_aud_int_st; 3403 } 3404 3405 /* REG_0x2a:cpu1_int_0_31_status->cpu1_i2s_int_st:0x2a[24], ,0,R*/ 3406 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_i2s_int_st(sys_hw_t *hw) 3407 { 3408 return hw->cpu1_int_0_31_status.cpu1_i2s_int_st; 3409 } 3410 3411 /* REG_0x2a:cpu1_int_0_31_status->cpu1_jpegenc_int_st:0x2a[25], ,0,R*/ 3412 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_jpegenc_int_st(sys_hw_t *hw) 3413 { 3414 return hw->cpu1_int_0_31_status.cpu1_jpegenc_int_st; 3415 } 3416 3417 /* REG_0x2a:cpu1_int_0_31_status->cpu1_jpegdec_int_st:0x2a[26], ,0,R*/ 3418 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_jpegdec_int_st(sys_hw_t *hw) 3419 { 3420 return hw->cpu1_int_0_31_status.cpu1_jpegdec_int_st; 3421 } 3422 3423 /* REG_0x2a:cpu1_int_0_31_status->cpu1_lcd_int_st:0x2a[27], ,0,R*/ 3424 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_lcd_int_st(sys_hw_t *hw) 3425 { 3426 return hw->cpu1_int_0_31_status.cpu1_lcd_int_st; 3427 } 3428 3429 /* REG_0x2a:cpu1_int_0_31_status->cpu1_wifi_int_phy_mpb_st:0x2a[29], ,0,R*/ 3430 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_wifi_int_phy_mpb_st(sys_hw_t *hw) 3431 { 3432 return hw->cpu1_int_0_31_status.cpu1_wifi_int_phy_mpb_st; 3433 } 3434 3435 /* REG_0x2a:cpu1_int_0_31_status->cpu1_wifi_int_phy_riu_st:0x2a[30], ,0,R*/ 3436 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_wifi_int_phy_riu_st(sys_hw_t *hw) 3437 { 3438 return hw->cpu1_int_0_31_status.cpu1_wifi_int_phy_riu_st; 3439 } 3440 3441 /* REG_0x2a:cpu1_int_0_31_status->cpu1_wifi_mac_int_tx_rx_timer_st:0x2a[31], ,0,R*/ 3442 static inline uint32_t sys_ll_get_cpu1_int_0_31_status_cpu1_wifi_mac_int_tx_rx_timer_st(sys_hw_t *hw) 3443 { 3444 return hw->cpu1_int_0_31_status.cpu1_wifi_mac_int_tx_rx_timer_st; 3445 } 3446 3447 /* REG_0x2b */ 3448 3449 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_value(sys_hw_t *hw) 3450 { 3451 return hw->cpu1_int_32_63_status.v; 3452 } 3453 3454 /* REG_0x2b:cpu1_int_32_63_status->cpu1_wifi_mac_int_tx_rx_misc_st:0x2b[0], ,0,R*/ 3455 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_wifi_mac_int_tx_rx_misc_st(sys_hw_t *hw) 3456 { 3457 return hw->cpu1_int_32_63_status.cpu1_wifi_mac_int_tx_rx_misc_st; 3458 } 3459 3460 /* REG_0x2b:cpu1_int_32_63_status->cpu1_wifi_mac_int_rx_trigger_st:0x2b[1], ,0,R*/ 3461 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_wifi_mac_int_rx_trigger_st(sys_hw_t *hw) 3462 { 3463 return hw->cpu1_int_32_63_status.cpu1_wifi_mac_int_rx_trigger_st; 3464 } 3465 3466 /* REG_0x2b:cpu1_int_32_63_status->cpu1_wifi_mac_int_tx_trigger_st:0x2b[2], ,0,R*/ 3467 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_wifi_mac_int_tx_trigger_st(sys_hw_t *hw) 3468 { 3469 return hw->cpu1_int_32_63_status.cpu1_wifi_mac_int_tx_trigger_st; 3470 } 3471 3472 /* REG_0x2b:cpu1_int_32_63_status->cpu1_wifi_mac_int_prot_trigger_st:0x2b[3], ,0,R*/ 3473 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_wifi_mac_int_prot_trigger_st(sys_hw_t *hw) 3474 { 3475 return hw->cpu1_int_32_63_status.cpu1_wifi_mac_int_prot_trigger_st; 3476 } 3477 3478 /* REG_0x2b:cpu1_int_32_63_status->cpu1_wifi_mac_int_gen_st:0x2b[4], ,0,R*/ 3479 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_wifi_mac_int_gen_st(sys_hw_t *hw) 3480 { 3481 return hw->cpu1_int_32_63_status.cpu1_wifi_mac_int_gen_st; 3482 } 3483 3484 /* REG_0x2b:cpu1_int_32_63_status->cpu1_wifi_hsu_irq_st:0x2b[5], ,0,R*/ 3485 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_wifi_hsu_irq_st(sys_hw_t *hw) 3486 { 3487 return hw->cpu1_int_32_63_status.cpu1_wifi_hsu_irq_st; 3488 } 3489 3490 /* REG_0x2b:cpu1_int_32_63_status->cpu1_wifi_int_mac_wakeup_st:0x2b[6], ,0,R*/ 3491 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_wifi_int_mac_wakeup_st(sys_hw_t *hw) 3492 { 3493 return hw->cpu1_int_32_63_status.cpu1_wifi_int_mac_wakeup_st; 3494 } 3495 3496 /* REG_0x2b:cpu1_int_32_63_status->cpu1_dm_irq_st:0x2b[7], ,0,R*/ 3497 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_dm_irq_st(sys_hw_t *hw) 3498 { 3499 return hw->cpu1_int_32_63_status.cpu1_dm_irq_st; 3500 } 3501 3502 /* REG_0x2b:cpu1_int_32_63_status->cpu1_ble_irq_st:0x2b[8], ,0,R*/ 3503 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_ble_irq_st(sys_hw_t *hw) 3504 { 3505 return hw->cpu1_int_32_63_status.cpu1_ble_irq_st; 3506 } 3507 3508 /* REG_0x2b:cpu1_int_32_63_status->cpu1_bt_irq_st:0x2b[9], ,0,R*/ 3509 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_bt_irq_st(sys_hw_t *hw) 3510 { 3511 return hw->cpu1_int_32_63_status.cpu1_bt_irq_st; 3512 } 3513 3514 /* REG_0x2b:cpu1_int_32_63_status->cpu1_mbox0_int_st:0x2b[16], ,0,R*/ 3515 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_mbox0_int_st(sys_hw_t *hw) 3516 { 3517 return hw->cpu1_int_32_63_status.cpu1_mbox0_int_st; 3518 } 3519 3520 /* REG_0x2b:cpu1_int_32_63_status->cpu1_mbox1_int_st:0x2b[17], ,0,R*/ 3521 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_mbox1_int_st(sys_hw_t *hw) 3522 { 3523 return hw->cpu1_int_32_63_status.cpu1_mbox1_int_st; 3524 } 3525 3526 /* REG_0x2b:cpu1_int_32_63_status->cpu1_bmc64_int_st:0x2b[18], ,0,R*/ 3527 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_bmc64_int_st(sys_hw_t *hw) 3528 { 3529 return hw->cpu1_int_32_63_status.cpu1_bmc64_int_st; 3530 } 3531 3532 /* REG_0x2b:cpu1_int_32_63_status->cpu1_touched_int_st:0x2b[20], ,0,R*/ 3533 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_touched_int_st(sys_hw_t *hw) 3534 { 3535 return hw->cpu1_int_32_63_status.cpu1_touched_int_st; 3536 } 3537 3538 /* REG_0x2b:cpu1_int_32_63_status->cpu1_usbplug_int_st:0x2b[21], ,0,R*/ 3539 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_usbplug_int_st(sys_hw_t *hw) 3540 { 3541 return hw->cpu1_int_32_63_status.cpu1_usbplug_int_st; 3542 } 3543 3544 /* REG_0x2b:cpu1_int_32_63_status->cpu1_rtc_int_st:0x2b[22], ,0,R*/ 3545 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_rtc_int_st(sys_hw_t *hw) 3546 { 3547 return hw->cpu1_int_32_63_status.cpu1_rtc_int_st; 3548 } 3549 3550 /* REG_0x2b:cpu1_int_32_63_status->cpu1_gpio_int_st:0x2b[23], ,0,R*/ 3551 static inline uint32_t sys_ll_get_cpu1_int_32_63_status_cpu1_gpio_int_st(sys_hw_t *hw) 3552 { 3553 return hw->cpu1_int_32_63_status.cpu1_gpio_int_st; 3554 } 3555 3556 /* REG_0x30 */ 3557 3558 static inline uint32_t sys_ll_get_gpio_config0_value(sys_hw_t *hw) 3559 { 3560 return hw->gpio_config0.v; 3561 } 3562 3563 static inline void sys_ll_set_gpio_config0_value(sys_hw_t *hw, uint32_t value) 3564 { 3565 hw->gpio_config0.v = value; 3566 } 3567 3568 /* REG_0x30:gpio_config0->sys_gpio0:0x30[3:0],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3569 static inline uint32_t sys_ll_get_gpio_config0_sys_gpio0(sys_hw_t *hw) 3570 { 3571 return hw->gpio_config0.sys_gpio0; 3572 } 3573 3574 static inline void sys_ll_set_gpio_config0_sys_gpio0(sys_hw_t *hw, uint32_t value) 3575 { 3576 hw->gpio_config0.sys_gpio0 = value; 3577 } 3578 3579 /* REG_0x30:gpio_config0->sys_gpio1:0x30[7:4],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3580 static inline uint32_t sys_ll_get_gpio_config0_sys_gpio1(sys_hw_t *hw) 3581 { 3582 return hw->gpio_config0.sys_gpio1; 3583 } 3584 3585 static inline void sys_ll_set_gpio_config0_sys_gpio1(sys_hw_t *hw, uint32_t value) 3586 { 3587 hw->gpio_config0.sys_gpio1 = value; 3588 } 3589 3590 /* REG_0x30:gpio_config0->sys_gpio2:0x30[11:8],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3591 static inline uint32_t sys_ll_get_gpio_config0_sys_gpio2(sys_hw_t *hw) 3592 { 3593 return hw->gpio_config0.sys_gpio2; 3594 } 3595 3596 static inline void sys_ll_set_gpio_config0_sys_gpio2(sys_hw_t *hw, uint32_t value) 3597 { 3598 hw->gpio_config0.sys_gpio2 = value; 3599 } 3600 3601 /* REG_0x30:gpio_config0->sys_gpio3:0x30[15:12],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3602 static inline uint32_t sys_ll_get_gpio_config0_sys_gpio3(sys_hw_t *hw) 3603 { 3604 return hw->gpio_config0.sys_gpio3; 3605 } 3606 3607 static inline void sys_ll_set_gpio_config0_sys_gpio3(sys_hw_t *hw, uint32_t value) 3608 { 3609 hw->gpio_config0.sys_gpio3 = value; 3610 } 3611 3612 /* REG_0x30:gpio_config0->sys_gpio4:0x30[19:16],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3613 static inline uint32_t sys_ll_get_gpio_config0_sys_gpio4(sys_hw_t *hw) 3614 { 3615 return hw->gpio_config0.sys_gpio4; 3616 } 3617 3618 static inline void sys_ll_set_gpio_config0_sys_gpio4(sys_hw_t *hw, uint32_t value) 3619 { 3620 hw->gpio_config0.sys_gpio4 = value; 3621 } 3622 3623 /* REG_0x30:gpio_config0->sys_gpio5:0x30[23:20],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3624 static inline uint32_t sys_ll_get_gpio_config0_sys_gpio5(sys_hw_t *hw) 3625 { 3626 return hw->gpio_config0.sys_gpio5; 3627 } 3628 3629 static inline void sys_ll_set_gpio_config0_sys_gpio5(sys_hw_t *hw, uint32_t value) 3630 { 3631 hw->gpio_config0.sys_gpio5 = value; 3632 } 3633 3634 /* REG_0x30:gpio_config0->sys_gpio6:0x30[27:24],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3635 static inline uint32_t sys_ll_get_gpio_config0_sys_gpio6(sys_hw_t *hw) 3636 { 3637 return hw->gpio_config0.sys_gpio6; 3638 } 3639 3640 static inline void sys_ll_set_gpio_config0_sys_gpio6(sys_hw_t *hw, uint32_t value) 3641 { 3642 hw->gpio_config0.sys_gpio6 = value; 3643 } 3644 3645 /* REG_0x30:gpio_config0->sys_gpio7:0x30[31:28],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3646 static inline uint32_t sys_ll_get_gpio_config0_sys_gpio7(sys_hw_t *hw) 3647 { 3648 return hw->gpio_config0.sys_gpio7; 3649 } 3650 3651 static inline void sys_ll_set_gpio_config0_sys_gpio7(sys_hw_t *hw, uint32_t value) 3652 { 3653 hw->gpio_config0.sys_gpio7 = value; 3654 } 3655 3656 /* REG_0x31 */ 3657 3658 static inline uint32_t sys_ll_get_gpio_config1_value(sys_hw_t *hw) 3659 { 3660 return hw->gpio_config1.v; 3661 } 3662 3663 static inline void sys_ll_set_gpio_config1_value(sys_hw_t *hw, uint32_t value) 3664 { 3665 hw->gpio_config1.v = value; 3666 } 3667 3668 /* REG_0x31:gpio_config1->sys_gpio8:0x31[3:0],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3669 static inline uint32_t sys_ll_get_gpio_config1_sys_gpio8(sys_hw_t *hw) 3670 { 3671 return hw->gpio_config1.sys_gpio8; 3672 } 3673 3674 static inline void sys_ll_set_gpio_config1_sys_gpio8(sys_hw_t *hw, uint32_t value) 3675 { 3676 hw->gpio_config1.sys_gpio8 = value; 3677 } 3678 3679 /* REG_0x31:gpio_config1->sys_gpio9:0x31[7:4],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3680 static inline uint32_t sys_ll_get_gpio_config1_sys_gpio9(sys_hw_t *hw) 3681 { 3682 return hw->gpio_config1.sys_gpio9; 3683 } 3684 3685 static inline void sys_ll_set_gpio_config1_sys_gpio9(sys_hw_t *hw, uint32_t value) 3686 { 3687 hw->gpio_config1.sys_gpio9 = value; 3688 } 3689 3690 /* REG_0x31:gpio_config1->sys_gpio10:0x31[11:8],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3691 static inline uint32_t sys_ll_get_gpio_config1_sys_gpio10(sys_hw_t *hw) 3692 { 3693 return hw->gpio_config1.sys_gpio10; 3694 } 3695 3696 static inline void sys_ll_set_gpio_config1_sys_gpio10(sys_hw_t *hw, uint32_t value) 3697 { 3698 hw->gpio_config1.sys_gpio10 = value; 3699 } 3700 3701 /* REG_0x31:gpio_config1->sys_gpio11:0x31[15:12],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3702 static inline uint32_t sys_ll_get_gpio_config1_sys_gpio11(sys_hw_t *hw) 3703 { 3704 return hw->gpio_config1.sys_gpio11; 3705 } 3706 3707 static inline void sys_ll_set_gpio_config1_sys_gpio11(sys_hw_t *hw, uint32_t value) 3708 { 3709 hw->gpio_config1.sys_gpio11 = value; 3710 } 3711 3712 /* REG_0x31:gpio_config1->sys_gpio12:0x31[19:16],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3713 static inline uint32_t sys_ll_get_gpio_config1_sys_gpio12(sys_hw_t *hw) 3714 { 3715 return hw->gpio_config1.sys_gpio12; 3716 } 3717 3718 static inline void sys_ll_set_gpio_config1_sys_gpio12(sys_hw_t *hw, uint32_t value) 3719 { 3720 hw->gpio_config1.sys_gpio12 = value; 3721 } 3722 3723 /* REG_0x31:gpio_config1->sys_gpio13:0x31[23:20],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3724 static inline uint32_t sys_ll_get_gpio_config1_sys_gpio13(sys_hw_t *hw) 3725 { 3726 return hw->gpio_config1.sys_gpio13; 3727 } 3728 3729 static inline void sys_ll_set_gpio_config1_sys_gpio13(sys_hw_t *hw, uint32_t value) 3730 { 3731 hw->gpio_config1.sys_gpio13 = value; 3732 } 3733 3734 /* REG_0x31:gpio_config1->sys_gpio14:0x31[27:24],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3735 static inline uint32_t sys_ll_get_gpio_config1_sys_gpio14(sys_hw_t *hw) 3736 { 3737 return hw->gpio_config1.sys_gpio14; 3738 } 3739 3740 static inline void sys_ll_set_gpio_config1_sys_gpio14(sys_hw_t *hw, uint32_t value) 3741 { 3742 hw->gpio_config1.sys_gpio14 = value; 3743 } 3744 3745 /* REG_0x31:gpio_config1->sys_gpio15:0x31[31:28],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3746 static inline uint32_t sys_ll_get_gpio_config1_sys_gpio15(sys_hw_t *hw) 3747 { 3748 return hw->gpio_config1.sys_gpio15; 3749 } 3750 3751 static inline void sys_ll_set_gpio_config1_sys_gpio15(sys_hw_t *hw, uint32_t value) 3752 { 3753 hw->gpio_config1.sys_gpio15 = value; 3754 } 3755 3756 /* REG_0x32 */ 3757 3758 static inline uint32_t sys_ll_get_gpio_config2_value(sys_hw_t *hw) 3759 { 3760 return hw->gpio_config2.v; 3761 } 3762 3763 static inline void sys_ll_set_gpio_config2_value(sys_hw_t *hw, uint32_t value) 3764 { 3765 hw->gpio_config2.v = value; 3766 } 3767 3768 /* REG_0x32:gpio_config2->sys_gpio16:0x32[3:0],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3769 static inline uint32_t sys_ll_get_gpio_config2_sys_gpio16(sys_hw_t *hw) 3770 { 3771 return hw->gpio_config2.sys_gpio16; 3772 } 3773 3774 static inline void sys_ll_set_gpio_config2_sys_gpio16(sys_hw_t *hw, uint32_t value) 3775 { 3776 hw->gpio_config2.sys_gpio16 = value; 3777 } 3778 3779 /* REG_0x32:gpio_config2->sys_gpio17:0x32[7:4],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3780 static inline uint32_t sys_ll_get_gpio_config2_sys_gpio17(sys_hw_t *hw) 3781 { 3782 return hw->gpio_config2.sys_gpio17; 3783 } 3784 3785 static inline void sys_ll_set_gpio_config2_sys_gpio17(sys_hw_t *hw, uint32_t value) 3786 { 3787 hw->gpio_config2.sys_gpio17 = value; 3788 } 3789 3790 /* REG_0x32:gpio_config2->sys_gpio18:0x32[11:8],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3791 static inline uint32_t sys_ll_get_gpio_config2_sys_gpio18(sys_hw_t *hw) 3792 { 3793 return hw->gpio_config2.sys_gpio18; 3794 } 3795 3796 static inline void sys_ll_set_gpio_config2_sys_gpio18(sys_hw_t *hw, uint32_t value) 3797 { 3798 hw->gpio_config2.sys_gpio18 = value; 3799 } 3800 3801 /* REG_0x32:gpio_config2->sys_gpio19:0x32[15:12],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3802 static inline uint32_t sys_ll_get_gpio_config2_sys_gpio19(sys_hw_t *hw) 3803 { 3804 return hw->gpio_config2.sys_gpio19; 3805 } 3806 3807 static inline void sys_ll_set_gpio_config2_sys_gpio19(sys_hw_t *hw, uint32_t value) 3808 { 3809 hw->gpio_config2.sys_gpio19 = value; 3810 } 3811 3812 /* REG_0x32:gpio_config2->sys_gpio20:0x32[19:16],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3813 static inline uint32_t sys_ll_get_gpio_config2_sys_gpio20(sys_hw_t *hw) 3814 { 3815 return hw->gpio_config2.sys_gpio20; 3816 } 3817 3818 static inline void sys_ll_set_gpio_config2_sys_gpio20(sys_hw_t *hw, uint32_t value) 3819 { 3820 hw->gpio_config2.sys_gpio20 = value; 3821 } 3822 3823 /* REG_0x32:gpio_config2->sys_gpio21:0x32[23:20],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3824 static inline uint32_t sys_ll_get_gpio_config2_sys_gpio21(sys_hw_t *hw) 3825 { 3826 return hw->gpio_config2.sys_gpio21; 3827 } 3828 3829 static inline void sys_ll_set_gpio_config2_sys_gpio21(sys_hw_t *hw, uint32_t value) 3830 { 3831 hw->gpio_config2.sys_gpio21 = value; 3832 } 3833 3834 /* REG_0x32:gpio_config2->sys_gpio22:0x32[27:24],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3835 static inline uint32_t sys_ll_get_gpio_config2_sys_gpio22(sys_hw_t *hw) 3836 { 3837 return hw->gpio_config2.sys_gpio22; 3838 } 3839 3840 static inline void sys_ll_set_gpio_config2_sys_gpio22(sys_hw_t *hw, uint32_t value) 3841 { 3842 hw->gpio_config2.sys_gpio22 = value; 3843 } 3844 3845 /* REG_0x32:gpio_config2->sys_gpio23:0x32[31:28],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3846 static inline uint32_t sys_ll_get_gpio_config2_sys_gpio23(sys_hw_t *hw) 3847 { 3848 return hw->gpio_config2.sys_gpio23; 3849 } 3850 3851 static inline void sys_ll_set_gpio_config2_sys_gpio23(sys_hw_t *hw, uint32_t value) 3852 { 3853 hw->gpio_config2.sys_gpio23 = value; 3854 } 3855 3856 /* REG_0x33 */ 3857 3858 static inline uint32_t sys_ll_get_gpio_config3_value(sys_hw_t *hw) 3859 { 3860 return hw->gpio_config3.v; 3861 } 3862 3863 static inline void sys_ll_set_gpio_config3_value(sys_hw_t *hw, uint32_t value) 3864 { 3865 hw->gpio_config3.v = value; 3866 } 3867 3868 /* REG_0x33:gpio_config3->sys_gpio24:0x33[3:0],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3869 static inline uint32_t sys_ll_get_gpio_config3_sys_gpio24(sys_hw_t *hw) 3870 { 3871 return hw->gpio_config3.sys_gpio24; 3872 } 3873 3874 static inline void sys_ll_set_gpio_config3_sys_gpio24(sys_hw_t *hw, uint32_t value) 3875 { 3876 hw->gpio_config3.sys_gpio24 = value; 3877 } 3878 3879 /* REG_0x33:gpio_config3->sys_gpio25:0x33[7:4],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3880 static inline uint32_t sys_ll_get_gpio_config3_sys_gpio25(sys_hw_t *hw) 3881 { 3882 return hw->gpio_config3.sys_gpio25; 3883 } 3884 3885 static inline void sys_ll_set_gpio_config3_sys_gpio25(sys_hw_t *hw, uint32_t value) 3886 { 3887 hw->gpio_config3.sys_gpio25 = value; 3888 } 3889 3890 /* REG_0x33:gpio_config3->sys_gpio26:0x33[11:8],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3891 static inline uint32_t sys_ll_get_gpio_config3_sys_gpio26(sys_hw_t *hw) 3892 { 3893 return hw->gpio_config3.sys_gpio26; 3894 } 3895 3896 static inline void sys_ll_set_gpio_config3_sys_gpio26(sys_hw_t *hw, uint32_t value) 3897 { 3898 hw->gpio_config3.sys_gpio26 = value; 3899 } 3900 3901 /* REG_0x33:gpio_config3->sys_gpio27:0x33[15:12],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3902 static inline uint32_t sys_ll_get_gpio_config3_sys_gpio27(sys_hw_t *hw) 3903 { 3904 return hw->gpio_config3.sys_gpio27; 3905 } 3906 3907 static inline void sys_ll_set_gpio_config3_sys_gpio27(sys_hw_t *hw, uint32_t value) 3908 { 3909 hw->gpio_config3.sys_gpio27 = value; 3910 } 3911 3912 /* REG_0x33:gpio_config3->sys_gpio28:0x33[19:16],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3913 static inline uint32_t sys_ll_get_gpio_config3_sys_gpio28(sys_hw_t *hw) 3914 { 3915 return hw->gpio_config3.sys_gpio28; 3916 } 3917 3918 static inline void sys_ll_set_gpio_config3_sys_gpio28(sys_hw_t *hw, uint32_t value) 3919 { 3920 hw->gpio_config3.sys_gpio28 = value; 3921 } 3922 3923 /* REG_0x33:gpio_config3->sys_gpio29:0x33[23:20],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3924 static inline uint32_t sys_ll_get_gpio_config3_sys_gpio29(sys_hw_t *hw) 3925 { 3926 return hw->gpio_config3.sys_gpio29; 3927 } 3928 3929 static inline void sys_ll_set_gpio_config3_sys_gpio29(sys_hw_t *hw, uint32_t value) 3930 { 3931 hw->gpio_config3.sys_gpio29 = value; 3932 } 3933 3934 /* REG_0x33:gpio_config3->sys_gpio30:0x33[27:24],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3935 static inline uint32_t sys_ll_get_gpio_config3_sys_gpio30(sys_hw_t *hw) 3936 { 3937 return hw->gpio_config3.sys_gpio30; 3938 } 3939 3940 static inline void sys_ll_set_gpio_config3_sys_gpio30(sys_hw_t *hw, uint32_t value) 3941 { 3942 hw->gpio_config3.sys_gpio30 = value; 3943 } 3944 3945 /* REG_0x33:gpio_config3->sys_gpio31:0x33[31:28],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3946 static inline uint32_t sys_ll_get_gpio_config3_sys_gpio31(sys_hw_t *hw) 3947 { 3948 return hw->gpio_config3.sys_gpio31; 3949 } 3950 3951 static inline void sys_ll_set_gpio_config3_sys_gpio31(sys_hw_t *hw, uint32_t value) 3952 { 3953 hw->gpio_config3.sys_gpio31 = value; 3954 } 3955 3956 /* REG_0x34 */ 3957 3958 static inline uint32_t sys_ll_get_gpio_config4_value(sys_hw_t *hw) 3959 { 3960 return hw->gpio_config4.v; 3961 } 3962 3963 static inline void sys_ll_set_gpio_config4_value(sys_hw_t *hw, uint32_t value) 3964 { 3965 hw->gpio_config4.v = value; 3966 } 3967 3968 /* REG_0x34:gpio_config4->sys_gpio32:0x34[3:0],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3969 static inline uint32_t sys_ll_get_gpio_config4_sys_gpio32(sys_hw_t *hw) 3970 { 3971 return hw->gpio_config4.sys_gpio32; 3972 } 3973 3974 static inline void sys_ll_set_gpio_config4_sys_gpio32(sys_hw_t *hw, uint32_t value) 3975 { 3976 hw->gpio_config4.sys_gpio32 = value; 3977 } 3978 3979 /* REG_0x34:gpio_config4->sys_gpio33:0x34[7:4],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3980 static inline uint32_t sys_ll_get_gpio_config4_sys_gpio33(sys_hw_t *hw) 3981 { 3982 return hw->gpio_config4.sys_gpio33; 3983 } 3984 3985 static inline void sys_ll_set_gpio_config4_sys_gpio33(sys_hw_t *hw, uint32_t value) 3986 { 3987 hw->gpio_config4.sys_gpio33 = value; 3988 } 3989 3990 /* REG_0x34:gpio_config4->sys_gpio34:0x34[11:8],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 3991 static inline uint32_t sys_ll_get_gpio_config4_sys_gpio34(sys_hw_t *hw) 3992 { 3993 return hw->gpio_config4.sys_gpio34; 3994 } 3995 3996 static inline void sys_ll_set_gpio_config4_sys_gpio34(sys_hw_t *hw, uint32_t value) 3997 { 3998 hw->gpio_config4.sys_gpio34 = value; 3999 } 4000 4001 /* REG_0x34:gpio_config4->sys_gpio35:0x34[15:12],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4002 static inline uint32_t sys_ll_get_gpio_config4_sys_gpio35(sys_hw_t *hw) 4003 { 4004 return hw->gpio_config4.sys_gpio35; 4005 } 4006 4007 static inline void sys_ll_set_gpio_config4_sys_gpio35(sys_hw_t *hw, uint32_t value) 4008 { 4009 hw->gpio_config4.sys_gpio35 = value; 4010 } 4011 4012 /* REG_0x34:gpio_config4->sys_gpio36:0x34[19:16],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4013 static inline uint32_t sys_ll_get_gpio_config4_sys_gpio36(sys_hw_t *hw) 4014 { 4015 return hw->gpio_config4.sys_gpio36; 4016 } 4017 4018 static inline void sys_ll_set_gpio_config4_sys_gpio36(sys_hw_t *hw, uint32_t value) 4019 { 4020 hw->gpio_config4.sys_gpio36 = value; 4021 } 4022 4023 /* REG_0x34:gpio_config4->sys_gpio37:0x34[23:20],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4024 static inline uint32_t sys_ll_get_gpio_config4_sys_gpio37(sys_hw_t *hw) 4025 { 4026 return hw->gpio_config4.sys_gpio37; 4027 } 4028 4029 static inline void sys_ll_set_gpio_config4_sys_gpio37(sys_hw_t *hw, uint32_t value) 4030 { 4031 hw->gpio_config4.sys_gpio37 = value; 4032 } 4033 4034 /* REG_0x34:gpio_config4->sys_gpio38:0x34[27:24],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4035 static inline uint32_t sys_ll_get_gpio_config4_sys_gpio38(sys_hw_t *hw) 4036 { 4037 return hw->gpio_config4.sys_gpio38; 4038 } 4039 4040 static inline void sys_ll_set_gpio_config4_sys_gpio38(sys_hw_t *hw, uint32_t value) 4041 { 4042 hw->gpio_config4.sys_gpio38 = value; 4043 } 4044 4045 /* REG_0x34:gpio_config4->sys_gpio39:0x34[31:28],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4046 static inline uint32_t sys_ll_get_gpio_config4_sys_gpio39(sys_hw_t *hw) 4047 { 4048 return hw->gpio_config4.sys_gpio39; 4049 } 4050 4051 static inline void sys_ll_set_gpio_config4_sys_gpio39(sys_hw_t *hw, uint32_t value) 4052 { 4053 hw->gpio_config4.sys_gpio39 = value; 4054 } 4055 4056 /* REG_0x35 */ 4057 4058 static inline uint32_t sys_ll_get_gpio_config5_value(sys_hw_t *hw) 4059 { 4060 return hw->gpio_config5.v; 4061 } 4062 4063 static inline void sys_ll_set_gpio_config5_value(sys_hw_t *hw, uint32_t value) 4064 { 4065 hw->gpio_config5.v = value; 4066 } 4067 4068 /* REG_0x35:gpio_config5->sys_gpio40:0x35[3:0],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4069 static inline uint32_t sys_ll_get_gpio_config5_sys_gpio40(sys_hw_t *hw) 4070 { 4071 return hw->gpio_config5.sys_gpio40; 4072 } 4073 4074 static inline void sys_ll_set_gpio_config5_sys_gpio40(sys_hw_t *hw, uint32_t value) 4075 { 4076 hw->gpio_config5.sys_gpio40 = value; 4077 } 4078 4079 /* REG_0x35:gpio_config5->sys_gpio41:0x35[7:4],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4080 static inline uint32_t sys_ll_get_gpio_config5_sys_gpio41(sys_hw_t *hw) 4081 { 4082 return hw->gpio_config5.sys_gpio41; 4083 } 4084 4085 static inline void sys_ll_set_gpio_config5_sys_gpio41(sys_hw_t *hw, uint32_t value) 4086 { 4087 hw->gpio_config5.sys_gpio41 = value; 4088 } 4089 4090 /* REG_0x35:gpio_config5->sys_gpio42:0x35[11:8],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4091 static inline uint32_t sys_ll_get_gpio_config5_sys_gpio42(sys_hw_t *hw) 4092 { 4093 return hw->gpio_config5.sys_gpio42; 4094 } 4095 4096 static inline void sys_ll_set_gpio_config5_sys_gpio42(sys_hw_t *hw, uint32_t value) 4097 { 4098 hw->gpio_config5.sys_gpio42 = value; 4099 } 4100 4101 /* REG_0x35:gpio_config5->sys_gpio43:0x35[15:12],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4102 static inline uint32_t sys_ll_get_gpio_config5_sys_gpio43(sys_hw_t *hw) 4103 { 4104 return hw->gpio_config5.sys_gpio43; 4105 } 4106 4107 static inline void sys_ll_set_gpio_config5_sys_gpio43(sys_hw_t *hw, uint32_t value) 4108 { 4109 hw->gpio_config5.sys_gpio43 = value; 4110 } 4111 4112 /* REG_0x35:gpio_config5->sys_gpio44:0x35[19:16],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4113 static inline uint32_t sys_ll_get_gpio_config5_sys_gpio44(sys_hw_t *hw) 4114 { 4115 return hw->gpio_config5.sys_gpio44; 4116 } 4117 4118 static inline void sys_ll_set_gpio_config5_sys_gpio44(sys_hw_t *hw, uint32_t value) 4119 { 4120 hw->gpio_config5.sys_gpio44 = value; 4121 } 4122 4123 /* REG_0x35:gpio_config5->sys_gpio45:0x35[23:20],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4124 static inline uint32_t sys_ll_get_gpio_config5_sys_gpio45(sys_hw_t *hw) 4125 { 4126 return hw->gpio_config5.sys_gpio45; 4127 } 4128 4129 static inline void sys_ll_set_gpio_config5_sys_gpio45(sys_hw_t *hw, uint32_t value) 4130 { 4131 hw->gpio_config5.sys_gpio45 = value; 4132 } 4133 4134 /* REG_0x35:gpio_config5->sys_gpio46:0x35[27:24],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4135 static inline uint32_t sys_ll_get_gpio_config5_sys_gpio46(sys_hw_t *hw) 4136 { 4137 return hw->gpio_config5.sys_gpio46; 4138 } 4139 4140 static inline void sys_ll_set_gpio_config5_sys_gpio46(sys_hw_t *hw, uint32_t value) 4141 { 4142 hw->gpio_config5.sys_gpio46 = value; 4143 } 4144 4145 /* REG_0x35:gpio_config5->sys_gpio47:0x35[31:28],0:mode1; 1:mode2; 2:mode3; 3:mode4 4:mode5,0,R/W*/ 4146 static inline uint32_t sys_ll_get_gpio_config5_sys_gpio47(sys_hw_t *hw) 4147 { 4148 return hw->gpio_config5.sys_gpio47; 4149 } 4150 4151 static inline void sys_ll_set_gpio_config5_sys_gpio47(sys_hw_t *hw, uint32_t value) 4152 { 4153 hw->gpio_config5.sys_gpio47 = value; 4154 } 4155 4156 /* REG_0x38 */ 4157 4158 static inline uint32_t sys_ll_get_sys_debug_config0_value(sys_hw_t *hw) 4159 { 4160 return hw->sys_debug_config0.v; 4161 } 4162 4163 static inline void sys_ll_set_sys_debug_config0_value(sys_hw_t *hw, uint32_t value) 4164 { 4165 hw->sys_debug_config0.v = value; 4166 } 4167 4168 /* REG_0x38:sys_debug_config0->dbug_config0:0x38[31:0], ,0,R/W*/ 4169 static inline uint32_t sys_ll_get_sys_debug_config0_dbug_config0(sys_hw_t *hw) 4170 { 4171 return hw->sys_debug_config0.v; 4172 } 4173 4174 static inline void sys_ll_set_sys_debug_config0_dbug_config0(sys_hw_t *hw, uint32_t value) 4175 { 4176 hw->sys_debug_config0.v = value; 4177 } 4178 4179 /* REG_0x39 */ 4180 4181 static inline uint32_t sys_ll_get_sys_debug_config1_value(sys_hw_t *hw) 4182 { 4183 return hw->sys_debug_config1.v; 4184 } 4185 4186 static inline void sys_ll_set_sys_debug_config1_value(sys_hw_t *hw, uint32_t value) 4187 { 4188 hw->sys_debug_config1.v = value; 4189 } 4190 4191 /* REG_0x39:sys_debug_config1->dbug_config1:0x39[31:0],0: btsp_debug[0:32] 1: btsp_debug[32+:32] 2: btsp_debug[64+:32] 4:btsp_debug[96+:6] 5:wifip_mac_dbg[31:0] 6: wifip_phy_dbg[31:0] default: dbug_config0 ,0,R/W*/ 4192 static inline uint32_t sys_ll_get_sys_debug_config1_dbug_config1(sys_hw_t *hw) 4193 { 4194 return hw->sys_debug_config1.v; 4195 } 4196 4197 static inline void sys_ll_set_sys_debug_config1_dbug_config1(sys_hw_t *hw, uint32_t value) 4198 { 4199 hw->sys_debug_config1.v = value; 4200 } 4201 4202 /* REG_0x40 */ 4203 4204 static inline uint32_t sys_ll_get_ana_reg0_value(sys_hw_t *hw) 4205 { 4206 return hw->ana_reg0.v; 4207 } 4208 4209 static inline void sys_ll_set_ana_reg0_value(sys_hw_t *hw, uint32_t value) 4210 { 4211 hw->ana_reg0.v = value; 4212 } 4213 4214 /* REG_0x40:ana_reg0->ck2652sel:0x40[0],1:26MHz/0:52MHz,0,R/W*/ 4215 static inline uint32_t sys_ll_get_ana_reg0_ck2652sel(sys_hw_t *hw) 4216 { 4217 return hw->ana_reg0.ck2652sel; 4218 } 4219 4220 static inline void sys_ll_set_ana_reg0_ck2652sel(sys_hw_t *hw, uint32_t value) 4221 { 4222 hw->ana_reg0.ck2652sel = value; 4223 } 4224 4225 /* REG_0x40:ana_reg0->cp:0x40[3:1],cp curent control 0to 350uA 50uA step,2,R/W*/ 4226 static inline uint32_t sys_ll_get_ana_reg0_cp(sys_hw_t *hw) 4227 { 4228 return hw->ana_reg0.cp; 4229 } 4230 4231 static inline void sys_ll_set_ana_reg0_cp(sys_hw_t *hw, uint32_t value) 4232 { 4233 hw->ana_reg0.cp = value; 4234 } 4235 4236 /* REG_0x40:ana_reg0->spideten:0x40[4],unlock detect enable fron spi 1:enable,1,R/W*/ 4237 static inline uint32_t sys_ll_get_ana_reg0_spideten(sys_hw_t *hw) 4238 { 4239 return hw->ana_reg0.spideten; 4240 } 4241 4242 static inline void sys_ll_set_ana_reg0_spideten(sys_hw_t *hw, uint32_t value) 4243 { 4244 hw->ana_reg0.spideten = value; 4245 } 4246 4247 /* REG_0x40:ana_reg0->hvref:0x40[6:5],high vth control for unlock detect 00:0.85V;01:0.9V;10:0.95V;11:1.05V,2,R/W*/ 4248 static inline uint32_t sys_ll_get_ana_reg0_hvref(sys_hw_t *hw) 4249 { 4250 return hw->ana_reg0.hvref; 4251 } 4252 4253 static inline void sys_ll_set_ana_reg0_hvref(sys_hw_t *hw, uint32_t value) 4254 { 4255 hw->ana_reg0.hvref = value; 4256 } 4257 4258 /* REG_0x40:ana_reg0->lvref:0x40[8:7],low vth control for unlock detect 00:0.2V;01:0.3V;10:0.35V;11:0.4V,2,R/W*/ 4259 static inline uint32_t sys_ll_get_ana_reg0_lvref(sys_hw_t *hw) 4260 { 4261 return hw->ana_reg0.lvref; 4262 } 4263 4264 static inline void sys_ll_set_ana_reg0_lvref(sys_hw_t *hw, uint32_t value) 4265 { 4266 hw->ana_reg0.lvref = value; 4267 } 4268 4269 /* REG_0x40:ana_reg0->Rzctrl26M:0x40[9],Rz ctrl in 26M mode:1:normal;0:add 14K,0,R/W*/ 4270 static inline uint32_t sys_ll_get_ana_reg0_rzctrl26m(sys_hw_t *hw) 4271 { 4272 return hw->ana_reg0.rzctrl26m; 4273 } 4274 4275 static inline void sys_ll_set_ana_reg0_rzctrl26m(sys_hw_t *hw, uint32_t value) 4276 { 4277 hw->ana_reg0.rzctrl26m = value; 4278 } 4279 4280 /* REG_0x40:ana_reg0->LoopRzctrl:0x40[13:10],Rz ctrl:2K to 17K,1K step,9,R/W*/ 4281 static inline uint32_t sys_ll_get_ana_reg0_looprzctrl(sys_hw_t *hw) 4282 { 4283 return hw->ana_reg0.looprzctrl; 4284 } 4285 4286 static inline void sys_ll_set_ana_reg0_looprzctrl(sys_hw_t *hw, uint32_t value) 4287 { 4288 hw->ana_reg0.looprzctrl = value; 4289 } 4290 4291 /* REG_0x40:ana_reg0->rpc:0x40[15:14],second pole Rp ctrl:00:30K;01:10K;10:22K;11:2K,2,R/W*/ 4292 static inline uint32_t sys_ll_get_ana_reg0_rpc(sys_hw_t *hw) 4293 { 4294 return hw->ana_reg0.rpc; 4295 } 4296 4297 static inline void sys_ll_set_ana_reg0_rpc(sys_hw_t *hw, uint32_t value) 4298 { 4299 hw->ana_reg0.rpc = value; 4300 } 4301 4302 /* REG_0x40:ana_reg0->nsyn:0x40[16],N divider rst,1,R/W*/ 4303 static inline uint32_t sys_ll_get_ana_reg0_nsyn(sys_hw_t *hw) 4304 { 4305 return hw->ana_reg0.nsyn; 4306 } 4307 4308 static inline void sys_ll_set_ana_reg0_nsyn(sys_hw_t *hw, uint32_t value) 4309 { 4310 hw->ana_reg0.nsyn = value; 4311 } 4312 4313 /* REG_0x40:ana_reg0->cksel:0x40[18:17],0:26M;1:40M;2:24M;3:19.2M,0,R/W*/ 4314 static inline uint32_t sys_ll_get_ana_reg0_cksel(sys_hw_t *hw) 4315 { 4316 return hw->ana_reg0.cksel; 4317 } 4318 4319 static inline void sys_ll_set_ana_reg0_cksel(sys_hw_t *hw, uint32_t value) 4320 { 4321 hw->ana_reg0.cksel = value; 4322 } 4323 4324 /* REG_0x40:ana_reg0->spitrig:0x40[19],SPI band selection trigger signal,0,R/W*/ 4325 static inline uint32_t sys_ll_get_ana_reg0_spitrig(sys_hw_t *hw) 4326 { 4327 return hw->ana_reg0.spitrig; 4328 } 4329 4330 static inline void sys_ll_set_ana_reg0_spitrig(sys_hw_t *hw, uint32_t value) 4331 { 4332 hw->ana_reg0.spitrig = value; 4333 } 4334 4335 /* REG_0x40:ana_reg0->band:0x40[24:20],band manual value/band[0] ,0,R/W*/ 4336 static inline uint32_t sys_ll_get_ana_reg0_band(sys_hw_t *hw) 4337 { 4338 return hw->ana_reg0.band; 4339 } 4340 4341 static inline void sys_ll_set_ana_reg0_band(sys_hw_t *hw, uint32_t value) 4342 { 4343 hw->ana_reg0.band = value; 4344 } 4345 4346 /* REG_0x40:ana_reg0->bandmanual:0x40[25],1:band manual;0:band auto,0,R/W*/ 4347 static inline uint32_t sys_ll_get_ana_reg0_bandmanual(sys_hw_t *hw) 4348 { 4349 return hw->ana_reg0.bandmanual; 4350 } 4351 4352 static inline void sys_ll_set_ana_reg0_bandmanual(sys_hw_t *hw, uint32_t value) 4353 { 4354 hw->ana_reg0.bandmanual = value; 4355 } 4356 4357 /* REG_0x40:ana_reg0->dsptrig:0x40[26],band selection trigger signal,0,R/W*/ 4358 static inline uint32_t sys_ll_get_ana_reg0_dsptrig(sys_hw_t *hw) 4359 { 4360 return hw->ana_reg0.dsptrig; 4361 } 4362 4363 static inline void sys_ll_set_ana_reg0_dsptrig(sys_hw_t *hw, uint32_t value) 4364 { 4365 hw->ana_reg0.dsptrig = value; 4366 } 4367 4368 /* REG_0x40:ana_reg0->lpen_dpll:0x40[27],dpll low power mode enable,0,R/W*/ 4369 static inline uint32_t sys_ll_get_ana_reg0_lpen_dpll(sys_hw_t *hw) 4370 { 4371 return hw->ana_reg0.lpen_dpll; 4372 } 4373 4374 static inline void sys_ll_set_ana_reg0_lpen_dpll(sys_hw_t *hw, uint32_t value) 4375 { 4376 hw->ana_reg0.lpen_dpll = value; 4377 } 4378 4379 /* REG_0x40:ana_reg0->xamp:0x40[31:28],xtal OSC amp control/xamp<0> shared with pll_cktst_en,0xF,R/W*/ 4380 static inline uint32_t sys_ll_get_ana_reg0_xamp(sys_hw_t *hw) 4381 { 4382 return hw->ana_reg0.xamp; 4383 } 4384 4385 static inline void sys_ll_set_ana_reg0_xamp(sys_hw_t *hw, uint32_t value) 4386 { 4387 hw->ana_reg0.xamp = value; 4388 } 4389 4390 /* REG_0x41 */ 4391 4392 static inline uint32_t sys_ll_get_ana_reg1_value(sys_hw_t *hw) 4393 { 4394 return hw->ana_reg1.v; 4395 } 4396 4397 static inline void sys_ll_set_ana_reg1_value(sys_hw_t *hw, uint32_t value) 4398 { 4399 hw->ana_reg1.v = value; 4400 } 4401 4402 /* REG_0x41:ana_reg1->dpll_vrefsel:0x41[1],dpll ldo reference voltage selection 0:vbg_aon/1:vbg_cal,0,R/W*/ 4403 static inline uint32_t sys_ll_get_ana_reg1_dpll_vrefsel(sys_hw_t *hw) 4404 { 4405 return hw->ana_reg1.dpll_vrefsel; 4406 } 4407 4408 static inline void sys_ll_set_ana_reg1_dpll_vrefsel(sys_hw_t *hw, uint32_t value) 4409 { 4410 hw->ana_reg1.dpll_vrefsel = value; 4411 } 4412 4413 /* REG_0x41:ana_reg1->msw:0x41[10:2],set the frequency of DCO manual,70,R/W*/ 4414 static inline uint32_t sys_ll_get_ana_reg1_msw(sys_hw_t *hw) 4415 { 4416 return hw->ana_reg1.msw; 4417 } 4418 4419 static inline void sys_ll_set_ana_reg1_msw(sys_hw_t *hw, uint32_t value) 4420 { 4421 hw->ana_reg1.msw = value; 4422 } 4423 4424 /* REG_0x41:ana_reg1->ictrl:0x41[13:11],controlling the bias cuttent of DCO core,1,R/W*/ 4425 static inline uint32_t sys_ll_get_ana_reg1_ictrl(sys_hw_t *hw) 4426 { 4427 return hw->ana_reg1.ictrl; 4428 } 4429 4430 static inline void sys_ll_set_ana_reg1_ictrl(sys_hw_t *hw, uint32_t value) 4431 { 4432 hw->ana_reg1.ictrl = value; 4433 } 4434 4435 /* REG_0x41:ana_reg1->osc_trig:0x41[14],reset the DCO core by spi to make it oscillate again,0,R/W*/ 4436 static inline uint32_t sys_ll_get_ana_reg1_osc_trig(sys_hw_t *hw) 4437 { 4438 return hw->ana_reg1.osc_trig; 4439 } 4440 4441 static inline void sys_ll_set_ana_reg1_osc_trig(sys_hw_t *hw, uint32_t value) 4442 { 4443 hw->ana_reg1.osc_trig = value; 4444 } 4445 4446 /* REG_0x41:ana_reg1->osccal_trig:0x41[15],trigger the action of callibration in the DCO,0,R/W*/ 4447 static inline uint32_t sys_ll_get_ana_reg1_osccal_trig(sys_hw_t *hw) 4448 { 4449 return hw->ana_reg1.osccal_trig; 4450 } 4451 4452 static inline void sys_ll_set_ana_reg1_osccal_trig(sys_hw_t *hw, uint32_t value) 4453 { 4454 hw->ana_reg1.osccal_trig = value; 4455 } 4456 4457 /* REG_0x41:ana_reg1->cnti:0x41[24:16],set the controlling work of calibration in the DCO block to get the different frequency,C0,R/W*/ 4458 static inline uint32_t sys_ll_get_ana_reg1_cnti(sys_hw_t *hw) 4459 { 4460 return hw->ana_reg1.cnti; 4461 } 4462 4463 static inline void sys_ll_set_ana_reg1_cnti(sys_hw_t *hw, uint32_t value) 4464 { 4465 hw->ana_reg1.cnti = value; 4466 } 4467 4468 /* REG_0x41:ana_reg1->spi_rst:0x41[25],reset the calibration block of DCO by spi,0,R/W*/ 4469 static inline uint32_t sys_ll_get_ana_reg1_spi_rst(sys_hw_t *hw) 4470 { 4471 return hw->ana_reg1.spi_rst; 4472 } 4473 4474 static inline void sys_ll_set_ana_reg1_spi_rst(sys_hw_t *hw, uint32_t value) 4475 { 4476 hw->ana_reg1.spi_rst = value; 4477 } 4478 4479 /* REG_0x41:ana_reg1->amsel:0x41[26],disable the calibration function of the DCO,set the frequency of DCO manual,1,R/W*/ 4480 static inline uint32_t sys_ll_get_ana_reg1_amsel(sys_hw_t *hw) 4481 { 4482 return hw->ana_reg1.amsel; 4483 } 4484 4485 static inline void sys_ll_set_ana_reg1_amsel(sys_hw_t *hw, uint32_t value) 4486 { 4487 hw->ana_reg1.amsel = value; 4488 } 4489 4490 /* REG_0x41:ana_reg1->divctrl:0x41[29:27],controlling the value of divider in the DCO to get the different frequency,7,R/W*/ 4491 static inline uint32_t sys_ll_get_ana_reg1_divctrl(sys_hw_t *hw) 4492 { 4493 return hw->ana_reg1.divctrl; 4494 } 4495 4496 static inline void sys_ll_set_ana_reg1_divctrl(sys_hw_t *hw, uint32_t value) 4497 { 4498 hw->ana_reg1.divctrl = value; 4499 } 4500 4501 /* REG_0x41:ana_reg1->dco_tsten:0x41[30],dco test enable,0,R/W*/ 4502 static inline uint32_t sys_ll_get_ana_reg1_dco_tsten(sys_hw_t *hw) 4503 { 4504 return hw->ana_reg1.dco_tsten; 4505 } 4506 4507 static inline void sys_ll_set_ana_reg1_dco_tsten(sys_hw_t *hw, uint32_t value) 4508 { 4509 hw->ana_reg1.dco_tsten = value; 4510 } 4511 4512 /* REG_0x41:ana_reg1->rosc_tsten:0x41[31],rosc test enable,0,R/W*/ 4513 static inline uint32_t sys_ll_get_ana_reg1_rosc_tsten(sys_hw_t *hw) 4514 { 4515 return hw->ana_reg1.rosc_tsten; 4516 } 4517 4518 static inline void sys_ll_set_ana_reg1_rosc_tsten(sys_hw_t *hw, uint32_t value) 4519 { 4520 hw->ana_reg1.rosc_tsten = value; 4521 } 4522 4523 /* REG_0x42 */ 4524 4525 static inline uint32_t sys_ll_get_ana_reg2_value(sys_hw_t *hw) 4526 { 4527 return hw->ana_reg2.v; 4528 } 4529 4530 static inline void sys_ll_set_ana_reg2_value(sys_hw_t *hw, uint32_t value) 4531 { 4532 hw->ana_reg2.v = value; 4533 } 4534 4535 /* REG_0x42:ana_reg2->pwmscmen:0x42[0],buck nmos disable,0,R/W*/ 4536 static inline uint32_t sys_ll_get_ana_reg2_pwmscmen(sys_hw_t *hw) 4537 { 4538 return hw->ana_reg2.pwmscmen; 4539 } 4540 4541 static inline void sys_ll_set_ana_reg2_pwmscmen(sys_hw_t *hw, uint32_t value) 4542 { 4543 hw->ana_reg2.pwmscmen = value; 4544 } 4545 4546 /* REG_0x42:ana_reg2->buck_fasten:0x42[1],buck EA fast transient enable(=1),1,R/W*/ 4547 static inline uint32_t sys_ll_get_ana_reg2_buck_fasten(sys_hw_t *hw) 4548 { 4549 return hw->ana_reg2.buck_fasten; 4550 } 4551 4552 static inline void sys_ll_set_ana_reg2_buck_fasten(sys_hw_t *hw, uint32_t value) 4553 { 4554 hw->ana_reg2.buck_fasten = value; 4555 } 4556 4557 /* REG_0x42:ana_reg2->cls:0x42[4:2],buck current limit setting,7,R/W*/ 4558 static inline uint32_t sys_ll_get_ana_reg2_cls(sys_hw_t *hw) 4559 { 4560 return hw->ana_reg2.cls; 4561 } 4562 4563 static inline void sys_ll_set_ana_reg2_cls(sys_hw_t *hw, uint32_t value) 4564 { 4565 hw->ana_reg2.cls = value; 4566 } 4567 4568 /* REG_0x42:ana_reg2->pfms:0x42[9:5],buck freewheeling damping enable(=1) ,13,R/W*/ 4569 static inline uint32_t sys_ll_get_ana_reg2_pfms(sys_hw_t *hw) 4570 { 4571 return hw->ana_reg2.pfms; 4572 } 4573 4574 static inline void sys_ll_set_ana_reg2_pfms(sys_hw_t *hw, uint32_t value) 4575 { 4576 hw->ana_reg2.pfms = value; 4577 } 4578 4579 /* REG_0x42:ana_reg2->ripc:0x42[12:10],buck pfm mode voltage ripple control setting,6,R/W*/ 4580 static inline uint32_t sys_ll_get_ana_reg2_ripc(sys_hw_t *hw) 4581 { 4582 return hw->ana_reg2.ripc; 4583 } 4584 4585 static inline void sys_ll_set_ana_reg2_ripc(sys_hw_t *hw, uint32_t value) 4586 { 4587 hw->ana_reg2.ripc = value; 4588 } 4589 4590 /* REG_0x42:ana_reg2->rampc:0x42[16:13],buck ramping compensation setting,7,R/W*/ 4591 static inline uint32_t sys_ll_get_ana_reg2_rampc(sys_hw_t *hw) 4592 { 4593 return hw->ana_reg2.rampc; 4594 } 4595 4596 static inline void sys_ll_set_ana_reg2_rampc(sys_hw_t *hw, uint32_t value) 4597 { 4598 hw->ana_reg2.rampc = value; 4599 } 4600 4601 /* REG_0x42:ana_reg2->rampcen:0x42[17],buck ramping compensation enable(=1),1,R/W*/ 4602 static inline uint32_t sys_ll_get_ana_reg2_rampcen(sys_hw_t *hw) 4603 { 4604 return hw->ana_reg2.rampcen; 4605 } 4606 4607 static inline void sys_ll_set_ana_reg2_rampcen(sys_hw_t *hw, uint32_t value) 4608 { 4609 hw->ana_reg2.rampcen = value; 4610 } 4611 4612 /* REG_0x42:ana_reg2->dpfmen:0x42[18],buck pfm mode current reduce enable(=1),1,R/W*/ 4613 static inline uint32_t sys_ll_get_ana_reg2_dpfmen(sys_hw_t *hw) 4614 { 4615 return hw->ana_reg2.dpfmen; 4616 } 4617 4618 static inline void sys_ll_set_ana_reg2_dpfmen(sys_hw_t *hw, uint32_t value) 4619 { 4620 hw->ana_reg2.dpfmen = value; 4621 } 4622 4623 /* REG_0x42:ana_reg2->pfmen:0x42[19],buck pfm mode enable(=1),1,R/W*/ 4624 static inline uint32_t sys_ll_get_ana_reg2_pfmen(sys_hw_t *hw) 4625 { 4626 return hw->ana_reg2.pfmen; 4627 } 4628 4629 static inline void sys_ll_set_ana_reg2_pfmen(sys_hw_t *hw, uint32_t value) 4630 { 4631 hw->ana_reg2.pfmen = value; 4632 } 4633 4634 /* REG_0x42:ana_reg2->forcepfm:0x42[20],buck force pfm mode(=1),0,R/W*/ 4635 static inline uint32_t sys_ll_get_ana_reg2_forcepfm(sys_hw_t *hw) 4636 { 4637 return hw->ana_reg2.forcepfm; 4638 } 4639 4640 static inline void sys_ll_set_ana_reg2_forcepfm(sys_hw_t *hw, uint32_t value) 4641 { 4642 hw->ana_reg2.forcepfm = value; 4643 } 4644 4645 /* REG_0x42:ana_reg2->swrsten:0x42[21],buck freewheeling damping enable(=1) ,1,R/W*/ 4646 static inline uint32_t sys_ll_get_ana_reg2_swrsten(sys_hw_t *hw) 4647 { 4648 return hw->ana_reg2.swrsten; 4649 } 4650 4651 static inline void sys_ll_set_ana_reg2_swrsten(sys_hw_t *hw, uint32_t value) 4652 { 4653 hw->ana_reg2.swrsten = value; 4654 } 4655 4656 /* REG_0x42:ana_reg2->tmposel:0x42[23:22],buck mpo pulse width control 0--shortest 3---longest,2,R/W*/ 4657 static inline uint32_t sys_ll_get_ana_reg2_tmposel(sys_hw_t *hw) 4658 { 4659 return hw->ana_reg2.tmposel; 4660 } 4661 4662 static inline void sys_ll_set_ana_reg2_tmposel(sys_hw_t *hw, uint32_t value) 4663 { 4664 hw->ana_reg2.tmposel = value; 4665 } 4666 4667 /* REG_0x42:ana_reg2->mpoen:0x42[24],buck mpo mode enable( =1),1,R/W*/ 4668 static inline uint32_t sys_ll_get_ana_reg2_mpoen(sys_hw_t *hw) 4669 { 4670 return hw->ana_reg2.mpoen; 4671 } 4672 4673 static inline void sys_ll_set_ana_reg2_mpoen(sys_hw_t *hw, uint32_t value) 4674 { 4675 hw->ana_reg2.mpoen = value; 4676 } 4677 4678 /* REG_0x42:ana_reg2->spi_latchb:0x42[25],spi latch disable 0:latch;1:no latch,0,R/W*/ 4679 static inline uint32_t sys_ll_get_ana_reg2_spi_latchb(sys_hw_t *hw) 4680 { 4681 return hw->ana_reg2.spi_latchb; 4682 } 4683 4684 static inline void sys_ll_set_ana_reg2_spi_latchb(sys_hw_t *hw, uint32_t value) 4685 { 4686 hw->ana_reg2.spi_latchb = value; 4687 } 4688 4689 /* REG_0x42:ana_reg2->ldosel:0x42[26],ldo/buck select, 0:buck;1:LDO,1,R/W*/ 4690 static inline uint32_t sys_ll_get_ana_reg2_ldosel(sys_hw_t *hw) 4691 { 4692 return hw->ana_reg2.ldosel; 4693 } 4694 4695 static inline void sys_ll_set_ana_reg2_ldosel(sys_hw_t *hw, uint32_t value) 4696 { 4697 hw->ana_reg2.ldosel = value; 4698 } 4699 4700 /* REG_0x42:ana_reg2->iovoc:0x42[29:27],ioldo output voltage select 0:2.9V,….7:3.6V,4,R/W*/ 4701 static inline uint32_t sys_ll_get_ana_reg2_iovoc(sys_hw_t *hw) 4702 { 4703 return hw->ana_reg2.iovoc; 4704 } 4705 4706 static inline void sys_ll_set_ana_reg2_iovoc(sys_hw_t *hw, uint32_t value) 4707 { 4708 hw->ana_reg2.iovoc = value; 4709 } 4710 4711 /* REG_0x42:ana_reg2->vbpbuf_hp:0x42[30],vbspbuffer high power enable,1,R/W*/ 4712 static inline uint32_t sys_ll_get_ana_reg2_vbpbuf_hp(sys_hw_t *hw) 4713 { 4714 return hw->ana_reg2.vbpbuf_hp; 4715 } 4716 4717 static inline void sys_ll_set_ana_reg2_vbpbuf_hp(sys_hw_t *hw, uint32_t value) 4718 { 4719 hw->ana_reg2.vbpbuf_hp = value; 4720 } 4721 4722 /* REG_0x42:ana_reg2->bypassen:0x42[31],ioldo bypass enable,0,R/W*/ 4723 static inline uint32_t sys_ll_get_ana_reg2_bypassen(sys_hw_t *hw) 4724 { 4725 return hw->ana_reg2.bypassen; 4726 } 4727 4728 static inline void sys_ll_set_ana_reg2_bypassen(sys_hw_t *hw, uint32_t value) 4729 { 4730 hw->ana_reg2.bypassen = value; 4731 } 4732 4733 /* REG_0x43 */ 4734 4735 static inline uint32_t sys_ll_get_ana_reg3_value(sys_hw_t *hw) 4736 { 4737 return hw->ana_reg3.v; 4738 } 4739 4740 static inline void sys_ll_set_ana_reg3_value(sys_hw_t *hw, uint32_t value) 4741 { 4742 hw->ana_reg3.v = value; 4743 } 4744 4745 /* REG_0x43:ana_reg3->zcdta:0x43[4:0],buck zcd delay tune setting,1F,R/W*/ 4746 static inline uint32_t sys_ll_get_ana_reg3_zcdta(sys_hw_t *hw) 4747 { 4748 return hw->ana_reg3.zcdta; 4749 } 4750 4751 static inline void sys_ll_set_ana_reg3_zcdta(sys_hw_t *hw, uint32_t value) 4752 { 4753 hw->ana_reg3.zcdta = value; 4754 } 4755 4756 /* REG_0x43:ana_reg3->zcdcala:0x43[10:5],buck zcd offset cali setting,E,R/W*/ 4757 static inline uint32_t sys_ll_get_ana_reg3_zcdcala(sys_hw_t *hw) 4758 { 4759 return hw->ana_reg3.zcdcala; 4760 } 4761 4762 static inline void sys_ll_set_ana_reg3_zcdcala(sys_hw_t *hw, uint32_t value) 4763 { 4764 hw->ana_reg3.zcdcala = value; 4765 } 4766 4767 /* REG_0x43:ana_reg3->zcdmen:0x43[11],buck zcd manual cali enable(=1),0,R/W*/ 4768 static inline uint32_t sys_ll_get_ana_reg3_zcdmen(sys_hw_t *hw) 4769 { 4770 return hw->ana_reg3.zcdmen; 4771 } 4772 4773 static inline void sys_ll_set_ana_reg3_zcdmen(sys_hw_t *hw, uint32_t value) 4774 { 4775 hw->ana_reg3.zcdmen = value; 4776 } 4777 4778 /* REG_0x43:ana_reg3->zcdcalen:0x43[12],buck zcd calibration enable(=1),0,R/W*/ 4779 static inline uint32_t sys_ll_get_ana_reg3_zcdcalen(sys_hw_t *hw) 4780 { 4781 return hw->ana_reg3.zcdcalen; 4782 } 4783 4784 static inline void sys_ll_set_ana_reg3_zcdcalen(sys_hw_t *hw, uint32_t value) 4785 { 4786 hw->ana_reg3.zcdcalen = value; 4787 } 4788 4789 /* REG_0x43:ana_reg3->zcdcal_tri:0x43[13],buck zcd auto cali triggle(0-->1),0,R/W*/ 4790 static inline uint32_t sys_ll_get_ana_reg3_zcdcal_tri(sys_hw_t *hw) 4791 { 4792 return hw->ana_reg3.zcdcal_tri; 4793 } 4794 4795 static inline void sys_ll_set_ana_reg3_zcdcal_tri(sys_hw_t *hw, uint32_t value) 4796 { 4797 hw->ana_reg3.zcdcal_tri = value; 4798 } 4799 4800 /* REG_0x43:ana_reg3->mroscsel:0x43[14],buck oscillator manual cali. enable(=1),0,R/W*/ 4801 static inline uint32_t sys_ll_get_ana_reg3_mroscsel(sys_hw_t *hw) 4802 { 4803 return hw->ana_reg3.mroscsel; 4804 } 4805 4806 static inline void sys_ll_set_ana_reg3_mroscsel(sys_hw_t *hw, uint32_t value) 4807 { 4808 hw->ana_reg3.mroscsel = value; 4809 } 4810 4811 /* REG_0x43:ana_reg3->mfsel:0x43[17:15],buck oscillator manual fsel ,1,R/W*/ 4812 static inline uint32_t sys_ll_get_ana_reg3_mfsel(sys_hw_t *hw) 4813 { 4814 return hw->ana_reg3.mfsel; 4815 } 4816 4817 static inline void sys_ll_set_ana_reg3_mfsel(sys_hw_t *hw, uint32_t value) 4818 { 4819 hw->ana_reg3.mfsel = value; 4820 } 4821 4822 /* REG_0x43:ana_reg3->mroscbcal:0x43[21:18],buck oscillator manual cap_cal 0xA---500k 0xB--1M 0x9---2M,6,R/W*/ 4823 static inline uint32_t sys_ll_get_ana_reg3_mroscbcal(sys_hw_t *hw) 4824 { 4825 return hw->ana_reg3.mroscbcal; 4826 } 4827 4828 static inline void sys_ll_set_ana_reg3_mroscbcal(sys_hw_t *hw, uint32_t value) 4829 { 4830 hw->ana_reg3.mroscbcal = value; 4831 } 4832 4833 /* REG_0x43:ana_reg3->osccaltrig:0x43[22],buck oscillator manual cali. enable(=1),0,R/W*/ 4834 static inline uint32_t sys_ll_get_ana_reg3_osccaltrig(sys_hw_t *hw) 4835 { 4836 return hw->ana_reg3.osccaltrig; 4837 } 4838 4839 static inline void sys_ll_set_ana_reg3_osccaltrig(sys_hw_t *hw, uint32_t value) 4840 { 4841 hw->ana_reg3.osccaltrig = value; 4842 } 4843 4844 /* REG_0x43:ana_reg3->ckintsel:0x43[23],buck clock source select 1-- ring oscillator 0--divider,1,R/W*/ 4845 static inline uint32_t sys_ll_get_ana_reg3_ckintsel(sys_hw_t *hw) 4846 { 4847 return hw->ana_reg3.ckintsel; 4848 } 4849 4850 static inline void sys_ll_set_ana_reg3_ckintsel(sys_hw_t *hw, uint32_t value) 4851 { 4852 hw->ana_reg3.ckintsel = value; 4853 } 4854 4855 /* REG_0x43:ana_reg3->ckfs:0x43[25:24],buck output clock freq. select 0--500k 1---1M 2--2M 3--4M,1,R/W*/ 4856 static inline uint32_t sys_ll_get_ana_reg3_ckfs(sys_hw_t *hw) 4857 { 4858 return hw->ana_reg3.ckfs; 4859 } 4860 4861 static inline void sys_ll_set_ana_reg3_ckfs(sys_hw_t *hw, uint32_t value) 4862 { 4863 hw->ana_reg3.ckfs = value; 4864 } 4865 4866 /* REG_0x43:ana_reg3->vlsel_ldodig:0x43[28:26],digldo output voltage select(low power) 0:0.6V,…..7:1.4V,4,R/W*/ 4867 static inline uint32_t sys_ll_get_ana_reg3_vlsel_ldodig(sys_hw_t *hw) 4868 { 4869 return hw->ana_reg3.vlsel_ldodig; 4870 } 4871 4872 static inline void sys_ll_set_ana_reg3_vlsel_ldodig(sys_hw_t *hw, uint32_t value) 4873 { 4874 hw->ana_reg3.vlsel_ldodig = value; 4875 } 4876 4877 /* REG_0x43:ana_reg3->vhsel_ldodig:0x43[31:29],digldo output voltage select(high power) 0:0.6V,…..7:1.4V,4,R/W*/ 4878 static inline uint32_t sys_ll_get_ana_reg3_vhsel_ldodig(sys_hw_t *hw) 4879 { 4880 return hw->ana_reg3.vhsel_ldodig; 4881 } 4882 4883 static inline void sys_ll_set_ana_reg3_vhsel_ldodig(sys_hw_t *hw, uint32_t value) 4884 { 4885 hw->ana_reg3.vhsel_ldodig = value; 4886 } 4887 4888 /* REG_0x44 */ 4889 4890 static inline uint32_t sys_ll_get_ana_reg4_value(sys_hw_t *hw) 4891 { 4892 return hw->ana_reg4.v; 4893 } 4894 4895 static inline void sys_ll_set_ana_reg4_value(sys_hw_t *hw, uint32_t value) 4896 { 4897 hw->ana_reg4.v = value; 4898 } 4899 4900 /* REG_0x44:ana_reg4->cb_manu_val:0x44[9:5],CB Calibration Manual Value,10,R/W*/ 4901 static inline uint32_t sys_ll_get_ana_reg4_cb_manu_val(sys_hw_t *hw) 4902 { 4903 return hw->ana_reg4.cb_manu_val; 4904 } 4905 4906 static inline void sys_ll_set_ana_reg4_cb_manu_val(sys_hw_t *hw, uint32_t value) 4907 { 4908 hw->ana_reg4.cb_manu_val = value; 4909 } 4910 4911 /* REG_0x44:ana_reg4->cb_cal_trig:0x44[10],CB Calibration Trigger,0,R/W*/ 4912 static inline uint32_t sys_ll_get_ana_reg4_cb_cal_trig(sys_hw_t *hw) 4913 { 4914 return hw->ana_reg4.cb_cal_trig; 4915 } 4916 4917 static inline void sys_ll_set_ana_reg4_cb_cal_trig(sys_hw_t *hw, uint32_t value) 4918 { 4919 hw->ana_reg4.cb_cal_trig = value; 4920 } 4921 4922 /* REG_0x44:ana_reg4->cb_cal_manu:0x44[11],CB Calibration Manual Mode ,1,R/W*/ 4923 static inline uint32_t sys_ll_get_ana_reg4_cb_cal_manu(sys_hw_t *hw) 4924 { 4925 return hw->ana_reg4.cb_cal_manu; 4926 } 4927 4928 static inline void sys_ll_set_ana_reg4_cb_cal_manu(sys_hw_t *hw, uint32_t value) 4929 { 4930 hw->ana_reg4.cb_cal_manu = value; 4931 } 4932 4933 /* REG_0x44:ana_reg4->rosc_cal_intval:0x44[14:12],Rosc Calibration Interlval 0.25s~2s,4,R/W*/ 4934 static inline uint32_t sys_ll_get_ana_reg4_rosc_cal_intval(sys_hw_t *hw) 4935 { 4936 return hw->ana_reg4.rosc_cal_intval; 4937 } 4938 4939 static inline void sys_ll_set_ana_reg4_rosc_cal_intval(sys_hw_t *hw, uint32_t value) 4940 { 4941 hw->ana_reg4.rosc_cal_intval = value; 4942 } 4943 4944 /* REG_0x44:ana_reg4->manu_cin:0x44[21:15],Rosc Calibration Manual Cin,40,R/W*/ 4945 static inline uint32_t sys_ll_get_ana_reg4_manu_cin(sys_hw_t *hw) 4946 { 4947 return hw->ana_reg4.manu_cin; 4948 } 4949 4950 static inline void sys_ll_set_ana_reg4_manu_cin(sys_hw_t *hw, uint32_t value) 4951 { 4952 hw->ana_reg4.manu_cin = value; 4953 } 4954 4955 /* REG_0x44:ana_reg4->manu_fin:0x44[26:22],Rosc Calibration Manual Fin,10,R/W*/ 4956 static inline uint32_t sys_ll_get_ana_reg4_manu_fin(sys_hw_t *hw) 4957 { 4958 return hw->ana_reg4.manu_fin; 4959 } 4960 4961 static inline void sys_ll_set_ana_reg4_manu_fin(sys_hw_t *hw, uint32_t value) 4962 { 4963 hw->ana_reg4.manu_fin = value; 4964 } 4965 4966 /* REG_0x44:ana_reg4->rosc_cal_mode:0x44[27],Rosc Calibration Mode:; 0x1: 32K; 0x0: 31.25K,0,R/W*/ 4967 static inline uint32_t sys_ll_get_ana_reg4_rosc_cal_mode(sys_hw_t *hw) 4968 { 4969 return hw->ana_reg4.rosc_cal_mode; 4970 } 4971 4972 static inline void sys_ll_set_ana_reg4_rosc_cal_mode(sys_hw_t *hw, uint32_t value) 4973 { 4974 hw->ana_reg4.rosc_cal_mode = value; 4975 } 4976 4977 /* REG_0x44:ana_reg4->rosc_cal_trig:0x44[28],Rosc Calibration Trigger,0,R/W*/ 4978 static inline uint32_t sys_ll_get_ana_reg4_rosc_cal_trig(sys_hw_t *hw) 4979 { 4980 return hw->ana_reg4.rosc_cal_trig; 4981 } 4982 4983 static inline void sys_ll_set_ana_reg4_rosc_cal_trig(sys_hw_t *hw, uint32_t value) 4984 { 4985 hw->ana_reg4.rosc_cal_trig = value; 4986 } 4987 4988 /* REG_0x44:ana_reg4->rosc_cal_en:0x44[29],Rosc Calibration Enable,1,R/W*/ 4989 static inline uint32_t sys_ll_get_ana_reg4_rosc_cal_en(sys_hw_t *hw) 4990 { 4991 return hw->ana_reg4.rosc_cal_en; 4992 } 4993 4994 static inline void sys_ll_set_ana_reg4_rosc_cal_en(sys_hw_t *hw, uint32_t value) 4995 { 4996 hw->ana_reg4.rosc_cal_en = value; 4997 } 4998 4999 /* REG_0x44:ana_reg4->rosc_manu_en:0x44[30],Rosc Calibration Manual Mode ,1,R/W*/ 5000 static inline uint32_t sys_ll_get_ana_reg4_rosc_manu_en(sys_hw_t *hw) 5001 { 5002 return hw->ana_reg4.rosc_manu_en; 5003 } 5004 5005 static inline void sys_ll_set_ana_reg4_rosc_manu_en(sys_hw_t *hw, uint32_t value) 5006 { 5007 hw->ana_reg4.rosc_manu_en = value; 5008 } 5009 5010 /* REG_0x44:ana_reg4->rosc_tsten:0x44[31],Rosc test enable,0,R/W*/ 5011 static inline uint32_t sys_ll_get_ana_reg4_rosc_tsten(sys_hw_t *hw) 5012 { 5013 return hw->ana_reg4.rosc_tsten; 5014 } 5015 5016 static inline void sys_ll_set_ana_reg4_rosc_tsten(sys_hw_t *hw, uint32_t value) 5017 { 5018 hw->ana_reg4.rosc_tsten = value; 5019 } 5020 5021 /* REG_0x45 */ 5022 5023 static inline uint32_t sys_ll_get_ana_reg5_value(sys_hw_t *hw) 5024 { 5025 return hw->ana_reg5.v; 5026 } 5027 5028 static inline void sys_ll_set_ana_reg5_value(sys_hw_t *hw, uint32_t value) 5029 { 5030 hw->ana_reg5.v = value; 5031 } 5032 5033 /* REG_0x45:ana_reg5->vref_scale:0x45[0],gadc reference voltage scale enable,0,R/W*/ 5034 static inline uint32_t sys_ll_get_ana_reg5_vref_scale(sys_hw_t *hw) 5035 { 5036 return hw->ana_reg5.vref_scale; 5037 } 5038 5039 static inline void sys_ll_set_ana_reg5_vref_scale(sys_hw_t *hw, uint32_t value) 5040 { 5041 hw->ana_reg5.vref_scale = value; 5042 } 5043 5044 /* REG_0x45:ana_reg5->dccal_en:0x45[1],gadc DC calibration enable,0,R/W*/ 5045 static inline uint32_t sys_ll_get_ana_reg5_dccal_en(sys_hw_t *hw) 5046 { 5047 return hw->ana_reg5.dccal_en; 5048 } 5049 5050 static inline void sys_ll_set_ana_reg5_dccal_en(sys_hw_t *hw, uint32_t value) 5051 { 5052 hw->ana_reg5.dccal_en = value; 5053 } 5054 5055 /* REG_0x45:ana_reg5->xtalh_ctune:0x45[8:2],xtalh load cap tuning,0,R/W*/ 5056 static inline uint32_t sys_ll_get_ana_reg5_xtalh_ctune(sys_hw_t *hw) 5057 { 5058 return hw->ana_reg5.xtalh_ctune; 5059 } 5060 5061 static inline void sys_ll_set_ana_reg5_xtalh_ctune(sys_hw_t *hw, uint32_t value) 5062 { 5063 hw->ana_reg5.xtalh_ctune = value; 5064 } 5065 5066 /* REG_0x45:ana_reg5->cktst_sel:0x45[10:9],clock test signal selection rosc/xtall/dco/dpll,0,R/W*/ 5067 static inline uint32_t sys_ll_get_ana_reg5_cktst_sel(sys_hw_t *hw) 5068 { 5069 return hw->ana_reg5.cktst_sel; 5070 } 5071 5072 static inline void sys_ll_set_ana_reg5_cktst_sel(sys_hw_t *hw, uint32_t value) 5073 { 5074 hw->ana_reg5.cktst_sel = value; 5075 } 5076 5077 /* REG_0x45:ana_reg5->ck_tst_enbale:0x45[11],system clock test enable,0,R/W*/ 5078 static inline uint32_t sys_ll_get_ana_reg5_ck_tst_enbale(sys_hw_t *hw) 5079 { 5080 return hw->ana_reg5.ck_tst_enbale; 5081 } 5082 5083 static inline void sys_ll_set_ana_reg5_ck_tst_enbale(sys_hw_t *hw, uint32_t value) 5084 { 5085 hw->ana_reg5.ck_tst_enbale = value; 5086 } 5087 5088 /* REG_0x45:ana_reg5->trxt_tst_enable:0x45[12],wifi trx test enable,0,R/W*/ 5089 static inline uint32_t sys_ll_get_ana_reg5_trxt_tst_enable(sys_hw_t *hw) 5090 { 5091 return hw->ana_reg5.trxt_tst_enable; 5092 } 5093 5094 static inline void sys_ll_set_ana_reg5_trxt_tst_enable(sys_hw_t *hw, uint32_t value) 5095 { 5096 hw->ana_reg5.trxt_tst_enable = value; 5097 } 5098 5099 /* REG_0x45:ana_reg5->encb:0x45[13],global central bias enable,1,R/W*/ 5100 static inline uint32_t sys_ll_get_ana_reg5_encb(sys_hw_t *hw) 5101 { 5102 return hw->ana_reg5.encb; 5103 } 5104 5105 static inline void sys_ll_set_ana_reg5_encb(sys_hw_t *hw, uint32_t value) 5106 { 5107 hw->ana_reg5.encb = value; 5108 } 5109 5110 /* REG_0x45:ana_reg5->vctrl_dpllldo:0x45[15:14],dpll ldo output selection,1,R/W*/ 5111 static inline uint32_t sys_ll_get_ana_reg5_vctrl_dpllldo(sys_hw_t *hw) 5112 { 5113 return hw->ana_reg5.vctrl_dpllldo; 5114 } 5115 5116 static inline void sys_ll_set_ana_reg5_vctrl_dpllldo(sys_hw_t *hw, uint32_t value) 5117 { 5118 hw->ana_reg5.vctrl_dpllldo = value; 5119 } 5120 5121 /* REG_0x45:ana_reg5->vctrl_sysldo:0x45[17:16],sys ldo output selection,3,R/W*/ 5122 static inline uint32_t sys_ll_get_ana_reg5_vctrl_sysldo(sys_hw_t *hw) 5123 { 5124 return hw->ana_reg5.vctrl_sysldo; 5125 } 5126 5127 static inline void sys_ll_set_ana_reg5_vctrl_sysldo(sys_hw_t *hw, uint32_t value) 5128 { 5129 hw->ana_reg5.vctrl_sysldo = value; 5130 } 5131 5132 /* REG_0x45:ana_reg5->temptst_en:0x45[18],tempdet test enable,0,R/W*/ 5133 static inline uint32_t sys_ll_get_ana_reg5_temptst_en(sys_hw_t *hw) 5134 { 5135 return hw->ana_reg5.temptst_en; 5136 } 5137 5138 static inline void sys_ll_set_ana_reg5_temptst_en(sys_hw_t *hw, uint32_t value) 5139 { 5140 hw->ana_reg5.temptst_en = value; 5141 } 5142 5143 /* REG_0x45:ana_reg5->gadc_inbuf_ictrl:0x45[20:19],gadc input buf Ibias selection,0,R/W*/ 5144 static inline uint32_t sys_ll_get_ana_reg5_gadc_inbuf_ictrl(sys_hw_t *hw) 5145 { 5146 return hw->ana_reg5.gadc_inbuf_ictrl; 5147 } 5148 5149 static inline void sys_ll_set_ana_reg5_gadc_inbuf_ictrl(sys_hw_t *hw, uint32_t value) 5150 { 5151 hw->ana_reg5.gadc_inbuf_ictrl = value; 5152 } 5153 5154 /* REG_0x45:ana_reg5->xtalh_ictrl:0x45[22],xtalh current control,0,R/W*/ 5155 static inline uint32_t sys_ll_get_ana_reg5_xtalh_ictrl(sys_hw_t *hw) 5156 { 5157 return hw->ana_reg5.xtalh_ictrl; 5158 } 5159 5160 static inline void sys_ll_set_ana_reg5_xtalh_ictrl(sys_hw_t *hw, uint32_t value) 5161 { 5162 hw->ana_reg5.xtalh_ictrl = value; 5163 } 5164 5165 /* REG_0x45:ana_reg5->bgcalm:0x45[28:23],bandgap calibration manual setting,20,R/W*/ 5166 static inline uint32_t sys_ll_get_ana_reg5_bgcalm(sys_hw_t *hw) 5167 { 5168 return hw->ana_reg5.bgcalm; 5169 } 5170 5171 static inline void sys_ll_set_ana_reg5_bgcalm(sys_hw_t *hw, uint32_t value) 5172 { 5173 hw->ana_reg5.bgcalm = value; 5174 } 5175 5176 /* REG_0x45:ana_reg5->bgcal_trig:0x45[29],bandgap calibrarion trig,0,R/W*/ 5177 static inline uint32_t sys_ll_get_ana_reg5_bgcal_trig(sys_hw_t *hw) 5178 { 5179 return hw->ana_reg5.bgcal_trig; 5180 } 5181 5182 static inline void sys_ll_set_ana_reg5_bgcal_trig(sys_hw_t *hw, uint32_t value) 5183 { 5184 hw->ana_reg5.bgcal_trig = value; 5185 } 5186 5187 /* REG_0x45:ana_reg5->bgcal_manu:0x45[30],bandgap calibration manual mode enable,1,R/W*/ 5188 static inline uint32_t sys_ll_get_ana_reg5_bgcal_manu(sys_hw_t *hw) 5189 { 5190 return hw->ana_reg5.bgcal_manu; 5191 } 5192 5193 static inline void sys_ll_set_ana_reg5_bgcal_manu(sys_hw_t *hw, uint32_t value) 5194 { 5195 hw->ana_reg5.bgcal_manu = value; 5196 } 5197 5198 /* REG_0x45:ana_reg5->bgcal_en:0x45[31],bandgap calibration enable,0,R/W*/ 5199 static inline uint32_t sys_ll_get_ana_reg5_bgcal_en(sys_hw_t *hw) 5200 { 5201 return hw->ana_reg5.bgcal_en; 5202 } 5203 5204 static inline void sys_ll_set_ana_reg5_bgcal_en(sys_hw_t *hw, uint32_t value) 5205 { 5206 hw->ana_reg5.bgcal_en = value; 5207 } 5208 5209 /* REG_0x46 */ 5210 5211 static inline uint32_t sys_ll_get_ana_reg6_value(sys_hw_t *hw) 5212 { 5213 return hw->ana_reg6.v; 5214 } 5215 5216 static inline void sys_ll_set_ana_reg6_value(sys_hw_t *hw, uint32_t value) 5217 { 5218 hw->ana_reg6.v = value; 5219 } 5220 5221 /* REG_0x46:ana_reg6->itune_xtall:0x46[3:0],xtall core current control,7,R/W*/ 5222 static inline uint32_t sys_ll_get_ana_reg6_itune_xtall(sys_hw_t *hw) 5223 { 5224 return hw->ana_reg6.itune_xtall; 5225 } 5226 5227 static inline void sys_ll_set_ana_reg6_itune_xtall(sys_hw_t *hw, uint32_t value) 5228 { 5229 hw->ana_reg6.itune_xtall = value; 5230 } 5231 5232 /* REG_0x46:ana_reg6->xtall_ten:0x46[4],xtall test enable,0,R/W*/ 5233 static inline uint32_t sys_ll_get_ana_reg6_xtall_ten(sys_hw_t *hw) 5234 { 5235 return hw->ana_reg6.xtall_ten; 5236 } 5237 5238 static inline void sys_ll_set_ana_reg6_xtall_ten(sys_hw_t *hw, uint32_t value) 5239 { 5240 hw->ana_reg6.xtall_ten = value; 5241 } 5242 5243 /* REG_0x46:ana_reg6->psldo_vsel:0x46[5],ps ldo output voltage selection,0:VIO /1:1.8V,0,R/W*/ 5244 static inline uint32_t sys_ll_get_ana_reg6_psldo_vsel(sys_hw_t *hw) 5245 { 5246 return hw->ana_reg6.psldo_vsel; 5247 } 5248 5249 static inline void sys_ll_set_ana_reg6_psldo_vsel(sys_hw_t *hw, uint32_t value) 5250 { 5251 hw->ana_reg6.psldo_vsel = value; 5252 } 5253 5254 /* REG_0x46:ana_reg6->en_usb:0x46[6],usb phy enable,0,R/W*/ 5255 static inline uint32_t sys_ll_get_ana_reg6_en_usb(sys_hw_t *hw) 5256 { 5257 return hw->ana_reg6.en_usb; 5258 } 5259 5260 static inline void sys_ll_set_ana_reg6_en_usb(sys_hw_t *hw, uint32_t value) 5261 { 5262 hw->ana_reg6.en_usb = value; 5263 } 5264 5265 /* REG_0x46:ana_reg6->en_xtall:0x46[7],xtall oscillator enable,0,R/W*/ 5266 static inline uint32_t sys_ll_get_ana_reg6_en_xtall(sys_hw_t *hw) 5267 { 5268 return hw->ana_reg6.en_xtall; 5269 } 5270 5271 static inline void sys_ll_set_ana_reg6_en_xtall(sys_hw_t *hw, uint32_t value) 5272 { 5273 hw->ana_reg6.en_xtall = value; 5274 } 5275 5276 /* REG_0x46:ana_reg6->en_dco:0x46[8],dco enable,0,R/W*/ 5277 static inline uint32_t sys_ll_get_ana_reg6_en_dco(sys_hw_t *hw) 5278 { 5279 return hw->ana_reg6.en_dco; 5280 } 5281 5282 static inline void sys_ll_set_ana_reg6_en_dco(sys_hw_t *hw, uint32_t value) 5283 { 5284 hw->ana_reg6.en_dco = value; 5285 } 5286 5287 /* REG_0x46:ana_reg6->en_psram_ldo:0x46[9],psram ldo enable,0,R/W*/ 5288 static inline uint32_t sys_ll_get_ana_reg6_en_psram_ldo(sys_hw_t *hw) 5289 { 5290 return hw->ana_reg6.en_psram_ldo; 5291 } 5292 5293 static inline void sys_ll_set_ana_reg6_en_psram_ldo(sys_hw_t *hw, uint32_t value) 5294 { 5295 hw->ana_reg6.en_psram_ldo = value; 5296 } 5297 5298 /* REG_0x46:ana_reg6->en_tempdet:0x46[10],tempreture det enable,0,R/W*/ 5299 static inline uint32_t sys_ll_get_ana_reg6_en_tempdet(sys_hw_t *hw) 5300 { 5301 return hw->ana_reg6.en_tempdet; 5302 } 5303 5304 static inline void sys_ll_set_ana_reg6_en_tempdet(sys_hw_t *hw, uint32_t value) 5305 { 5306 hw->ana_reg6.en_tempdet = value; 5307 } 5308 5309 /* REG_0x46:ana_reg6->en_audpll:0x46[11],audio pll enable,0,R/W*/ 5310 static inline uint32_t sys_ll_get_ana_reg6_en_audpll(sys_hw_t *hw) 5311 { 5312 return hw->ana_reg6.en_audpll; 5313 } 5314 5315 static inline void sys_ll_set_ana_reg6_en_audpll(sys_hw_t *hw, uint32_t value) 5316 { 5317 hw->ana_reg6.en_audpll = value; 5318 } 5319 5320 /* REG_0x46:ana_reg6->en_dpll:0x46[12],dpll enable,0,R/W*/ 5321 static inline uint32_t sys_ll_get_ana_reg6_en_dpll(sys_hw_t *hw) 5322 { 5323 return hw->ana_reg6.en_dpll; 5324 } 5325 5326 static inline void sys_ll_set_ana_reg6_en_dpll(sys_hw_t *hw, uint32_t value) 5327 { 5328 hw->ana_reg6.en_dpll = value; 5329 } 5330 5331 /* REG_0x46:ana_reg6->en_sysldo:0x46[13],sysldo enable,1,R/W*/ 5332 static inline uint32_t sys_ll_get_ana_reg6_en_sysldo(sys_hw_t *hw) 5333 { 5334 return hw->ana_reg6.en_sysldo; 5335 } 5336 5337 static inline void sys_ll_set_ana_reg6_en_sysldo(sys_hw_t *hw, uint32_t value) 5338 { 5339 hw->ana_reg6.en_sysldo = value; 5340 } 5341 5342 /* REG_0x46:ana_reg6->en_aud:0x46[14],audio ldo enable,0,W*/ 5343 static inline uint32_t sys_ll_get_ana_reg6_en_aud(sys_hw_t *hw) 5344 { 5345 return hw->ana_reg6.en_aud; 5346 } 5347 5348 static inline void sys_ll_set_ana_reg6_en_aud(sys_hw_t *hw, uint32_t value) 5349 { 5350 hw->ana_reg6.en_aud = value; 5351 } 5352 5353 /* REG_0x46:ana_reg6->pwd_gadc_buf:0x46[15],gadc input buffer pwd,0,W*/ 5354 static inline uint32_t sys_ll_get_ana_reg6_pwd_gadc_buf(sys_hw_t *hw) 5355 { 5356 return hw->ana_reg6.pwd_gadc_buf; 5357 } 5358 5359 static inline void sys_ll_set_ana_reg6_pwd_gadc_buf(sys_hw_t *hw, uint32_t value) 5360 { 5361 hw->ana_reg6.pwd_gadc_buf = value; 5362 } 5363 5364 /* REG_0x46:ana_reg6->vaon_sel:0x46[17],0:vddaon drop enable,1,W*/ 5365 static inline uint32_t sys_ll_get_ana_reg6_vaon_sel(sys_hw_t *hw) 5366 { 5367 return hw->ana_reg6.vaon_sel; 5368 } 5369 5370 static inline void sys_ll_set_ana_reg6_vaon_sel(sys_hw_t *hw, uint32_t value) 5371 { 5372 hw->ana_reg6.vaon_sel = value; 5373 } 5374 5375 /* REG_0x46:ana_reg6->xtal_hpsrr_en:0x46[18],xtal high psrr buffer enable,1,W*/ 5376 static inline uint32_t sys_ll_get_ana_reg6_xtal_hpsrr_en(sys_hw_t *hw) 5377 { 5378 return hw->ana_reg6.xtal_hpsrr_en; 5379 } 5380 5381 static inline void sys_ll_set_ana_reg6_xtal_hpsrr_en(sys_hw_t *hw, uint32_t value) 5382 { 5383 hw->ana_reg6.xtal_hpsrr_en = value; 5384 } 5385 5386 /* REG_0x46:ana_reg6->en_xtal2rf:0x46[19],xtal clock to rfpll gate enable ,0,R/W*/ 5387 static inline uint32_t sys_ll_get_ana_reg6_en_xtal2rf(sys_hw_t *hw) 5388 { 5389 return hw->ana_reg6.en_xtal2rf; 5390 } 5391 5392 static inline void sys_ll_set_ana_reg6_en_xtal2rf(sys_hw_t *hw, uint32_t value) 5393 { 5394 hw->ana_reg6.en_xtal2rf = value; 5395 } 5396 5397 /* REG_0x46:ana_reg6->en_sleep:0x46[20],xtal sleep enable,0,R/W*/ 5398 static inline uint32_t sys_ll_get_ana_reg6_en_sleep(sys_hw_t *hw) 5399 { 5400 return hw->ana_reg6.en_sleep; 5401 } 5402 5403 static inline void sys_ll_set_ana_reg6_en_sleep(sys_hw_t *hw, uint32_t value) 5404 { 5405 hw->ana_reg6.en_sleep = value; 5406 } 5407 5408 /* REG_0x46:ana_reg6->clkbuf_hd:0x46[21],xtal lpsrr clock buffer high power mode ,1,R/W*/ 5409 static inline uint32_t sys_ll_get_ana_reg6_clkbuf_hd(sys_hw_t *hw) 5410 { 5411 return hw->ana_reg6.clkbuf_hd; 5412 } 5413 5414 static inline void sys_ll_set_ana_reg6_clkbuf_hd(sys_hw_t *hw, uint32_t value) 5415 { 5416 hw->ana_reg6.clkbuf_hd = value; 5417 } 5418 5419 /* REG_0x46:ana_reg6->clkbuf_dsel_manu:0x46[22],xtal lpsrr clock buffer power mode selection 0: auto /1:manu ,1,R/W*/ 5420 static inline uint32_t sys_ll_get_ana_reg6_clkbuf_dsel_manu(sys_hw_t *hw) 5421 { 5422 return hw->ana_reg6.clkbuf_dsel_manu; 5423 } 5424 5425 static inline void sys_ll_set_ana_reg6_clkbuf_dsel_manu(sys_hw_t *hw, uint32_t value) 5426 { 5427 hw->ana_reg6.clkbuf_dsel_manu = value; 5428 } 5429 5430 /* REG_0x46:ana_reg6->xtal_lpmode_ctrl:0x46[23],xtal core low power mode enable,1,R/W*/ 5431 static inline uint32_t sys_ll_get_ana_reg6_xtal_lpmode_ctrl(sys_hw_t *hw) 5432 { 5433 return hw->ana_reg6.xtal_lpmode_ctrl; 5434 } 5435 5436 static inline void sys_ll_set_ana_reg6_xtal_lpmode_ctrl(sys_hw_t *hw, uint32_t value) 5437 { 5438 hw->ana_reg6.xtal_lpmode_ctrl = value; 5439 } 5440 5441 /* REG_0x46:ana_reg6->rxtal_lp:0x46[27:24],xtal bias current setting at low power mode ,F,R/W*/ 5442 static inline uint32_t sys_ll_get_ana_reg6_rxtal_lp(sys_hw_t *hw) 5443 { 5444 return hw->ana_reg6.rxtal_lp; 5445 } 5446 5447 static inline void sys_ll_set_ana_reg6_rxtal_lp(sys_hw_t *hw, uint32_t value) 5448 { 5449 hw->ana_reg6.rxtal_lp = value; 5450 } 5451 5452 /* REG_0x46:ana_reg6->rxtal_hp:0x46[31:28],xtal26m bias current setting at high power mode ,F,R/W*/ 5453 static inline uint32_t sys_ll_get_ana_reg6_rxtal_hp(sys_hw_t *hw) 5454 { 5455 return hw->ana_reg6.rxtal_hp; 5456 } 5457 5458 static inline void sys_ll_set_ana_reg6_rxtal_hp(sys_hw_t *hw, uint32_t value) 5459 { 5460 hw->ana_reg6.rxtal_hp = value; 5461 } 5462 5463 /* REG_0x47 */ 5464 5465 static inline uint32_t sys_ll_get_ana_reg7_value(sys_hw_t *hw) 5466 { 5467 return hw->ana_reg7.v; 5468 } 5469 5470 static inline void sys_ll_set_ana_reg7_value(sys_hw_t *hw, uint32_t value) 5471 { 5472 hw->ana_reg7.v = value; 5473 } 5474 5475 /* REG_0x47:ana_reg7->rng_tstck_sel:0x47[0],trng setting,0,R/W*/ 5476 static inline uint32_t sys_ll_get_ana_reg7_rng_tstck_sel(sys_hw_t *hw) 5477 { 5478 return hw->ana_reg7.rng_tstck_sel; 5479 } 5480 5481 static inline void sys_ll_set_ana_reg7_rng_tstck_sel(sys_hw_t *hw, uint32_t value) 5482 { 5483 hw->ana_reg7.rng_tstck_sel = value; 5484 } 5485 5486 /* REG_0x47:ana_reg7->rng_tsten:0x47[1],trng setting,0,R/W*/ 5487 static inline uint32_t sys_ll_get_ana_reg7_rng_tsten(sys_hw_t *hw) 5488 { 5489 return hw->ana_reg7.rng_tsten; 5490 } 5491 5492 static inline void sys_ll_set_ana_reg7_rng_tsten(sys_hw_t *hw, uint32_t value) 5493 { 5494 hw->ana_reg7.rng_tsten = value; 5495 } 5496 5497 /* REG_0x47:ana_reg7->itune_ref:0x47[4:2],trng setting,4,R/W*/ 5498 static inline uint32_t sys_ll_get_ana_reg7_itune_ref(sys_hw_t *hw) 5499 { 5500 return hw->ana_reg7.itune_ref; 5501 } 5502 5503 static inline void sys_ll_set_ana_reg7_itune_ref(sys_hw_t *hw, uint32_t value) 5504 { 5505 hw->ana_reg7.itune_ref = value; 5506 } 5507 5508 /* REG_0x47:ana_reg7->itune_opa:0x47[7:5],trng setting,7,R/W*/ 5509 static inline uint32_t sys_ll_get_ana_reg7_itune_opa(sys_hw_t *hw) 5510 { 5511 return hw->ana_reg7.itune_opa; 5512 } 5513 5514 static inline void sys_ll_set_ana_reg7_itune_opa(sys_hw_t *hw, uint32_t value) 5515 { 5516 hw->ana_reg7.itune_opa = value; 5517 } 5518 5519 /* REG_0x47:ana_reg7->itune_cmp:0x47[10:8],trng setting,7,R/W*/ 5520 static inline uint32_t sys_ll_get_ana_reg7_itune_cmp(sys_hw_t *hw) 5521 { 5522 return hw->ana_reg7.itune_cmp; 5523 } 5524 5525 static inline void sys_ll_set_ana_reg7_itune_cmp(sys_hw_t *hw, uint32_t value) 5526 { 5527 hw->ana_reg7.itune_cmp = value; 5528 } 5529 5530 /* REG_0x47:ana_reg7->Rnooise_sel:0x47[11],trng setting,0,R/W*/ 5531 static inline uint32_t sys_ll_get_ana_reg7_rnooise_sel(sys_hw_t *hw) 5532 { 5533 return hw->ana_reg7.rnooise_sel; 5534 } 5535 5536 static inline void sys_ll_set_ana_reg7_rnooise_sel(sys_hw_t *hw, uint32_t value) 5537 { 5538 hw->ana_reg7.rnooise_sel = value; 5539 } 5540 5541 /* REG_0x47:ana_reg7->Fslow_sel:0x47[14:12],trng setting,2,R/W*/ 5542 static inline uint32_t sys_ll_get_ana_reg7_fslow_sel(sys_hw_t *hw) 5543 { 5544 return hw->ana_reg7.fslow_sel; 5545 } 5546 5547 static inline void sys_ll_set_ana_reg7_fslow_sel(sys_hw_t *hw, uint32_t value) 5548 { 5549 hw->ana_reg7.fslow_sel = value; 5550 } 5551 5552 /* REG_0x47:ana_reg7->Ffast_sel:0x47[18:15],trng setting,8,R/W*/ 5553 static inline uint32_t sys_ll_get_ana_reg7_ffast_sel(sys_hw_t *hw) 5554 { 5555 return hw->ana_reg7.ffast_sel; 5556 } 5557 5558 static inline void sys_ll_set_ana_reg7_ffast_sel(sys_hw_t *hw, uint32_t value) 5559 { 5560 hw->ana_reg7.ffast_sel = value; 5561 } 5562 5563 /* REG_0x47:ana_reg7->gadc_cal_sel:0x47[20:19],gadc calibration mode selection,0,R/W*/ 5564 static inline uint32_t sys_ll_get_ana_reg7_gadc_cal_sel(sys_hw_t *hw) 5565 { 5566 return hw->ana_reg7.gadc_cal_sel; 5567 } 5568 5569 static inline void sys_ll_set_ana_reg7_gadc_cal_sel(sys_hw_t *hw, uint32_t value) 5570 { 5571 hw->ana_reg7.gadc_cal_sel = value; 5572 } 5573 5574 /* REG_0x47:ana_reg7->gadc_cmp_ictrl:0x47[25:22],gadc comparaor current select ,8,R/W*/ 5575 static inline uint32_t sys_ll_get_ana_reg7_gadc_cmp_ictrl(sys_hw_t *hw) 5576 { 5577 return hw->ana_reg7.gadc_cmp_ictrl; 5578 } 5579 5580 static inline void sys_ll_set_ana_reg7_gadc_cmp_ictrl(sys_hw_t *hw, uint32_t value) 5581 { 5582 hw->ana_reg7.gadc_cmp_ictrl = value; 5583 } 5584 5585 /* REG_0x47:ana_reg7->gadc_buf_ictrl:0x47[29:26],gadc buffer current select ,8,R/W*/ 5586 static inline uint32_t sys_ll_get_ana_reg7_gadc_buf_ictrl(sys_hw_t *hw) 5587 { 5588 return hw->ana_reg7.gadc_buf_ictrl; 5589 } 5590 5591 static inline void sys_ll_set_ana_reg7_gadc_buf_ictrl(sys_hw_t *hw, uint32_t value) 5592 { 5593 hw->ana_reg7.gadc_buf_ictrl = value; 5594 } 5595 5596 /* REG_0x47:ana_reg7->vref_sel:0x47[30],gadc input reference select, 0:bandgap signal 1:GPIO voltage divided,0,R/W*/ 5597 static inline uint32_t sys_ll_get_ana_reg7_vref_sel(sys_hw_t *hw) 5598 { 5599 return hw->ana_reg7.vref_sel; 5600 } 5601 5602 static inline void sys_ll_set_ana_reg7_vref_sel(sys_hw_t *hw, uint32_t value) 5603 { 5604 hw->ana_reg7.vref_sel = value; 5605 } 5606 5607 /* REG_0x47:ana_reg7->scal_en:0x47[31],gadc reference scale enable, 0:normal mode,1: scale mode ,1,R/W*/ 5608 static inline uint32_t sys_ll_get_ana_reg7_scal_en(sys_hw_t *hw) 5609 { 5610 return hw->ana_reg7.scal_en; 5611 } 5612 5613 static inline void sys_ll_set_ana_reg7_scal_en(sys_hw_t *hw, uint32_t value) 5614 { 5615 hw->ana_reg7.scal_en = value; 5616 } 5617 5618 /* REG_0x48 */ 5619 5620 static inline uint32_t sys_ll_get_ana_reg8_value(sys_hw_t *hw) 5621 { 5622 return hw->ana_reg8.v; 5623 } 5624 5625 static inline void sys_ll_set_ana_reg8_value(sys_hw_t *hw, uint32_t value) 5626 { 5627 hw->ana_reg8.v = value; 5628 } 5629 5630 /* REG_0x48:ana_reg8->cap_calspi:0x48[8:0],manul mode ,input cap calibretion value,0,R/W*/ 5631 static inline uint32_t sys_ll_get_ana_reg8_cap_calspi(sys_hw_t *hw) 5632 { 5633 return hw->ana_reg8.cap_calspi; 5634 } 5635 5636 static inline void sys_ll_set_ana_reg8_cap_calspi(sys_hw_t *hw, uint32_t value) 5637 { 5638 hw->ana_reg8.cap_calspi = value; 5639 } 5640 5641 /* REG_0x48:ana_reg8->gain_s:0x48[10:9],Sensitivity level selection,1,R/W*/ 5642 static inline uint32_t sys_ll_get_ana_reg8_gain_s(sys_hw_t *hw) 5643 { 5644 return hw->ana_reg8.gain_s; 5645 } 5646 5647 static inline void sys_ll_set_ana_reg8_gain_s(sys_hw_t *hw, uint32_t value) 5648 { 5649 hw->ana_reg8.gain_s = value; 5650 } 5651 5652 /* REG_0x48:ana_reg8->pwd_td:0x48[11],power down touch module,1,R/W*/ 5653 static inline uint32_t sys_ll_get_ana_reg8_pwd_td(sys_hw_t *hw) 5654 { 5655 return hw->ana_reg8.pwd_td; 5656 } 5657 5658 static inline void sys_ll_set_ana_reg8_pwd_td(sys_hw_t *hw, uint32_t value) 5659 { 5660 hw->ana_reg8.pwd_td = value; 5661 } 5662 5663 /* REG_0x48:ana_reg8->en_fsr:0x48[12],low power mode ,enable fast response,0,R/W*/ 5664 static inline uint32_t sys_ll_get_ana_reg8_en_fsr(sys_hw_t *hw) 5665 { 5666 return hw->ana_reg8.en_fsr; 5667 } 5668 5669 static inline void sys_ll_set_ana_reg8_en_fsr(sys_hw_t *hw, uint32_t value) 5670 { 5671 hw->ana_reg8.en_fsr = value; 5672 } 5673 5674 /* REG_0x48:ana_reg8->en_scm:0x48[13],scan mode enable,0,R/W*/ 5675 static inline uint32_t sys_ll_get_ana_reg8_en_scm(sys_hw_t *hw) 5676 { 5677 return hw->ana_reg8.en_scm; 5678 } 5679 5680 static inline void sys_ll_set_ana_reg8_en_scm(sys_hw_t *hw, uint32_t value) 5681 { 5682 hw->ana_reg8.en_scm = value; 5683 } 5684 5685 /* REG_0x48:ana_reg8->en_adcmode:0x48[14],adc mode enable,0,R/W*/ 5686 static inline uint32_t sys_ll_get_ana_reg8_en_adcmode(sys_hw_t *hw) 5687 { 5688 return hw->ana_reg8.en_adcmode; 5689 } 5690 5691 static inline void sys_ll_set_ana_reg8_en_adcmode(sys_hw_t *hw, uint32_t value) 5692 { 5693 hw->ana_reg8.en_adcmode = value; 5694 } 5695 5696 /* REG_0x48:ana_reg8->en_lpmode:0x48[15],low power mode enable,0,R/W*/ 5697 static inline uint32_t sys_ll_get_ana_reg8_en_lpmode(sys_hw_t *hw) 5698 { 5699 return hw->ana_reg8.en_lpmode; 5700 } 5701 5702 static inline void sys_ll_set_ana_reg8_en_lpmode(sys_hw_t *hw, uint32_t value) 5703 { 5704 hw->ana_reg8.en_lpmode = value; 5705 } 5706 5707 /* REG_0x48:ana_reg8->chs_scan:0x48[31:16],scan mode chan selection,0,R/W*/ 5708 static inline uint32_t sys_ll_get_ana_reg8_chs_scan(sys_hw_t *hw) 5709 { 5710 return hw->ana_reg8.chs_scan; 5711 } 5712 5713 static inline void sys_ll_set_ana_reg8_chs_scan(sys_hw_t *hw, uint32_t value) 5714 { 5715 hw->ana_reg8.chs_scan = value; 5716 } 5717 5718 /* REG_0x49 */ 5719 5720 static inline uint32_t sys_ll_get_ana_reg9_value(sys_hw_t *hw) 5721 { 5722 return hw->ana_reg9.v; 5723 } 5724 5725 static inline void sys_ll_set_ana_reg9_value(sys_hw_t *hw, uint32_t value) 5726 { 5727 hw->ana_reg9.v = value; 5728 } 5729 5730 /* REG_0x49:ana_reg9->en_otp_spi:0x49[0],otp ldo spi enable,0,R/W*/ 5731 static inline uint32_t sys_ll_get_ana_reg9_en_otp_spi(sys_hw_t *hw) 5732 { 5733 return hw->ana_reg9.en_otp_spi; 5734 } 5735 5736 static inline void sys_ll_set_ana_reg9_en_otp_spi(sys_hw_t *hw, uint32_t value) 5737 { 5738 hw->ana_reg9.en_otp_spi = value; 5739 } 5740 5741 /* REG_0x49:ana_reg9->entemp2:0x49[1],dummy,0,W*/ 5742 static inline uint32_t sys_ll_get_ana_reg9_entemp2(sys_hw_t *hw) 5743 { 5744 return hw->ana_reg9.entemp2; 5745 } 5746 static inline void sys_ll_set_ana_reg9_entemp2(sys_hw_t *hw, uint32_t value) 5747 { 5748 hw->ana_reg9.entemp2 = value; 5749 } 5750 5751 /* REG_0x49:ana_reg9->vtempsel:0x49[3:2],00:nc 01:vtemp 10:vbe 11:vbg1p3,0,W*/ 5752 static inline uint32_t sys_ll_get_ana_reg9_vtempsel(sys_hw_t *hw) 5753 { 5754 return hw->ana_reg9.vtempsel; 5755 } 5756 static inline void sys_ll_set_ana_reg9_vtempsel(sys_hw_t *hw, uint32_t value) 5757 { 5758 hw->ana_reg9.vtempsel = value; 5759 } 5760 5761 /* REG_0x49:ana_reg9->vtsel:0x49[4],dummy,1,W*/ 5762 static inline uint32_t sys_ll_get_ana_reg9_vtsel(sys_hw_t *hw) 5763 { 5764 return hw->ana_reg9.vtsel; 5765 } 5766 static inline void sys_ll_set_ana_reg9_vtsel(sys_hw_t *hw, uint32_t value) 5767 { 5768 hw->ana_reg9.vtsel = value; 5769 } 5770 5771 /* REG_0x49:ana_reg9->en_bias_5u:0x49[5],Ibias 5u enable,1,W*/ 5772 static inline uint32_t sys_ll_get_ana_reg9_en_bias_5u(sys_hw_t *hw) 5773 { 5774 return hw->ana_reg9.en_bias_5u; 5775 } 5776 static inline void sys_ll_set_ana_reg9_en_bias_5u(sys_hw_t *hw, uint32_t value) 5777 { 5778 hw->ana_reg9.en_bias_5u = value; 5779 } 5780 5781 /* REG_0x49:ana_reg9->dummy2:0x49[6],5uA channel on(for PLL & DCO),1,W*/ 5782 static inline uint32_t sys_ll_get_ana_reg9_dummy2(sys_hw_t *hw) 5783 { 5784 return hw->ana_reg9.dummy2; 5785 } 5786 5787 static inline void sys_ll_set_ana_reg9_dummy2(sys_hw_t *hw, uint32_t value) 5788 { 5789 hw->ana_reg9.dummy2 = value; 5790 } 5791 5792 /* REG_0x49:ana_reg9->touch_serial_cap:0x49[7],1:touch serial capacitors 6pF,1,W*/ 5793 static inline uint32_t sys_ll_get_ana_reg9_touch_serial_cap(sys_hw_t *hw) 5794 { 5795 return hw->ana_reg9.touch_serial_cap; 5796 } 5797 static inline void sys_ll_set_ana_reg9_touch_serial_cap(sys_hw_t *hw, uint32_t value) 5798 { 5799 hw->ana_reg9.touch_serial_cap = value; 5800 } 5801 5802 /* REG_0x49:ana_reg9->buckfb_czenb:0x49[8],buck EA feedback cz selection,1,W*/ 5803 static inline uint32_t sys_ll_get_ana_reg9_buckfb_czenb(sys_hw_t *hw) 5804 { 5805 return hw->ana_reg9.buckfb_czenb; 5806 } 5807 5808 static inline void sys_ll_set_ana_reg9_buckfb_czenb(sys_hw_t *hw, uint32_t value) 5809 { 5810 hw->ana_reg9.buckfb_czenb = value; 5811 } 5812 5813 /* REG_0x49:ana_reg9->buckea_cur_ctrl:0x49[10:9],buck EA ibias selection,3,W*/ 5814 static inline uint32_t sys_ll_get_ana_reg9_buckea_cur_ctrl(sys_hw_t *hw) 5815 { 5816 return hw->ana_reg9.buckea_cur_ctrl; 5817 } 5818 5819 static inline void sys_ll_set_ana_reg9_buckea_cur_ctrl(sys_hw_t *hw, uint32_t value) 5820 { 5821 hw->ana_reg9.buckea_cur_ctrl = value; 5822 } 5823 5824 /* REG_0x49:ana_reg9->cbtst_en:0x49[11],CB test enable,0,W*/ 5825 static inline uint32_t sys_ll_get_ana_reg9_cbtst_en(sys_hw_t *hw) 5826 { 5827 return hw->ana_reg9.cbtst_en; 5828 } 5829 5830 static inline void sys_ll_set_ana_reg9_cbtst_en(sys_hw_t *hw, uint32_t value) 5831 { 5832 hw->ana_reg9.cbtst_en = value; 5833 } 5834 5835 /* REG_0x49:ana_reg9->psldo_vsel:0x49[12],psldo voltage selsection,0,W*/ 5836 static inline uint32_t sys_ll_get_ana_reg9_psldo_vsel(sys_hw_t *hw) 5837 { 5838 return hw->ana_reg9.psldo_vsel; 5839 } 5840 5841 static inline void sys_ll_set_ana_reg9_psldo_vsel(sys_hw_t *hw, uint32_t value) 5842 { 5843 hw->ana_reg9.psldo_vsel = value; 5844 } 5845 5846 /* REG_0x49:ana_reg9->ovr_l:0x49[13],ovr low enable,0,R/W*/ 5847 static inline uint32_t sys_ll_get_ana_reg9_ovr_l(sys_hw_t *hw) 5848 { 5849 return hw->ana_reg9.ovr_l; 5850 } 5851 5852 static inline void sys_ll_set_ana_reg9_ovr_l(sys_hw_t *hw, uint32_t value) 5853 { 5854 hw->ana_reg9.ovr_l = value; 5855 } 5856 5857 /* REG_0x49:ana_reg9->usbpen:0x49[17:14],usb dp driver capability control,8,R/W*/ 5858 static inline uint32_t sys_ll_get_ana_reg9_usbpen(sys_hw_t *hw) 5859 { 5860 return hw->ana_reg9.usbpen; 5861 } 5862 5863 static inline void sys_ll_set_ana_reg9_usbpen(sys_hw_t *hw, uint32_t value) 5864 { 5865 hw->ana_reg9.usbpen = value; 5866 } 5867 5868 /* REG_0x49:ana_reg9->usbnen:0x49[21:18],usb dn driver capability control,8,R/W*/ 5869 static inline uint32_t sys_ll_get_ana_reg9_usbnen(sys_hw_t *hw) 5870 { 5871 return hw->ana_reg9.usbnen; 5872 } 5873 5874 static inline void sys_ll_set_ana_reg9_usbnen(sys_hw_t *hw, uint32_t value) 5875 { 5876 hw->ana_reg9.usbnen = value; 5877 } 5878 5879 /* REG_0x49:ana_reg9->usb_speed:0x49[22],usb speed selection,0,R/W*/ 5880 static inline uint32_t sys_ll_get_ana_reg9_usb_speed(sys_hw_t *hw) 5881 { 5882 return hw->ana_reg9.usb_speed; 5883 } 5884 5885 static inline void sys_ll_set_ana_reg9_usb_speed(sys_hw_t *hw, uint32_t value) 5886 { 5887 hw->ana_reg9.usb_speed = value; 5888 } 5889 5890 /* REG_0x49:ana_reg9->usb_deepsleep:0x49[23],usb deepsleep mode enable by spi,0,R/W*/ 5891 static inline uint32_t sys_ll_get_ana_reg9_usb_deepsleep(sys_hw_t *hw) 5892 { 5893 return hw->ana_reg9.usb_deepsleep; 5894 } 5895 5896 static inline void sys_ll_set_ana_reg9_usb_deepsleep(sys_hw_t *hw, uint32_t value) 5897 { 5898 hw->ana_reg9.usb_deepsleep = value; 5899 } 5900 5901 /* REG_0x49:ana_reg9->man_mode:0x49[24],manul mode enable,0,R/W*/ 5902 static inline uint32_t sys_ll_get_ana_reg9_man_mode(sys_hw_t *hw) 5903 { 5904 return hw->ana_reg9.man_mode; 5905 } 5906 5907 static inline void sys_ll_set_ana_reg9_man_mode(sys_hw_t *hw, uint32_t value) 5908 { 5909 hw->ana_reg9.man_mode = value; 5910 } 5911 5912 /* REG_0x49:ana_reg9->crg:0x49[26:25],detect range selection :8pF/12pF/19pF/27pF,2,R/W*/ 5913 static inline uint32_t sys_ll_get_ana_reg9_crg(sys_hw_t *hw) 5914 { 5915 return hw->ana_reg9.crg; 5916 } 5917 5918 static inline void sys_ll_set_ana_reg9_crg(sys_hw_t *hw, uint32_t value) 5919 { 5920 hw->ana_reg9.crg = value; 5921 } 5922 5923 /* REG_0x49:ana_reg9->vrefs:0x49[29:27],detect threshold selection ,6,R/W*/ 5924 static inline uint32_t sys_ll_get_ana_reg9_vrefs(sys_hw_t *hw) 5925 { 5926 return hw->ana_reg9.vrefs; 5927 } 5928 5929 static inline void sys_ll_set_ana_reg9_vrefs(sys_hw_t *hw, uint32_t value) 5930 { 5931 hw->ana_reg9.vrefs = value; 5932 } 5933 5934 /* REG_0x49:ana_reg9->en_cal:0x49[31],calibretion enable,0,R/W*/ 5935 static inline uint32_t sys_ll_get_ana_reg9_en_cal(sys_hw_t *hw) 5936 { 5937 return hw->ana_reg9.en_cal; 5938 } 5939 5940 static inline void sys_ll_set_ana_reg9_en_cal(sys_hw_t *hw, uint32_t value) 5941 { 5942 hw->ana_reg9.en_cal = value; 5943 } 5944 5945 /* REG_0x4a */ 5946 5947 static inline uint32_t sys_ll_get_ana_reg10_value(sys_hw_t *hw) 5948 { 5949 return hw->ana_reg10.v; 5950 } 5951 5952 static inline void sys_ll_set_ana_reg10_value(sys_hw_t *hw, uint32_t value) 5953 { 5954 hw->ana_reg10.v = value; 5955 } 5956 5957 /* REG_0x4a:ana_reg10->sdm_val:0x4a[29:0],audio pll sdm value,0F1FAA45,R/W*/ 5958 static inline uint32_t sys_ll_get_ana_reg10_sdm_val(sys_hw_t *hw) 5959 { 5960 return hw->ana_reg10.sdm_val; 5961 } 5962 5963 static inline void sys_ll_set_ana_reg10_sdm_val(sys_hw_t *hw, uint32_t value) 5964 { 5965 hw->ana_reg10.sdm_val = value; 5966 } 5967 5968 /* REG_0x4a:ana_reg10->vco_hfreq_enb:0x4a[30],audio pll vco high frequency enb,0,R/W*/ 5969 static inline uint32_t sys_ll_get_ana_reg10_vco_hfreq_enb(sys_hw_t *hw) 5970 { 5971 return hw->ana_reg10.vco_hfreq_enb; 5972 } 5973 5974 static inline void sys_ll_set_ana_reg10_vco_hfreq_enb(sys_hw_t *hw, uint32_t value) 5975 { 5976 hw->ana_reg10.vco_hfreq_enb = value; 5977 } 5978 5979 /* REG_0x4a:ana_reg10->cal_refen:0x4a[31],cal_ref enable of audio pll,1,R/W*/ 5980 static inline uint32_t sys_ll_get_ana_reg10_cal_refen(sys_hw_t *hw) 5981 { 5982 return hw->ana_reg10.cal_refen; 5983 } 5984 5985 static inline void sys_ll_set_ana_reg10_cal_refen(sys_hw_t *hw, uint32_t value) 5986 { 5987 hw->ana_reg10.cal_refen = value; 5988 } 5989 5990 /* REG_0x4b */ 5991 5992 static inline uint32_t sys_ll_get_ana_reg11_value(sys_hw_t *hw) 5993 { 5994 return hw->ana_reg11.v; 5995 } 5996 5997 static inline void sys_ll_set_ana_reg11_value(sys_hw_t *hw, uint32_t value) 5998 { 5999 hw->ana_reg11.v = value; 6000 } 6001 6002 /* REG_0x4b:ana_reg11->int_mod:0x4b[0],DPLL integer mode enable; 0: fractional mode; 1: integer mode,0,R/W*/ 6003 static inline uint32_t sys_ll_get_ana_reg11_int_mod(sys_hw_t *hw) 6004 { 6005 return hw->ana_reg11.int_mod; 6006 } 6007 6008 static inline void sys_ll_set_ana_reg11_int_mod(sys_hw_t *hw, uint32_t value) 6009 { 6010 hw->ana_reg11.int_mod = value; 6011 } 6012 6013 /* REG_0x4b:ana_reg11->Nsyn:0x4b[1],DPLL Ncoutner reset ,0,R/W*/ 6014 static inline uint32_t sys_ll_get_ana_reg11_nsyn(sys_hw_t *hw) 6015 { 6016 return hw->ana_reg11.nsyn; 6017 } 6018 6019 static inline void sys_ll_set_ana_reg11_nsyn(sys_hw_t *hw, uint32_t value) 6020 { 6021 hw->ana_reg11.nsyn = value; 6022 } 6023 6024 /* REG_0x4b:ana_reg11->open_enb:0x4b[2], ,0,R/W*/ 6025 static inline uint32_t sys_ll_get_ana_reg11_open_enb(sys_hw_t *hw) 6026 { 6027 return hw->ana_reg11.open_enb; 6028 } 6029 6030 static inline void sys_ll_set_ana_reg11_open_enb(sys_hw_t *hw, uint32_t value) 6031 { 6032 hw->ana_reg11.open_enb = value; 6033 } 6034 6035 /* REG_0x4b:ana_reg11->reset:0x4b[3],DPLL reset,0,R/W*/ 6036 static inline uint32_t sys_ll_get_ana_reg11_reset(sys_hw_t *hw) 6037 { 6038 return hw->ana_reg11.reset; 6039 } 6040 6041 static inline void sys_ll_set_ana_reg11_reset(sys_hw_t *hw, uint32_t value) 6042 { 6043 hw->ana_reg11.reset = value; 6044 } 6045 6046 /* REG_0x4b:ana_reg11->Ioffset:0x4b[6:4],DPLL charge pump offset current control,5,R/W*/ 6047 static inline uint32_t sys_ll_get_ana_reg11_ioffset(sys_hw_t *hw) 6048 { 6049 return hw->ana_reg11.ioffset; 6050 } 6051 6052 static inline void sys_ll_set_ana_reg11_ioffset(sys_hw_t *hw, uint32_t value) 6053 { 6054 hw->ana_reg11.ioffset = value; 6055 } 6056 6057 /* REG_0x4b:ana_reg11->LPFRz:0x4b[10:7],DPLL Rz control of LPF,6,R/W*/ 6058 static inline uint32_t sys_ll_get_ana_reg11_lpfrz(sys_hw_t *hw) 6059 { 6060 return hw->ana_reg11.lpfrz; 6061 } 6062 6063 static inline void sys_ll_set_ana_reg11_lpfrz(sys_hw_t *hw, uint32_t value) 6064 { 6065 hw->ana_reg11.lpfrz = value; 6066 } 6067 6068 /* REG_0x4b:ana_reg11->vsel:0x4b[13:11],DPLL vtrl selection during VCO band calibration,2,R/W*/ 6069 static inline uint32_t sys_ll_get_ana_reg11_vsel(sys_hw_t *hw) 6070 { 6071 return hw->ana_reg11.vsel; 6072 } 6073 6074 static inline void sys_ll_set_ana_reg11_vsel(sys_hw_t *hw, uint32_t value) 6075 { 6076 hw->ana_reg11.vsel = value; 6077 } 6078 6079 /* REG_0x4b:ana_reg11->vsel_cal:0x4b[14], selection during VCO band calibration,0,R/W*/ 6080 static inline uint32_t sys_ll_get_ana_reg11_vsel_cal(sys_hw_t *hw) 6081 { 6082 return hw->ana_reg11.vsel_cal; 6083 } 6084 6085 static inline void sys_ll_set_ana_reg11_vsel_cal(sys_hw_t *hw, uint32_t value) 6086 { 6087 hw->ana_reg11.vsel_cal = value; 6088 } 6089 6090 /* REG_0x4b:ana_reg11->pwd_lockdet:0x4b[15], ,1,R/W*/ 6091 static inline uint32_t sys_ll_get_ana_reg11_pwd_lockdet(sys_hw_t *hw) 6092 { 6093 return hw->ana_reg11.pwd_lockdet; 6094 } 6095 6096 static inline void sys_ll_set_ana_reg11_pwd_lockdet(sys_hw_t *hw, uint32_t value) 6097 { 6098 hw->ana_reg11.pwd_lockdet = value; 6099 } 6100 6101 /* REG_0x4b:ana_reg11->lockdet_bypass:0x4b[16], ,0,R/W*/ 6102 static inline uint32_t sys_ll_get_ana_reg11_lockdet_bypass(sys_hw_t *hw) 6103 { 6104 return hw->ana_reg11.lockdet_bypass; 6105 } 6106 6107 static inline void sys_ll_set_ana_reg11_lockdet_bypass(sys_hw_t *hw, uint32_t value) 6108 { 6109 hw->ana_reg11.lockdet_bypass = value; 6110 } 6111 6112 /* REG_0x4b:ana_reg11->ckref_loop_sel:0x4b[17],polarity selection of referenc clock to SDM,0,R/W*/ 6113 static inline uint32_t sys_ll_get_ana_reg11_ckref_loop_sel(sys_hw_t *hw) 6114 { 6115 return hw->ana_reg11.ckref_loop_sel; 6116 } 6117 6118 static inline void sys_ll_set_ana_reg11_ckref_loop_sel(sys_hw_t *hw, uint32_t value) 6119 { 6120 hw->ana_reg11.ckref_loop_sel = value; 6121 } 6122 6123 /* REG_0x4b:ana_reg11->spi_trigger:0x4b[18],DPLL band calibration spi trigger,0,R/W*/ 6124 static inline uint32_t sys_ll_get_ana_reg11_spi_trigger(sys_hw_t *hw) 6125 { 6126 return hw->ana_reg11.spi_trigger; 6127 } 6128 6129 static inline void sys_ll_set_ana_reg11_spi_trigger(sys_hw_t *hw, uint32_t value) 6130 { 6131 hw->ana_reg11.spi_trigger = value; 6132 } 6133 6134 /* REG_0x4b:ana_reg11->manual:0x4b[19],DPLL VCO band manual enable; 0: auto mode; 1: manual mode,0,R/W*/ 6135 static inline uint32_t sys_ll_get_ana_reg11_manual(sys_hw_t *hw) 6136 { 6137 return hw->ana_reg11.manual; 6138 } 6139 6140 static inline void sys_ll_set_ana_reg11_manual(sys_hw_t *hw, uint32_t value) 6141 { 6142 hw->ana_reg11.manual = value; 6143 } 6144 6145 /* REG_0x4b:ana_reg11->test_en:0x4b[20],test enable,1,R/W*/ 6146 static inline uint32_t sys_ll_get_ana_reg11_test_en(sys_hw_t *hw) 6147 { 6148 return hw->ana_reg11.test_en; 6149 } 6150 6151 static inline void sys_ll_set_ana_reg11_test_en(sys_hw_t *hw, uint32_t value) 6152 { 6153 hw->ana_reg11.test_en = value; 6154 } 6155 6156 /* REG_0x4b:ana_reg11->Icp:0x4b[23:22],DPLL charge pump current control; ,3,R/W*/ 6157 static inline uint32_t sys_ll_get_ana_reg11_icp(sys_hw_t *hw) 6158 { 6159 return hw->ana_reg11.icp; 6160 } 6161 6162 static inline void sys_ll_set_ana_reg11_icp(sys_hw_t *hw, uint32_t value) 6163 { 6164 hw->ana_reg11.icp = value; 6165 } 6166 6167 /* REG_0x4b:ana_reg11->ck26Men:0x4b[24],xtal26M clock for audio enable,0,R/W*/ 6168 static inline uint32_t sys_ll_get_ana_reg11_ck26men(sys_hw_t *hw) 6169 { 6170 return hw->ana_reg11.ck26men; 6171 } 6172 6173 static inline void sys_ll_set_ana_reg11_ck26men(sys_hw_t *hw, uint32_t value) 6174 { 6175 hw->ana_reg11.ck26men = value; 6176 } 6177 6178 /* REG_0x4b:ana_reg11->ckaudio_outen:0x4b[25],DPLL clock output to PAD enable,0,R/W*/ 6179 static inline uint32_t sys_ll_get_ana_reg11_ckaudio_outen(sys_hw_t *hw) 6180 { 6181 return hw->ana_reg11.ckaudio_outen; 6182 } 6183 6184 static inline void sys_ll_set_ana_reg11_ckaudio_outen(sys_hw_t *hw, uint32_t value) 6185 { 6186 hw->ana_reg11.ckaudio_outen = value; 6187 } 6188 6189 /* REG_0x4b:ana_reg11->divctrl:0x4b[28:26],DPLL divider control; 000: div1; 001: div2; 010: div4; 011: div8; 1xx: div16,0,R/W*/ 6190 static inline uint32_t sys_ll_get_ana_reg11_divctrl(sys_hw_t *hw) 6191 { 6192 return hw->ana_reg11.divctrl; 6193 } 6194 6195 static inline void sys_ll_set_ana_reg11_divctrl(sys_hw_t *hw, uint32_t value) 6196 { 6197 hw->ana_reg11.divctrl = value; 6198 } 6199 6200 /* REG_0x4b:ana_reg11->cksel:0x4b[29],DPLL divider control; 0: div3; 1: div4,1,R/W*/ 6201 static inline uint32_t sys_ll_get_ana_reg11_cksel(sys_hw_t *hw) 6202 { 6203 return hw->ana_reg11.cksel; 6204 } 6205 6206 static inline void sys_ll_set_ana_reg11_cksel(sys_hw_t *hw, uint32_t value) 6207 { 6208 hw->ana_reg11.cksel = value; 6209 } 6210 6211 /* REG_0x4b:ana_reg11->ck2mcu:0x4b[30],DPLL clock for mcu enable,0,R/W*/ 6212 static inline uint32_t sys_ll_get_ana_reg11_ck2mcu(sys_hw_t *hw) 6213 { 6214 return hw->ana_reg11.ck2mcu; 6215 } 6216 6217 static inline void sys_ll_set_ana_reg11_ck2mcu(sys_hw_t *hw, uint32_t value) 6218 { 6219 hw->ana_reg11.ck2mcu = value; 6220 } 6221 6222 /* REG_0x4b:ana_reg11->audioen:0x4b[31],DPLL clock for audio enable,0,R/W*/ 6223 static inline uint32_t sys_ll_get_ana_reg11_audioen(sys_hw_t *hw) 6224 { 6225 return hw->ana_reg11.audioen; 6226 } 6227 6228 static inline void sys_ll_set_ana_reg11_audioen(sys_hw_t *hw, uint32_t value) 6229 { 6230 hw->ana_reg11.audioen = value; 6231 } 6232 6233 /* REG_0x4c */ 6234 6235 static inline uint32_t sys_ll_get_ana_reg12_value(sys_hw_t *hw) 6236 { 6237 return hw->ana_reg12.v; 6238 } 6239 6240 static inline void sys_ll_set_ana_reg12_value(sys_hw_t *hw, uint32_t value) 6241 { 6242 hw->ana_reg12.v = value; 6243 } 6244 6245 /* REG_0x4c:ana_reg12->digmic_ckinv:0x4c[2],digmic clock inversion enable,0,R/W*/ 6246 static inline uint32_t sys_ll_get_ana_reg12_digmic_ckinv(sys_hw_t *hw) 6247 { 6248 return hw->ana_reg12.digmic_ckinv; 6249 } 6250 6251 static inline void sys_ll_set_ana_reg12_digmic_ckinv(sys_hw_t *hw, uint32_t value) 6252 { 6253 hw->ana_reg12.digmic_ckinv = value; 6254 } 6255 6256 /* REG_0x4c:ana_reg12->enmicdig:0x4c[3],digmic enable,0,R/W*/ 6257 static inline uint32_t sys_ll_get_ana_reg12_enmicdig(sys_hw_t *hw) 6258 { 6259 return hw->ana_reg12.enmicdig; 6260 } 6261 6262 static inline void sys_ll_set_ana_reg12_enmicdig(sys_hw_t *hw, uint32_t value) 6263 { 6264 hw->ana_reg12.enmicdig = value; 6265 } 6266 6267 /* REG_0x4c:ana_reg12->audck_rlcen:0x4c[4],audio clock re-latch enable,0,R/W*/ 6268 static inline uint32_t sys_ll_get_ana_reg12_audck_rlcen(sys_hw_t *hw) 6269 { 6270 return hw->ana_reg12.audck_rlcen; 6271 } 6272 6273 static inline void sys_ll_set_ana_reg12_audck_rlcen(sys_hw_t *hw, uint32_t value) 6274 { 6275 hw->ana_reg12.audck_rlcen = value; 6276 } 6277 6278 /* REG_0x4c:ana_reg12->lchckinven:0x4c[5],audio clock re-latch clock inversion enable,0,R/W*/ 6279 static inline uint32_t sys_ll_get_ana_reg12_lchckinven(sys_hw_t *hw) 6280 { 6281 return hw->ana_reg12.lchckinven; 6282 } 6283 6284 static inline void sys_ll_set_ana_reg12_lchckinven(sys_hw_t *hw, uint32_t value) 6285 { 6286 hw->ana_reg12.lchckinven = value; 6287 } 6288 6289 /* REG_0x4c:ana_reg12->ldo1v_vsel1v:0x4c[8:6],audio 1.0V LDO selection, 000=0.8, 1X1=1.0,0,R/W*/ 6290 static inline uint32_t sys_ll_get_ana_reg12_ldo1v_vsel1v(sys_hw_t *hw) 6291 { 6292 return hw->ana_reg12.ldo1v_vsel1v; 6293 } 6294 6295 static inline void sys_ll_set_ana_reg12_ldo1v_vsel1v(sys_hw_t *hw, uint32_t value) 6296 { 6297 hw->ana_reg12.ldo1v_vsel1v = value; 6298 } 6299 6300 /* REG_0x4c:ana_reg12->ldo1v_adj:0x4c[13:9],audio 1.0V LDO output trimming, 00000=min, 11111=max,0,R/W*/ 6301 static inline uint32_t sys_ll_get_ana_reg12_ldo1v_adj(sys_hw_t *hw) 6302 { 6303 return hw->ana_reg12.ldo1v_adj; 6304 } 6305 6306 static inline void sys_ll_set_ana_reg12_ldo1v_adj(sys_hw_t *hw, uint32_t value) 6307 { 6308 hw->ana_reg12.ldo1v_adj = value; 6309 } 6310 6311 /* REG_0x4c:ana_reg12->audvdd_trm1v:0x4c[15:14],audio 1.5V LDO selection, 00=min, 11=max,0,R/W*/ 6312 static inline uint32_t sys_ll_get_ana_reg12_audvdd_trm1v(sys_hw_t *hw) 6313 { 6314 return hw->ana_reg12.audvdd_trm1v; 6315 } 6316 6317 static inline void sys_ll_set_ana_reg12_audvdd_trm1v(sys_hw_t *hw, uint32_t value) 6318 { 6319 hw->ana_reg12.audvdd_trm1v = value; 6320 } 6321 6322 /* REG_0x4c:ana_reg12->audvdd_voc1v:0x4c[20:16],audio 1.5V LDO output trimming, 00000=min, 11111=max,0,R/W*/ 6323 static inline uint32_t sys_ll_get_ana_reg12_audvdd_voc1v(sys_hw_t *hw) 6324 { 6325 return hw->ana_reg12.audvdd_voc1v; 6326 } 6327 6328 static inline void sys_ll_set_ana_reg12_audvdd_voc1v(sys_hw_t *hw, uint32_t value) 6329 { 6330 hw->ana_reg12.audvdd_voc1v = value; 6331 } 6332 6333 /* REG_0x4c:ana_reg12->enaudvdd1v:0x4c[21],audio 1.0V LDO enable,0,R/W*/ 6334 static inline uint32_t sys_ll_get_ana_reg12_enaudvdd1v(sys_hw_t *hw) 6335 { 6336 return hw->ana_reg12.enaudvdd1v; 6337 } 6338 6339 static inline void sys_ll_set_ana_reg12_enaudvdd1v(sys_hw_t *hw, uint32_t value) 6340 { 6341 hw->ana_reg12.enaudvdd1v = value; 6342 } 6343 6344 /* REG_0x4c:ana_reg12->loadhp:0x4c[22],audio 1.5V LDO, 1=good stability with small loading,0,R/W*/ 6345 static inline uint32_t sys_ll_get_ana_reg12_loadhp(sys_hw_t *hw) 6346 { 6347 return hw->ana_reg12.loadhp; 6348 } 6349 6350 static inline void sys_ll_set_ana_reg12_loadhp(sys_hw_t *hw, uint32_t value) 6351 { 6352 hw->ana_reg12.loadhp = value; 6353 } 6354 6355 /* REG_0x4c:ana_reg12->enaudvdd1v5:0x4c[23],audio 1.5V LDO enable,0,R/W*/ 6356 static inline uint32_t sys_ll_get_ana_reg12_enaudvdd1v5(sys_hw_t *hw) 6357 { 6358 return hw->ana_reg12.enaudvdd1v5; 6359 } 6360 6361 static inline void sys_ll_set_ana_reg12_enaudvdd1v5(sys_hw_t *hw, uint32_t value) 6362 { 6363 hw->ana_reg12.enaudvdd1v5 = value; 6364 } 6365 6366 /* REG_0x4c:ana_reg12->enmicbias1v:0x4c[24],micbias enable,0,R/W*/ 6367 static inline uint32_t sys_ll_get_ana_reg12_enmicbias1v(sys_hw_t *hw) 6368 { 6369 return hw->ana_reg12.enmicbias1v; 6370 } 6371 6372 static inline void sys_ll_set_ana_reg12_enmicbias1v(sys_hw_t *hw, uint32_t value) 6373 { 6374 hw->ana_reg12.enmicbias1v = value; 6375 } 6376 6377 /* REG_0x4c:ana_reg12->micbias_trim:0x4c[26:25],micbias output selection, 00=min, 11=max,0,R/W*/ 6378 static inline uint32_t sys_ll_get_ana_reg12_micbias_trim(sys_hw_t *hw) 6379 { 6380 return hw->ana_reg12.micbias_trim; 6381 } 6382 6383 static inline void sys_ll_set_ana_reg12_micbias_trim(sys_hw_t *hw, uint32_t value) 6384 { 6385 hw->ana_reg12.micbias_trim = value; 6386 } 6387 6388 /* REG_0x4c:ana_reg12->micbias_voc1v:0x4c[31:27],micbias output trimming, 00000=min, 11111=max,0,R/W*/ 6389 static inline uint32_t sys_ll_get_ana_reg12_micbias_voc1v(sys_hw_t *hw) 6390 { 6391 return hw->ana_reg12.micbias_voc1v; 6392 } 6393 6394 static inline void sys_ll_set_ana_reg12_micbias_voc1v(sys_hw_t *hw, uint32_t value) 6395 { 6396 hw->ana_reg12.micbias_voc1v = value; 6397 } 6398 6399 /* REG_0x4d */ 6400 6401 static inline uint32_t sys_ll_get_ana_reg13_value(sys_hw_t *hw) 6402 { 6403 return hw->ana_reg13.v; 6404 } 6405 6406 static inline void sys_ll_set_ana_reg13_value(sys_hw_t *hw, uint32_t value) 6407 { 6408 hw->ana_reg13.v = value; 6409 } 6410 6411 /* REG_0x4d:ana_reg13->byp_dwaadc:0x4d[8],adc dwa pass enable,0,R/W*/ 6412 static inline uint32_t sys_ll_get_ana_reg13_byp_dwaadc(sys_hw_t *hw) 6413 { 6414 return hw->ana_reg13.byp_dwaadc; 6415 } 6416 6417 static inline void sys_ll_set_ana_reg13_byp_dwaadc(sys_hw_t *hw, uint32_t value) 6418 { 6419 hw->ana_reg13.byp_dwaadc = value; 6420 } 6421 6422 /* REG_0x4d:ana_reg13->rst:0x4d[9],rst,0,R/W*/ 6423 static inline uint32_t sys_ll_get_ana_reg13_rst(sys_hw_t *hw) 6424 { 6425 return hw->ana_reg13.rst; 6426 } 6427 6428 static inline void sys_ll_set_ana_reg13_rst(sys_hw_t *hw, uint32_t value) 6429 { 6430 hw->ana_reg13.rst = value; 6431 } 6432 6433 /* REG_0x4d:ana_reg13->adcdwa_mode:0x4d[10],adc dwa model sel,0,R/W*/ 6434 static inline uint32_t sys_ll_get_ana_reg13_adcdwa_mode(sys_hw_t *hw) 6435 { 6436 return hw->ana_reg13.adcdwa_mode; 6437 } 6438 6439 static inline void sys_ll_set_ana_reg13_adcdwa_mode(sys_hw_t *hw, uint32_t value) 6440 { 6441 hw->ana_reg13.adcdwa_mode = value; 6442 } 6443 6444 /* REG_0x4d:ana_reg13->vodadjspi:0x4d[15:11],adc reference manual spi control,10,R/W*/ 6445 static inline uint32_t sys_ll_get_ana_reg13_vodadjspi(sys_hw_t *hw) 6446 { 6447 return hw->ana_reg13.vodadjspi; 6448 } 6449 6450 static inline void sys_ll_set_ana_reg13_vodadjspi(sys_hw_t *hw, uint32_t value) 6451 { 6452 hw->ana_reg13.vodadjspi = value; 6453 } 6454 6455 /* REG_0x4d:ana_reg13->refvsel:0x4d[21],0= high reference; 1=small reference,0,R/W*/ 6456 static inline uint32_t sys_ll_get_ana_reg13_refvsel(sys_hw_t *hw) 6457 { 6458 return hw->ana_reg13.refvsel; 6459 } 6460 6461 static inline void sys_ll_set_ana_reg13_refvsel(sys_hw_t *hw, uint32_t value) 6462 { 6463 hw->ana_reg13.refvsel = value; 6464 } 6465 6466 /* REG_0x4d:ana_reg13->capsw1v:0x4d[27:23],munual value for cap trimming,0,R/W*/ 6467 static inline uint32_t sys_ll_get_ana_reg13_capsw1v(sys_hw_t *hw) 6468 { 6469 return hw->ana_reg13.capsw1v; 6470 } 6471 6472 static inline void sys_ll_set_ana_reg13_capsw1v(sys_hw_t *hw, uint32_t value) 6473 { 6474 hw->ana_reg13.capsw1v = value; 6475 } 6476 6477 /* REG_0x4d:ana_reg13->adcckinven:0x4d[30],audio adc clock inversion enable,0,R/W*/ 6478 static inline uint32_t sys_ll_get_ana_reg13_adcckinven(sys_hw_t *hw) 6479 { 6480 return hw->ana_reg13.adcckinven; 6481 } 6482 6483 static inline void sys_ll_set_ana_reg13_adcckinven(sys_hw_t *hw, uint32_t value) 6484 { 6485 hw->ana_reg13.adcckinven = value; 6486 } 6487 6488 /* REG_0x4e */ 6489 6490 static inline uint32_t sys_ll_get_ana_reg14_value(sys_hw_t *hw) 6491 { 6492 return hw->ana_reg14.v; 6493 } 6494 6495 static inline void sys_ll_set_ana_reg14_value(sys_hw_t *hw, uint32_t value) 6496 { 6497 hw->ana_reg14.v = value; 6498 } 6499 6500 /* REG_0x4e:ana_reg14->isel:0x4e[1:0],adc bias trimming,0,R/W*/ 6501 static inline uint32_t sys_ll_get_ana_reg14_isel(sys_hw_t *hw) 6502 { 6503 return hw->ana_reg14.isel; 6504 } 6505 6506 static inline void sys_ll_set_ana_reg14_isel(sys_hw_t *hw, uint32_t value) 6507 { 6508 hw->ana_reg14.isel = value; 6509 } 6510 6511 /* REG_0x4e:ana_reg14->micdcocdin:0x4e[9:2],adc micmode dcoc din,0,R/W*/ 6512 static inline uint32_t sys_ll_get_ana_reg14_micdcocdin(sys_hw_t *hw) 6513 { 6514 return hw->ana_reg14.micdcocdin; 6515 } 6516 6517 static inline void sys_ll_set_ana_reg14_micdcocdin(sys_hw_t *hw, uint32_t value) 6518 { 6519 hw->ana_reg14.micdcocdin = value; 6520 } 6521 6522 /* REG_0x4e:ana_reg14->micdcocvc:0x4e[11:10],adc micmode dcoc control,0,R/W*/ 6523 static inline uint32_t sys_ll_get_ana_reg14_micdcocvc(sys_hw_t *hw) 6524 { 6525 return hw->ana_reg14.micdcocvc; 6526 } 6527 6528 static inline void sys_ll_set_ana_reg14_micdcocvc(sys_hw_t *hw, uint32_t value) 6529 { 6530 hw->ana_reg14.micdcocvc = value; 6531 } 6532 6533 /* REG_0x4e:ana_reg14->micdcocen_n:0x4e[12],adc micmode dcoc enable,0,R/W*/ 6534 static inline uint32_t sys_ll_get_ana_reg14_micdcocen_n(sys_hw_t *hw) 6535 { 6536 return hw->ana_reg14.micdcocen_n; 6537 } 6538 6539 static inline void sys_ll_set_ana_reg14_micdcocen_n(sys_hw_t *hw, uint32_t value) 6540 { 6541 hw->ana_reg14.micdcocen_n = value; 6542 } 6543 6544 /* REG_0x4e:ana_reg14->micdcocen_p:0x4e[13],adc micmode dcoc enable,0,R/W*/ 6545 static inline uint32_t sys_ll_get_ana_reg14_micdcocen_p(sys_hw_t *hw) 6546 { 6547 return hw->ana_reg14.micdcocen_p; 6548 } 6549 6550 static inline void sys_ll_set_ana_reg14_micdcocen_p(sys_hw_t *hw, uint32_t value) 6551 { 6552 hw->ana_reg14.micdcocen_p = value; 6553 } 6554 6555 /* REG_0x4e:ana_reg14->micsingleEn:0x4e[14],adc micmode, single_end enable,0,R/W*/ 6556 static inline uint32_t sys_ll_get_ana_reg14_micsingleen(sys_hw_t *hw) 6557 { 6558 return hw->ana_reg14.micsingleen; 6559 } 6560 6561 static inline void sys_ll_set_ana_reg14_micsingleen(sys_hw_t *hw, uint32_t value) 6562 { 6563 hw->ana_reg14.micsingleen = value; 6564 } 6565 6566 /* REG_0x4e:ana_reg14->micGain:0x4e[18:15],adc micmode gain, 0=0dB(17.9K), F=24dB(267.6K), 2dB/step,0,R/W*/ 6567 static inline uint32_t sys_ll_get_ana_reg14_micgain(sys_hw_t *hw) 6568 { 6569 return hw->ana_reg14.micgain; 6570 } 6571 6572 static inline void sys_ll_set_ana_reg14_micgain(sys_hw_t *hw, uint32_t value) 6573 { 6574 hw->ana_reg14.micgain = value; 6575 } 6576 6577 /* REG_0x4e:ana_reg14->micdacen:0x4e[19],adc micmode micdac enable,0,R/W*/ 6578 static inline uint32_t sys_ll_get_ana_reg14_micdacen(sys_hw_t *hw) 6579 { 6580 return hw->ana_reg14.micdacen; 6581 } 6582 6583 static inline void sys_ll_set_ana_reg14_micdacen(sys_hw_t *hw, uint32_t value) 6584 { 6585 hw->ana_reg14.micdacen = value; 6586 } 6587 6588 /* REG_0x4e:ana_reg14->micdaciH:0x4e[27:20],adc micmode, micdac input ,0,R/W*/ 6589 static inline uint32_t sys_ll_get_ana_reg14_micdacih(sys_hw_t *hw) 6590 { 6591 return hw->ana_reg14.micdacih; 6592 } 6593 6594 static inline void sys_ll_set_ana_reg14_micdacih(sys_hw_t *hw, uint32_t value) 6595 { 6596 hw->ana_reg14.micdacih = value; 6597 } 6598 6599 /* REG_0x4e:ana_reg14->micdacit:0x4e[29:28],adc micmode, mic_dac Iout Full-range, 00=280uA, 01=320uA, 1X=447uA,0,R/W*/ 6600 static inline uint32_t sys_ll_get_ana_reg14_micdacit(sys_hw_t *hw) 6601 { 6602 return hw->ana_reg14.micdacit; 6603 } 6604 6605 static inline void sys_ll_set_ana_reg14_micdacit(sys_hw_t *hw, uint32_t value) 6606 { 6607 hw->ana_reg14.micdacit = value; 6608 } 6609 6610 /* REG_0x4e:ana_reg14->hcen:0x4e[30],adc 1stg op current trimming,0,R/W*/ 6611 static inline uint32_t sys_ll_get_ana_reg14_hcen(sys_hw_t *hw) 6612 { 6613 return hw->ana_reg14.hcen; 6614 } 6615 6616 static inline void sys_ll_set_ana_reg14_hcen(sys_hw_t *hw, uint32_t value) 6617 { 6618 hw->ana_reg14.hcen = value; 6619 } 6620 6621 /* REG_0x4e:ana_reg14->micEn:0x4e[31],mic1 mode enable,0,R/W*/ 6622 static inline uint32_t sys_ll_get_ana_reg14_micen(sys_hw_t *hw) 6623 { 6624 return hw->ana_reg14.micen; 6625 } 6626 6627 static inline void sys_ll_set_ana_reg14_micen(sys_hw_t *hw, uint32_t value) 6628 { 6629 hw->ana_reg14.micen = value; 6630 } 6631 6632 /* REG_0x4f */ 6633 6634 static inline uint32_t sys_ll_get_ana_reg15_value(sys_hw_t *hw) 6635 { 6636 return hw->ana_reg15.v; 6637 } 6638 6639 static inline void sys_ll_set_ana_reg15_value(sys_hw_t *hw, uint32_t value) 6640 { 6641 hw->ana_reg15.v = value; 6642 } 6643 6644 /* REG_0x4f:ana_reg15->isel:0x4f[1:0],adc bias trimming,0,R/W*/ 6645 static inline uint32_t sys_ll_get_ana_reg15_isel(sys_hw_t *hw) 6646 { 6647 return hw->ana_reg15.isel; 6648 } 6649 6650 static inline void sys_ll_set_ana_reg15_isel(sys_hw_t *hw, uint32_t value) 6651 { 6652 hw->ana_reg15.isel = value; 6653 } 6654 6655 /* REG_0x4f:ana_reg15->micdcocdin:0x4f[9:2],adc micmode dcoc din,0,R/W*/ 6656 static inline uint32_t sys_ll_get_ana_reg15_micdcocdin(sys_hw_t *hw) 6657 { 6658 return hw->ana_reg15.micdcocdin; 6659 } 6660 6661 static inline void sys_ll_set_ana_reg15_micdcocdin(sys_hw_t *hw, uint32_t value) 6662 { 6663 hw->ana_reg15.micdcocdin = value; 6664 } 6665 6666 /* REG_0x4f:ana_reg15->micdcocvc:0x4f[11:10],adc micmode dcoc control,0,R/W*/ 6667 static inline uint32_t sys_ll_get_ana_reg15_micdcocvc(sys_hw_t *hw) 6668 { 6669 return hw->ana_reg15.micdcocvc; 6670 } 6671 6672 static inline void sys_ll_set_ana_reg15_micdcocvc(sys_hw_t *hw, uint32_t value) 6673 { 6674 hw->ana_reg15.micdcocvc = value; 6675 } 6676 6677 /* REG_0x4f:ana_reg15->micdcocen_n:0x4f[12],adc micmode dcoc enable,0,R/W*/ 6678 static inline uint32_t sys_ll_get_ana_reg15_micdcocen_n(sys_hw_t *hw) 6679 { 6680 return hw->ana_reg15.micdcocen_n; 6681 } 6682 6683 static inline void sys_ll_set_ana_reg15_micdcocen_n(sys_hw_t *hw, uint32_t value) 6684 { 6685 hw->ana_reg15.micdcocen_n = value; 6686 } 6687 6688 /* REG_0x4f:ana_reg15->micdcocen_p:0x4f[13],adc micmode dcoc enable,0,R/W*/ 6689 static inline uint32_t sys_ll_get_ana_reg15_micdcocen_p(sys_hw_t *hw) 6690 { 6691 return hw->ana_reg15.micdcocen_p; 6692 } 6693 6694 static inline void sys_ll_set_ana_reg15_micdcocen_p(sys_hw_t *hw, uint32_t value) 6695 { 6696 hw->ana_reg15.micdcocen_p = value; 6697 } 6698 6699 /* REG_0x4f:ana_reg15->micsingleEn:0x4f[14],adc micmode, single_end enable,0,R/W*/ 6700 static inline uint32_t sys_ll_get_ana_reg15_micsingleen(sys_hw_t *hw) 6701 { 6702 return hw->ana_reg15.micsingleen; 6703 } 6704 6705 static inline void sys_ll_set_ana_reg15_micsingleen(sys_hw_t *hw, uint32_t value) 6706 { 6707 hw->ana_reg15.micsingleen = value; 6708 } 6709 6710 /* REG_0x4f:ana_reg15->micGain:0x4f[18:15],adc micmode gain, 0=0dB(17.9K), F=24dB(267.6K), 2dB/step,0,R/W*/ 6711 static inline uint32_t sys_ll_get_ana_reg15_micgain(sys_hw_t *hw) 6712 { 6713 return hw->ana_reg15.micgain; 6714 } 6715 6716 static inline void sys_ll_set_ana_reg15_micgain(sys_hw_t *hw, uint32_t value) 6717 { 6718 hw->ana_reg15.micgain = value; 6719 } 6720 6721 /* REG_0x4f:ana_reg15->micdacen:0x4f[19],adc micmode micdac enable,0,R/W*/ 6722 static inline uint32_t sys_ll_get_ana_reg15_micdacen(sys_hw_t *hw) 6723 { 6724 return hw->ana_reg15.micdacen; 6725 } 6726 6727 static inline void sys_ll_set_ana_reg15_micdacen(sys_hw_t *hw, uint32_t value) 6728 { 6729 hw->ana_reg15.micdacen = value; 6730 } 6731 6732 /* REG_0x4f:ana_reg15->micdaciH:0x4f[27:20],adc micmode, micdac input ,0,R/W*/ 6733 static inline uint32_t sys_ll_get_ana_reg15_micdacih(sys_hw_t *hw) 6734 { 6735 return hw->ana_reg15.micdacih; 6736 } 6737 6738 static inline void sys_ll_set_ana_reg15_micdacih(sys_hw_t *hw, uint32_t value) 6739 { 6740 hw->ana_reg15.micdacih = value; 6741 } 6742 6743 /* REG_0x4f:ana_reg15->micdacit:0x4f[29:28],adc micmode, mic_dac Iout Full-range, 00=280uA, 01=320uA, 1X=447uA,0,R/W*/ 6744 static inline uint32_t sys_ll_get_ana_reg15_micdacit(sys_hw_t *hw) 6745 { 6746 return hw->ana_reg15.micdacit; 6747 } 6748 6749 static inline void sys_ll_set_ana_reg15_micdacit(sys_hw_t *hw, uint32_t value) 6750 { 6751 hw->ana_reg15.micdacit = value; 6752 } 6753 6754 /* REG_0x4f:ana_reg15->hcen:0x4f[30],adc 1stg op current trimming,0,R/W*/ 6755 static inline uint32_t sys_ll_get_ana_reg15_hcen(sys_hw_t *hw) 6756 { 6757 return hw->ana_reg15.hcen; 6758 } 6759 6760 static inline void sys_ll_set_ana_reg15_hcen(sys_hw_t *hw, uint32_t value) 6761 { 6762 hw->ana_reg15.hcen = value; 6763 } 6764 6765 /* REG_0x4f:ana_reg15->micEn:0x4f[31],mic2 mode enable,0,R/W*/ 6766 static inline uint32_t sys_ll_get_ana_reg15_micen(sys_hw_t *hw) 6767 { 6768 return hw->ana_reg15.micen; 6769 } 6770 6771 static inline void sys_ll_set_ana_reg15_micen(sys_hw_t *hw, uint32_t value) 6772 { 6773 hw->ana_reg15.micen = value; 6774 } 6775 6776 /* REG_0x50 */ 6777 6778 static inline uint32_t sys_ll_get_ana_reg16_value(sys_hw_t *hw) 6779 { 6780 return hw->ana_reg16.v; 6781 } 6782 6783 static inline void sys_ll_set_ana_reg16_value(sys_hw_t *hw, uint32_t value) 6784 { 6785 hw->ana_reg16.v = value; 6786 } 6787 6788 /* REG_0x50:ana_reg16->hpdac:0x50[0],class ab driver high current mode. "1" high current. ,0,R/W*/ 6789 static inline uint32_t sys_ll_get_ana_reg16_hpdac(sys_hw_t *hw) 6790 { 6791 return hw->ana_reg16.hpdac; 6792 } 6793 6794 static inline void sys_ll_set_ana_reg16_hpdac(sys_hw_t *hw, uint32_t value) 6795 { 6796 hw->ana_reg16.hpdac = value; 6797 } 6798 6799 /* REG_0x50:ana_reg16->vcmsdac:0x50[1],1stg OP input common model voltage selection. "1" low common mode voltage,0,R/W*/ 6800 static inline uint32_t sys_ll_get_ana_reg16_vcmsdac(sys_hw_t *hw) 6801 { 6802 return hw->ana_reg16.vcmsdac; 6803 } 6804 6805 static inline void sys_ll_set_ana_reg16_vcmsdac(sys_hw_t *hw, uint32_t value) 6806 { 6807 hw->ana_reg16.vcmsdac = value; 6808 } 6809 6810 /* REG_0x50:ana_reg16->oscdac:0x50[3:2],threshold current setting for over current protection . "3" maximum current. "0" minimum current,0,R/W*/ 6811 static inline uint32_t sys_ll_get_ana_reg16_oscdac(sys_hw_t *hw) 6812 { 6813 return hw->ana_reg16.oscdac; 6814 } 6815 6816 static inline void sys_ll_set_ana_reg16_oscdac(sys_hw_t *hw, uint32_t value) 6817 { 6818 hw->ana_reg16.oscdac = value; 6819 } 6820 6821 /* REG_0x50:ana_reg16->ocendac:0x50[4],over current protection enable. "1" enable.,0,R/W*/ 6822 static inline uint32_t sys_ll_get_ana_reg16_ocendac(sys_hw_t *hw) 6823 { 6824 return hw->ana_reg16.ocendac; 6825 } 6826 6827 static inline void sys_ll_set_ana_reg16_ocendac(sys_hw_t *hw, uint32_t value) 6828 { 6829 hw->ana_reg16.ocendac = value; 6830 } 6831 6832 /* REG_0x50:ana_reg16->isel_idac:0x50[5],idac current sel,0,R/W*/ 6833 static inline uint32_t sys_ll_get_ana_reg16_isel_idac(sys_hw_t *hw) 6834 { 6835 return hw->ana_reg16.isel_idac; 6836 } 6837 6838 static inline void sys_ll_set_ana_reg16_isel_idac(sys_hw_t *hw, uint32_t value) 6839 { 6840 hw->ana_reg16.isel_idac = value; 6841 } 6842 6843 /* REG_0x50:ana_reg16->adjdacref:0x50[10:6],audio dac reference voltage adjust.,0,R/W*/ 6844 static inline uint32_t sys_ll_get_ana_reg16_adjdacref(sys_hw_t *hw) 6845 { 6846 return hw->ana_reg16.adjdacref; 6847 } 6848 6849 static inline void sys_ll_set_ana_reg16_adjdacref(sys_hw_t *hw, uint32_t value) 6850 { 6851 hw->ana_reg16.adjdacref = value; 6852 } 6853 6854 /* REG_0x50:ana_reg16->dcochg:0x50[12],dcoc high gain selection. "1" high gain,0,R/W*/ 6855 static inline uint32_t sys_ll_get_ana_reg16_dcochg(sys_hw_t *hw) 6856 { 6857 return hw->ana_reg16.dcochg; 6858 } 6859 6860 static inline void sys_ll_set_ana_reg16_dcochg(sys_hw_t *hw, uint32_t value) 6861 { 6862 hw->ana_reg16.dcochg = value; 6863 } 6864 6865 /* REG_0x50:ana_reg16->diffen:0x50[13],enable differential mode. "1" enable,0,R/W*/ 6866 static inline uint32_t sys_ll_get_ana_reg16_diffen(sys_hw_t *hw) 6867 { 6868 return hw->ana_reg16.diffen; 6869 } 6870 6871 static inline void sys_ll_set_ana_reg16_diffen(sys_hw_t *hw, uint32_t value) 6872 { 6873 hw->ana_reg16.diffen = value; 6874 } 6875 6876 /* REG_0x50:ana_reg16->endaccal:0x50[14],enable offset calibration process. "1" enable.,0,R/W*/ 6877 static inline uint32_t sys_ll_get_ana_reg16_endaccal(sys_hw_t *hw) 6878 { 6879 return hw->ana_reg16.endaccal; 6880 } 6881 6882 static inline void sys_ll_set_ana_reg16_endaccal(sys_hw_t *hw, uint32_t value) 6883 { 6884 hw->ana_reg16.endaccal = value; 6885 } 6886 6887 /* REG_0x50:ana_reg16->rendcoc:0x50[15],R-channel dcoc dac enablel. "1" enable,0,R/W*/ 6888 static inline uint32_t sys_ll_get_ana_reg16_rendcoc(sys_hw_t *hw) 6889 { 6890 return hw->ana_reg16.rendcoc; 6891 } 6892 6893 static inline void sys_ll_set_ana_reg16_rendcoc(sys_hw_t *hw, uint32_t value) 6894 { 6895 hw->ana_reg16.rendcoc = value; 6896 } 6897 6898 /* REG_0x50:ana_reg16->lendcoc:0x50[16],L-channel Dcoc dac enable. "1" enable,0,R/W*/ 6899 static inline uint32_t sys_ll_get_ana_reg16_lendcoc(sys_hw_t *hw) 6900 { 6901 return hw->ana_reg16.lendcoc; 6902 } 6903 6904 static inline void sys_ll_set_ana_reg16_lendcoc(sys_hw_t *hw, uint32_t value) 6905 { 6906 hw->ana_reg16.lendcoc = value; 6907 } 6908 6909 /* REG_0x50:ana_reg16->renvcmd:0x50[17],R-channel common mode output buffer enable."1" enable,0,R/W*/ 6910 static inline uint32_t sys_ll_get_ana_reg16_renvcmd(sys_hw_t *hw) 6911 { 6912 return hw->ana_reg16.renvcmd; 6913 } 6914 6915 static inline void sys_ll_set_ana_reg16_renvcmd(sys_hw_t *hw, uint32_t value) 6916 { 6917 hw->ana_reg16.renvcmd = value; 6918 } 6919 6920 /* REG_0x50:ana_reg16->lenvcmd:0x50[18],L-channel common mode output buffer enable. "1" enable,0,R/W*/ 6921 static inline uint32_t sys_ll_get_ana_reg16_lenvcmd(sys_hw_t *hw) 6922 { 6923 return hw->ana_reg16.lenvcmd; 6924 } 6925 6926 static inline void sys_ll_set_ana_reg16_lenvcmd(sys_hw_t *hw, uint32_t value) 6927 { 6928 hw->ana_reg16.lenvcmd = value; 6929 } 6930 6931 /* REG_0x50:ana_reg16->dacdrven:0x50[19],dac output driver enable."1" enable,0,R/W*/ 6932 static inline uint32_t sys_ll_get_ana_reg16_dacdrven(sys_hw_t *hw) 6933 { 6934 return hw->ana_reg16.dacdrven; 6935 } 6936 6937 static inline void sys_ll_set_ana_reg16_dacdrven(sys_hw_t *hw, uint32_t value) 6938 { 6939 hw->ana_reg16.dacdrven = value; 6940 } 6941 6942 /* REG_0x50:ana_reg16->dacRen:0x50[20],dac R-channel enable. "1" enable,0,R/W*/ 6943 static inline uint32_t sys_ll_get_ana_reg16_dacren(sys_hw_t *hw) 6944 { 6945 return hw->ana_reg16.dacren; 6946 } 6947 6948 static inline void sys_ll_set_ana_reg16_dacren(sys_hw_t *hw, uint32_t value) 6949 { 6950 hw->ana_reg16.dacren = value; 6951 } 6952 6953 /* REG_0x50:ana_reg16->dacLen:0x50[21],dac L-channel enable. "1" enable,0,R/W*/ 6954 static inline uint32_t sys_ll_get_ana_reg16_daclen(sys_hw_t *hw) 6955 { 6956 return hw->ana_reg16.daclen; 6957 } 6958 6959 static inline void sys_ll_set_ana_reg16_daclen(sys_hw_t *hw, uint32_t value) 6960 { 6961 hw->ana_reg16.daclen = value; 6962 } 6963 6964 /* REG_0x50:ana_reg16->dacG:0x50[24:22],dac gain setting: 000=0dB, 111=8dB,0,R/W*/ 6965 static inline uint32_t sys_ll_get_ana_reg16_dacg(sys_hw_t *hw) 6966 { 6967 return hw->ana_reg16.dacg; 6968 } 6969 6970 static inline void sys_ll_set_ana_reg16_dacg(sys_hw_t *hw, uint32_t value) 6971 { 6972 hw->ana_reg16.dacg = value; 6973 } 6974 6975 /* REG_0x50:ana_reg16->ck4xsel:0x50[25],dac clock sel ,0,R/W*/ 6976 static inline uint32_t sys_ll_get_ana_reg16_ck4xsel(sys_hw_t *hw) 6977 { 6978 return hw->ana_reg16.ck4xsel; 6979 } 6980 6981 static inline void sys_ll_set_ana_reg16_ck4xsel(sys_hw_t *hw, uint32_t value) 6982 { 6983 hw->ana_reg16.ck4xsel = value; 6984 } 6985 6986 /* REG_0x50:ana_reg16->dacmute:0x50[26],dac mute enable. "1" mute enable,0,R/W*/ 6987 static inline uint32_t sys_ll_get_ana_reg16_dacmute(sys_hw_t *hw) 6988 { 6989 return hw->ana_reg16.dacmute; 6990 } 6991 6992 static inline void sys_ll_set_ana_reg16_dacmute(sys_hw_t *hw, uint32_t value) 6993 { 6994 hw->ana_reg16.dacmute = value; 6995 } 6996 6997 /* REG_0x50:ana_reg16->dwamode:0x50[27],dac dwa mode sel,0,R/W*/ 6998 static inline uint32_t sys_ll_get_ana_reg16_dwamode(sys_hw_t *hw) 6999 { 7000 return hw->ana_reg16.dwamode; 7001 } 7002 7003 static inline void sys_ll_set_ana_reg16_dwamode(sys_hw_t *hw, uint32_t value) 7004 { 7005 hw->ana_reg16.dwamode = value; 7006 } 7007 7008 /* REG_0x50:ana_reg16->ckposel:0x50[28],dac sample clock edge selection,0,R/W*/ 7009 static inline uint32_t sys_ll_get_ana_reg16_ckposel(sys_hw_t *hw) 7010 { 7011 return hw->ana_reg16.ckposel; 7012 } 7013 7014 static inline void sys_ll_set_ana_reg16_ckposel(sys_hw_t *hw, uint32_t value) 7015 { 7016 hw->ana_reg16.ckposel = value; 7017 } 7018 7019 /* REG_0x50:ana_reg16->byldo:0x50[31],bypass 1v8 LDO,0,R/W*/ 7020 static inline uint32_t sys_ll_get_ana_reg16_byldo(sys_hw_t *hw) 7021 { 7022 return hw->ana_reg16.byldo; 7023 } 7024 7025 static inline void sys_ll_set_ana_reg16_byldo(sys_hw_t *hw, uint32_t value) 7026 { 7027 hw->ana_reg16.byldo = value; 7028 } 7029 7030 /* REG_0x51 */ 7031 7032 static inline uint32_t sys_ll_get_ana_reg17_value(sys_hw_t *hw) 7033 { 7034 return hw->ana_reg17.v; 7035 } 7036 7037 static inline void sys_ll_set_ana_reg17_value(sys_hw_t *hw, uint32_t value) 7038 { 7039 hw->ana_reg17.v = value; 7040 } 7041 7042 /* REG_0x51:ana_reg17->lmdcin:0x51[7:0],l-cnannel offset cancel dac maumual input.,0,R/W*/ 7043 static inline uint32_t sys_ll_get_ana_reg17_lmdcin(sys_hw_t *hw) 7044 { 7045 return hw->ana_reg17.lmdcin; 7046 } 7047 7048 static inline void sys_ll_set_ana_reg17_lmdcin(sys_hw_t *hw, uint32_t value) 7049 { 7050 hw->ana_reg17.lmdcin = value; 7051 } 7052 7053 /* REG_0x51:ana_reg17->rmdcin:0x51[15:8],r-channel offset cancel dac manmual input ,0,R/W*/ 7054 static inline uint32_t sys_ll_get_ana_reg17_rmdcin(sys_hw_t *hw) 7055 { 7056 return hw->ana_reg17.rmdcin; 7057 } 7058 7059 static inline void sys_ll_set_ana_reg17_rmdcin(sys_hw_t *hw, uint32_t value) 7060 { 7061 hw->ana_reg17.rmdcin = value; 7062 } 7063 7064 /* REG_0x51:ana_reg17->spirst_ovc:0x51[16],ovc rst,0,R/W*/ 7065 static inline uint32_t sys_ll_get_ana_reg17_spirst_ovc(sys_hw_t *hw) 7066 { 7067 return hw->ana_reg17.spirst_ovc; 7068 } 7069 7070 static inline void sys_ll_set_ana_reg17_spirst_ovc(sys_hw_t *hw, uint32_t value) 7071 { 7072 hw->ana_reg17.spirst_ovc = value; 7073 } 7074 7075 /* REG_0x51:ana_reg17->hc2s0v9:0x51[20],0=current is half,0,R/W*/ 7076 static inline uint32_t sys_ll_get_ana_reg17_hc2s0v9(sys_hw_t *hw) 7077 { 7078 return hw->ana_reg17.hc2s0v9; 7079 } 7080 7081 static inline void sys_ll_set_ana_reg17_hc2s0v9(sys_hw_t *hw, uint32_t value) 7082 { 7083 hw->ana_reg17.hc2s0v9 = value; 7084 } 7085 7086 /* REG_0x51:ana_reg17->lvcmsel:0x51[21],low vcm sel,0,R/W*/ 7087 static inline uint32_t sys_ll_get_ana_reg17_lvcmsel(sys_hw_t *hw) 7088 { 7089 return hw->ana_reg17.lvcmsel; 7090 } 7091 7092 static inline void sys_ll_set_ana_reg17_lvcmsel(sys_hw_t *hw, uint32_t value) 7093 { 7094 hw->ana_reg17.lvcmsel = value; 7095 } 7096 7097 /* REG_0x51:ana_reg17->loop2sel:0x51[22],2rd loop sel,0,R/W*/ 7098 static inline uint32_t sys_ll_get_ana_reg17_loop2sel(sys_hw_t *hw) 7099 { 7100 return hw->ana_reg17.loop2sel; 7101 } 7102 7103 static inline void sys_ll_set_ana_reg17_loop2sel(sys_hw_t *hw, uint32_t value) 7104 { 7105 hw->ana_reg17.loop2sel = value; 7106 } 7107 7108 /* REG_0x51:ana_reg17->enbias:0x51[23],dac bias enable,0,R/W*/ 7109 static inline uint32_t sys_ll_get_ana_reg17_enbias(sys_hw_t *hw) 7110 { 7111 return hw->ana_reg17.enbias; 7112 } 7113 7114 static inline void sys_ll_set_ana_reg17_enbias(sys_hw_t *hw, uint32_t value) 7115 { 7116 hw->ana_reg17.enbias = value; 7117 } 7118 7119 /* REG_0x51:ana_reg17->calck_sel0v9:0x51[24],offset calibration clock selection. "1" high clock.,0,R/W*/ 7120 static inline uint32_t sys_ll_get_ana_reg17_calck_sel0v9(sys_hw_t *hw) 7121 { 7122 return hw->ana_reg17.calck_sel0v9; 7123 } 7124 7125 static inline void sys_ll_set_ana_reg17_calck_sel0v9(sys_hw_t *hw, uint32_t value) 7126 { 7127 hw->ana_reg17.calck_sel0v9 = value; 7128 } 7129 7130 /* REG_0x51:ana_reg17->bpdwa0v9:0x51[25],bypss audio dac dwa. "1" bypass.,0,R/W*/ 7131 static inline uint32_t sys_ll_get_ana_reg17_bpdwa0v9(sys_hw_t *hw) 7132 { 7133 return hw->ana_reg17.bpdwa0v9; 7134 } 7135 7136 static inline void sys_ll_set_ana_reg17_bpdwa0v9(sys_hw_t *hw, uint32_t value) 7137 { 7138 hw->ana_reg17.bpdwa0v9 = value; 7139 } 7140 7141 /* REG_0x51:ana_reg17->looprst0v9:0x51[26],audio dac integrator capacitor reset. "1" reset.,0,R/W*/ 7142 static inline uint32_t sys_ll_get_ana_reg17_looprst0v9(sys_hw_t *hw) 7143 { 7144 return hw->ana_reg17.looprst0v9; 7145 } 7146 7147 static inline void sys_ll_set_ana_reg17_looprst0v9(sys_hw_t *hw, uint32_t value) 7148 { 7149 hw->ana_reg17.looprst0v9 = value; 7150 } 7151 7152 /* REG_0x51:ana_reg17->oct0v9:0x51[28:27],over current delay time setting."11" maximum time. "00" minimum current.,0,R/W*/ 7153 static inline uint32_t sys_ll_get_ana_reg17_oct0v9(sys_hw_t *hw) 7154 { 7155 return hw->ana_reg17.oct0v9; 7156 } 7157 7158 static inline void sys_ll_set_ana_reg17_oct0v9(sys_hw_t *hw, uint32_t value) 7159 { 7160 hw->ana_reg17.oct0v9 = value; 7161 } 7162 7163 /* REG_0x51:ana_reg17->sout0v9:0x51[29],short output with 600ohm resistor. "1" short output.,0,R/W*/ 7164 static inline uint32_t sys_ll_get_ana_reg17_sout0v9(sys_hw_t *hw) 7165 { 7166 return hw->ana_reg17.sout0v9; 7167 } 7168 7169 static inline void sys_ll_set_ana_reg17_sout0v9(sys_hw_t *hw, uint32_t value) 7170 { 7171 hw->ana_reg17.sout0v9 = value; 7172 } 7173 7174 /* REG_0x51:ana_reg17->hc0v9:0x51[31:30],dac current trimming, 00=minimum current, 11=maximum current,0,R/W*/ 7175 static inline uint32_t sys_ll_get_ana_reg17_hc0v9(sys_hw_t *hw) 7176 { 7177 return hw->ana_reg17.hc0v9; 7178 } 7179 7180 static inline void sys_ll_set_ana_reg17_hc0v9(sys_hw_t *hw, uint32_t value) 7181 { 7182 hw->ana_reg17.hc0v9 = value; 7183 } 7184 7185 /* REG_0x52 */ 7186 7187 static inline void sys_ll_set_ana_reg18_value(sys_hw_t *hw, uint32_t value) 7188 { 7189 hw->ana_reg18.v = value; 7190 } 7191 7192 /* REG_0x52:ana_reg18->ictrl_dsppll:0x52[3:0],26M PLL setting,7,W*/ 7193 static inline void sys_ll_set_ana_reg18_ictrl_dsppll(sys_hw_t *hw, uint32_t value) 7194 { 7195 hw->ana_reg18.ictrl_dsppll = value; 7196 } 7197 7198 /* REG_0x52:ana_reg18->FBdivN:0x52[13:4],26M PLL setting,0B6,W*/ 7199 static inline void sys_ll_set_ana_reg18_fbdivn(sys_hw_t *hw, uint32_t value) 7200 { 7201 hw->ana_reg18.fbdivn = value; 7202 } 7203 7204 /* REG_0x52:ana_reg18->N_mcudsp:0x52[18:14],26M PLL setting,0E,W*/ 7205 static inline void sys_ll_set_ana_reg18_n_mcudsp(sys_hw_t *hw, uint32_t value) 7206 { 7207 hw->ana_reg18.n_mcudsp = value; 7208 } 7209 7210 /* REG_0x52:ana_reg18->mode:0x52[19],26M PLL setting,1,W*/ 7211 static inline void sys_ll_set_ana_reg18_mode(sys_hw_t *hw, uint32_t value) 7212 { 7213 hw->ana_reg18.mode = value; 7214 } 7215 7216 /* REG_0x52:ana_reg18->iamsel:0x52[20],26M PLL setting,0,W*/ 7217 static inline void sys_ll_set_ana_reg18_iamsel(sys_hw_t *hw, uint32_t value) 7218 { 7219 hw->ana_reg18.iamsel = value; 7220 } 7221 7222 /* REG_0x52:ana_reg18->hvref:0x52[22:21],26M PLL setting,0,W*/ 7223 static inline void sys_ll_set_ana_reg18_hvref(sys_hw_t *hw, uint32_t value) 7224 { 7225 hw->ana_reg18.hvref = value; 7226 } 7227 7228 /* REG_0x52:ana_reg18->lvref:0x52[24:23],26M PLL setting,0,W*/ 7229 static inline void sys_ll_set_ana_reg18_lvref(sys_hw_t *hw, uint32_t value) 7230 { 7231 hw->ana_reg18.lvref = value; 7232 } 7233 7234 /* REG_0x53 */ 7235 7236 static inline void sys_ll_set_ana_reg19_value(sys_hw_t *hw, uint32_t value) 7237 { 7238 hw->ana_reg19.v = value; 7239 } 7240 7241 /* REG_0x53:ana_reg19->amsel:0x53[0],26M PLL setting,0,W*/ 7242 static inline void sys_ll_set_ana_reg19_amsel(sys_hw_t *hw, uint32_t value) 7243 { 7244 hw->ana_reg19.amsel = value; 7245 } 7246 7247 /* REG_0x53:ana_reg19->msw:0x53[9:1],26M PLL setting,101,W*/ 7248 static inline void sys_ll_set_ana_reg19_msw(sys_hw_t *hw, uint32_t value) 7249 { 7250 hw->ana_reg19.msw = value; 7251 } 7252 7253 /* REG_0x53:ana_reg19->tstcken_dpll:0x53[10],26M PLL setting,0,W*/ 7254 static inline void sys_ll_set_ana_reg19_tstcken_dpll(sys_hw_t *hw, uint32_t value) 7255 { 7256 hw->ana_reg19.tstcken_dpll = value; 7257 } 7258 7259 /* REG_0x53:ana_reg19->osccal_trig:0x53[11],26M PLL setting,1,W*/ 7260 static inline void sys_ll_set_ana_reg19_osccal_trig(sys_hw_t *hw, uint32_t value) 7261 { 7262 hw->ana_reg19.osccal_trig = value; 7263 } 7264 7265 /* REG_0x53:ana_reg19->cnti:0x53[20:12],26M PLL setting,100,W*/ 7266 static inline void sys_ll_set_ana_reg19_cnti(sys_hw_t *hw, uint32_t value) 7267 { 7268 hw->ana_reg19.cnti = value; 7269 } 7270 7271 /* REG_0x53:ana_reg19->spi_rst:0x53[22],26M PLL setting,0,W*/ 7272 static inline void sys_ll_set_ana_reg19_spi_rst(sys_hw_t *hw, uint32_t value) 7273 { 7274 hw->ana_reg19.spi_rst = value; 7275 } 7276 7277 /* REG_0x53:ana_reg19->closeloop_en:0x53[23],26M PLL setting,1,W*/ 7278 static inline void sys_ll_set_ana_reg19_closeloop_en(sys_hw_t *hw, uint32_t value) 7279 { 7280 hw->ana_reg19.closeloop_en = value; 7281 } 7282 7283 /* REG_0x53:ana_reg19->caltime:0x53[24],26M PLL setting,1,W*/ 7284 static inline void sys_ll_set_ana_reg19_caltime(sys_hw_t *hw, uint32_t value) 7285 { 7286 hw->ana_reg19.caltime = value; 7287 } 7288 7289 /* REG_0x53:ana_reg19->LPFRz:0x53[26:25],26M PLL setting,2,W*/ 7290 static inline void sys_ll_set_ana_reg19_lpfrz(sys_hw_t *hw, uint32_t value) 7291 { 7292 hw->ana_reg19.lpfrz = value; 7293 } 7294 7295 /* REG_0x53:ana_reg19->ICP:0x53[30:27],26M PLL setting,8,W*/ 7296 static inline void sys_ll_set_ana_reg19_icp(sys_hw_t *hw, uint32_t value) 7297 { 7298 hw->ana_reg19.icp = value; 7299 } 7300 7301 /* REG_0x53:ana_reg19->CP2ctrl:0x53[31],26M PLL setting,0,W*/ 7302 static inline void sys_ll_set_ana_reg19_cp2ctrl(sys_hw_t *hw, uint32_t value) 7303 { 7304 hw->ana_reg19.cp2ctrl = value; 7305 } 7306 7307 #endif 7308 7309 #ifdef __cplusplus 7310 } 7311 #endif 7312