Functions
Functions
Graphics » HAL DC » GDC HAL
Collaboration diagram for Functions:

## Functions
int32_t | hal_gdc_sys_init (void)
| Initialize system. More...
void | hal_gdc_wait_vsync (void)
| Wait for VSYNC. More...
uint32_t | hal_gdc_reg_read (uint32_t reg)
| Read Hardware register. More...
void | hal_gdc_reg_write (uint32_t reg, uint32_t value)
| Write Hardware Register. More...

## Detailed Description

## Function Documentation

## ◆ hal_gdc_reg_read()

uint32_t hal_gdc_reg_read | ( | uint32_t | reg | ) |

Read Hardware register.

Parameters

  [in] | reg | Register to read

Returns
  Value read from the register

## ◆ hal_gdc_reg_write()

void hal_gdc_reg_write | ( | uint32_t | reg,
|  | uint32_t | value
| ) |  |

Write Hardware Register.

Parameters

  [in] | reg | Register to write
  [in] | value | value to write

## ◆ hal_gdc_sys_init()

int32_t hal_gdc_sys_init | ( | void |  | ) |

Initialize system.

Implementor defined. Called in hal_gdc_init().

Returns
  0 if no errors occurred

## ◆ hal_gdc_wait_vsync()

void hal_gdc_wait_vsync | ( | void |  | ) |

Wait for VSYNC.