Function system_apb_clock_clear_mask()

Clear bits in the clock mask for an APBx bus.

enum status_code system_apb_clock_clear_mask(
		const enum system_clock_apb_bus bus,
		const uint32_t mask)

This function will clear bits in the clock mask for an APBx bus. Any bits set to 1 will disable the corresponding module clock, zero bits in the mask will be ignored.

Table 1. Parameters
Data direction Parameter name Description



APBx clock mask, a SYSTEM_CLOCK_APB_APBx constant from the device header files



Bus to clear clock mask bits


Status indicating the result of the clock mask change operation.

Table 2. Return Values
Return value Description


Invalid bus ID was given.


The clock mask was changed successfully.