BGPR driver APIs.
More...
BGPR driver APIs.
◆ bgpr_read32()
#include <drivers/inc/hpm_bgpr_drv.h>
read BGPR value
- Note
- the bgpr_index range is 0 ~ (GPR count of BGPR - 1)
- Parameters
-
| ptr | BGPR base address |
| bgpr_index | BGPR GPR index |
| bgpr_val | the BGPR GPR value pointer |
- Returns
- hpm_stat_t status_success if read bgpr without any error
◆ bgpr_write32()
#include <drivers/inc/hpm_bgpr_drv.h>
write BGPR value
- Note
- the bgpr_index range is 0 ~ (GPR count of BGPR - 1)
- Parameters
-
| ptr | BGPR base address |
| bgpr_index | BGPR GPR index |
| bgpr_val | the BGPR GPR value |
- Returns
- hpm_stat_t status_success if write bgpr without any error