## Analog Control System Function Documentation

### Sys_ACS_WriteRegister

void Sys_ACS_WriteRegister(volatile uint32_t * p_register, uint32_t value)

Safely write an ACS register, without corrupting the RTC counts.

Location: acs.h:80

Parameters

Direction | Name | Description
--- | --- | ---
in | p_register | Address of the register to write.
in | value | Value to be written to the register.

Example Code for Sys_ACS_WriteRegister
// Disable the buck converter Sys_ACS_WriteRegister(&ACS->VCC_CTRL, ((ACS->VCC_CTRL & ~VCC_BUCK) | VCC_LDO));