November 2016

S M T W T F S
  1 2345
6789101112
13141516171819
20212223 242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Saturday, January 10th, 2009 10:15 pm
В одном месте:
#define PBSD 4 /* Peripheral bus speed divider (1, 2, or 4) */
В другом месте:
VPBDIV = PBSD;
В третьем месте:
#define VPBDIV (*((volatile unsigned long *) 0xE01FC100))
В документации на чип:
APBDIV - address 0xE01FC100
[skip]
APB Divider register (APBDIV - address 0xE01FC100) bit description
1:0 00 APB bus clock is one fourth of the processor clock.
01 APB bus clock is the same as the processor clock.
10 APB bus clock is one half of the processor clock.

Хакеры, а? Если бы только не продолжение документации:
7:2 Reserved, user software should not write ones to reserved bits.
Tags:
Saturday, January 10th, 2009 09:29 pm (UTC)
Это Встроенные Артисты так выступили? Хацкеры, ясен перец...