Datasheet
Rev. 3.00, 03/04, page 233 of 830
8.11.3 Port B Input Data Register (PBPIN)
PBPIN indicates the pin states.
Bit Bit Name Initial Value R/W Description
7 PB7PIN Undefined* R
6 PB6PIN Undefined* R
5 PB5PIN Undefined* R
4 PB4PIN Undefined* R
3 PB3PIN Undefined* R
2 PB2PIN Undefined* R
1 PB1PIN Undefined* R
0 PB0PIN Undefined* R
Pin states can be read by performing a read cycle on
this register.
This register is assigned to the same address as that
of P8DDR. When this register is written to, data is
written to P8DDR and the port 8 setting is then
changed.
Note: The initial value of these pins is determined in accordance with the state of pins PB7 to
PB0.
8.11.4 Pin Functions
Port B is a multi-function port that can function as an event counter input pin. The relationship
between the operating mode setup and pin functions is described below.
When this pin is used as the EVENT input pin according to bits ECSB3 to ECSB0 in ECCR of the
data transfer controller settings, clear the PBnDDR bit to 0. (n = 7 to 0 )
• PB7/EVENT15
PB7DDR 0 1
Event counter
*1
Disable Enable
Pin function PB7 input pin EVENT15 input pin PB7 output pin
• PB6/EVENT14
PB6DDR 0 1
Event counter
*1
Disable Enable
Pin function PB6 input pin EVENT14 input pin PB6 output pin










