
8/103
L9805
1.4 PIN DESCRIPTION
AD2-AD4:
Analog input to ADC.
PA0/OCMP2_1-PA1/OCMP1_1:
I/Os or Output
compares on Timer 1. Alternate function software
selectable (by setting OC2E or OC1E in CR2 reg-
ister: bit 6 or 7 at 0031h). When used as an alter-
nate function, this pin is a push-pull output as re-
quested by Timer 1. Otherwise, this pin is a trig-
gered floating input or a push-pull output.
PA2/ICAP2_1-PA3/ICAP1_1:
I/Os or Input cap-
tures on Timer 1. Before using this I/O as alternate
inputs, they must be configured by software in in-
put mode (DDR=0). In this case, these pins are a
triggered floating input. Otherwise (I/O function),
these pin are triggered floating inputs or push-pull
outputs.
PA4/EXTCLK_1:
PA4 I/O or External Clock on
Timer 1 Before using this I/O as alternate input, it
must be configured by software in input mode
(DDR=0). In this case, this pin is a triggered float-
ing input. Otherwise (I/O function), this pin is a trig-
gered floating input or a push-pull output.
PA5/OCMP2_2-PA6/OCMP1_2:
I/Os or Output
Compares on Timer 2. Alternate function software
selectable (by setting OC2E or OC1E in CR2 reg-
ister: bit 6 or 7 at 0041h). When used as alternate
functions, these pins are push-pull outputs as re-
quested by Timer 2. Otherwise, these pins are trig-
gered floating inputs or push-pull outputs.
PA7/ICAP2_2-PB0/ICAP1_2:
I/Os or Input Cap-
tures on Timer 2 Before using these I/Os as alter-
nate inputs, they must be configured by software
in input mode (DDR=0). In this case, these pins
are triggered floating inputs. Otherwise (I/O func-
tion), these pins are triggered floating inputs or
push-pull outputs.
PB1/EXTCLK_2:
PB1 I/O or External Clock on
Timer 2 Before using this I/O as alternate input, it
must be configured by software in input mode
(DDR=0). In this case, this pin is a triggered float-
ing input. Otherwise (I/O function), this pin is a trig-
gered floating input or a push-pull output.
VPP/TM
: Input. This pin must be held low during
normal operating modes.
VDD
: Output. 5V Power supply for digital circuits,
from internal voltage regulator.
OSCIN:
Input Oscillator pin.
OSCOUT
: Output Oscillator pin.
GND:
Ground for digital circuits.
VBR:
Power supply for Right half-bridge.
OUTR:
Output of Left half-bridge.
PGND:
Ground for power transistor.
OUTL:
Output of Right half-bridge.
VBL:
Power supply for Left half-bridge.
VB1
: Power supply for voltage regulators.
VB2
: Pre-regulated voltage for analog circuits.
CAN_L:
Low side CAN bus output.
CAN_H:
High side CAN bus input.
NRESET:
Bidirectional. This active low signal forc-
es the initialization of the MCU. This event is the
top priority non maskable interrupt. It can be used
to reset external peripherals.
PWMI:
PWM input.Directly connected to Input
Capture 2 on Timer 2.
PWMO:
PWM output. Connected to the output of
PWM2 module.
AGND:
Ground for all analog circuitry (except
power bridge)
.
VCC:
Output.
5V power supply for analog circuits,
from internal voltage regulator.