cancel
Showing results for 
Search instead for 
Did you mean: 

Can anyone document APBPrescTable ?

RWhit
Associate

In the standard peripheral library, the array APBPrescTable is used to configure the clock prescaler values.

Can anyone explain what these 16 values mean? How do they correspond with the prescalers described in the chip manual ("AHB Prescaler" etc.)?

2 REPLIES 2

Which SPL? I searched through the 'F0 and the 'F4 ones, and did find no APBPrescTable.

JW

It is in stm32f4xx_rcc.c:
static __I uint8_t APBAHBPrescTable[16] = {0, 0, 0, 0, 1, 2, 3, 4, 1, 2, 3, 4, 6, 7, 8, 9};