Table Of Contents; Contents - Philips AN10369 Application Note

Uart/spi/i2c code examples
Table of Contents

Advertisement

Philips Semiconductors

6. Contents

1.
Introduction .........................................................3
2.
UART0 ..................................................................3
2.1
Calculating Baud rate..........................................3
2.2
C Code................................................................4
2.3
Terminal Program settings ..................................5
2.4
Output .................................................................5
3.
SPI ........................................................................6
3.1
Speed Calculation...............................................6
3.2
C Code................................................................6
3.3
Output .................................................................7
2
4.
I
C .........................................................................8
4.1
Calculation of Bit frequency ................................8
4.2
Setting of the slave address................................9
4.3
4.4
Code ...................................................................9
4.4.1
Interrupt Vector table ........................................10
4.4.2
C code ..............................................................11
4.4.3
4.5
Output waveforms.............................................14
5.
Disclaimers ........................................................16
6.
Contents.............................................................17
2
C states)............9
2
C code: ................................14
Philips ARM LPC microcontroller family
© Koninklijke Philips Electronics N.V. 2005
All rights are reserved. Reproduction in whole or in part is prohibited without the prior
written consent of the copyright owner. The information presented in this document does
not form part of any quotation or contract, is believed to be accurate and reliable and may
be changed without notice. No liability will be accepted by the publisher for any
consequence of its use. Publication thereof does not convey nor imply any license under
patent- or other industrial or intellectual property rights.
Published in The Netherlands
AN10369
Date of release: 06 April 2005

Advertisement

Table of Contents
loading

Table of Contents