1.1.5.4.4 DRV_I2S_ClockGenerationSet Function

bool DRV_I2S_ClockGenerationSet(DRV_HANDLE handle, uint8_t div, uint8_t mul, uint8_t div2);

Summary

Set the clock(PLLA and I2SC GCLK clock) generation values

Description

Set the clock(PLLA and I2SC GCLK clock) generation values

Preconditions

None.

Returns

True - if the function was successful

False - if a timeout occurred (no transitions seen)

Remarks

None.

Example

_// myI2SHandle is the handle returned_ _// by the DRV_I2S_Open function._

DRV_I2S_ClockGenerationSet(myI2SHandle, 2, 40, 5);

C

bool DRV_I2S_ClockGenerationSet(DRV_HANDLE handle, uint8_t div, uint8_t mul, uint8_t div2);