JN517x Integrated Peripherals API
User Guide
JN-UG-3118 v1.2 © NXP Laboratories UK 2016 15
Preface
This manual describes the use of the JN517x Integrated Peripherals Application
Programming Interface (API) to interact with the peripherals on a wireless
microcontroller from the NXP JN517x family. The manual explains the basic operation
of each peripheral and indicates how to use the relevant API functions to control the
peripheral from the application which runs on the JN517x device. The C functions and
associated resources of the API are fully detailed.
Organisation
This manual is divided into three parts:
ï‚¡ Part I: Concept and Operational Information comprises 17 chapters:
ï‚ Chapter 1 presents a functional overview of the JN517x Integrated
Peripherals API.
ï‚ Chapter 2 describes use of the General functions of the API, including
the API initialisation function.
ï‚ Chapter 3 describes use of the System Controller functions, including
functions that configure the system clock and sleep operations.
ï‚ Chapter 4 describes use of the Analogue Peripheral functions, used to
control the ADC and comparator.
ï‚ Chapter 5 describes use of the DIO functions, used to control the
general-purpose digital input/output pins.
ï‚ Chapter 6 describes use of the UART functions, used to control the
16550-compatible UARTs.
ï‚ Chapter 7 describes use of the Timer functions, used to control the
general-purpose timers.
ï‚ Chapter 8 describes use of the Wake Timer functions, used to control the
wake timers that can be employed to time sleep periods.
ï‚ Chapter 9 describes use of the Tick Timer functions, used to control the
high-precision hardware timer.
ï‚ Chapter 10 describes use of the Watchdog Timer functions, used to
control the watchdog that allows software lock-ups to be avoided.
ï‚ Chapter 11 describes use of the Pulse Counter functions, used to
control the two pulse counters.
ï‚ Chapter 12 describes use of the Infra-Red Transmitter functions, used
to control the infra-red transmission feature of Timer 2.
ï‚ Chapter 13 describes use of the I
2
C Interface functions, used to control a
2-wire I
2
C master and I
2
C slave.
ï‚ Chapter 14 describes use of the Serial Peripheral Interface (SPI) Master
functions, used to control the master interface to the SPI bus.