XCORE SDK
XCORE Software Development Kit
setup_impl.h
1 // Copyright 2022 XMOS LIMITED.
2 // This Software is subject to the terms of the XMOS Public Licence: Version 1.
3 
4 #pragma once
5 
6 static inline
7 unsigned mic_array_mclk_divider(
8  const unsigned master_clock_freq,
9  const unsigned pdm_clock_freq)
10 {
11  return master_clock_freq / pdm_clock_freq;
12 }