AT32UC3L064_1 ATMEL [ATMEL Corporation], AT32UC3L064_1 Datasheet - Page 336

no-image

AT32UC3L064_1

Manufacturer Part Number
AT32UC3L064_1
Description
AVR32 32-bit Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
19.6.2
19.6.2.1
19.6.2.2
19.6.2.3
32099A–AVR32–06/09
Advanced Operation
Peripheral I/O Pin Control
Pull-up Resistor, Pull-down Resistor and Buskeeper Control
Output Pin Timings
When a GPIO pin is assigned to a peripheral function, i.e. the corresponding bit in GPER is zero,
output and output enable is controlled by the selected peripheral pin. In addition the peripheral
may control some or all of the other GPIO pin functions listed in
ports those features. All pin features not controlled by the selected peripheral is controlled by the
GPIO.
Refer to the Module Configuration section for details regarding implemented GPIO pin functions
and to the Peripheral chapter for details regarding I/O pin function control.
Table 19-1.
Pull-up, pull-down, and buskeeper can be configured for each GPIO pin. Pull-up allows the pin
and any connected net to be pulled up to VDD if the net is not driven. Pull-down pulls the net to
GND, while buskeeper keeps the current logic level if the net becomes undriven.
Pull-up and pull-down are useful for detecting if a pin is unconnected or if a mechanical button is
pressed, for various communication protocols and to keep unconnected pins from floating.
Pull-up can be enabled and disabled by writing a one and a zero respectively to the correspond-
ing bit in the Pull-up Enable Register (PUER). Pull-down can be enabled and disabled by writing
a one and a zero respectively to the corresponding bit in the Pull-down Enable Register (PDER).
To enable the buskeeper for a pin, the corresponding bit in PUER and PDER must be written to
one.
Figure 19-3
The same timing applies when performing a ‘set’ or ‘clear’ access, i.e. writing to OVRS or
OVRC. The timing of PVR is also shown.
Function name
Output
Output enable
Pull-up
Pull-down
Buskeeper
Drive strength
Slew rate
Open drain
Schmitt trigger
shows the timing of the GPIO pin when writing to the Output Value Register (OVR).
I/O Pin function Control
GPIO mode
OVR
ODER
PUER
PDER
PUER&PDER
ODCRn
OSRRn
ODMR
STER
Peripheral mode
Peripheral
Peripheral
Peripheral if supported, else GPIO
Peripheral if supported, else GPIO
Peripheral if supported, else GPIO
Peripheral if supported, else GPIO
Peripheral if supported, else GPIO
Peripheral if supported, else GPIO
Peripheral if supported, else GPIO
Table
19-1, if the peripheral sup-
AT32UC3L
336

Related parts for AT32UC3L064_1