А вот тут у меня встречный вопрос: Железа у меня пока нет, но юзер мануал на LPC21[12][24] я почитал.
И среди замечаных неточностей было и то что в таблице IOPINn описан как ReadOnly а в пояснении написанно:
GPIO USAGE NOTES
If for the specified output pin corresponding bit is set both
in GPIO Output Set Register (IOnSET) and in GPIO Output Clear
Register (IOnCLR), observed pin will output level determined
by the later write access of IOnSET nad IOnCLR. This means that
in case of sequence:
IO0SET = 0x0000 0080
IO0CLR = 0x0000 0080
pin P0.7 will have low output, since access to Clear register
came after access to Set register.
Applications that require instanatneous appearance of zeros and
ones on the respected parallel port can use direct access to
port s corresponding GPIO Pin Value Register (IOPIN). Assuming
that pins P0.8 to P0.15 are configured as output, write to
IO0PIN:
IO0PIN = 0x0000 C700
will produce the same output as following sequence of writes:
IO0SET = 0x0000 C700
IO0CLR = 0x0000 3800
Solution utilizing access to IO0SET and IO0CLR will take more
steps compared to a single IO0PIN write access.
Вот и хочется узнать как на самом деле?
Я скачивал файл UM_LPC2114_2124_2212_2214_2.pdf который является
Preliminary User Manual. А существуют ли частные релизы
документации?