/* Set the ACC output. 
Where the input parameter  */
void acc_set_output(Acc *p_acc, uint32_t ul_invert, uint32_t ul_fault_enable, uint32_t ul_fault_source)
/* Set the ACC output. 
Where the input parameter  */
void acc_set_output(Acc *p_acc, uint32_t ul_invert, uint32_t ul_fault_enable, uint32_t ul_fault_source)
{
	Assert(p_acc);
	p_acc->ACC_MR &= ~(ACC_MR_INV_EN | ACC_MR_FE_EN | ACC_MR_SELFS_OUTPUT);
	p_acc->ACC_MR |= ul_invert | ul_fault_source | ul_fault_enable;
}