upd78f0103hmca1-5a4-a Renesas Electronics Corporation., upd78f0103hmca1-5a4-a Datasheet - Page 146

no-image

upd78f0103hmca1-5a4-a

Manufacturer Part Number
upd78f0103hmca1-5a4-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(3) Port mode register 1 (PM1)
146
Cautions 1. The settings of LVS50 and LVR50 are valid in other than PWM mode.
Remarks 1. In PWM mode, PWM output is made inactive by setting TCE50 to 0.
This register sets port 1 input/output in 1-bit units.
When using the P17/TO50/TI50/FLMD1 pin for timer output, set PM17 and the output latches of P17 to 0.
Set PM17 to 1 when using the P17/TO50/TI50/FLMD1 pin as a timer input pin. The output latch of P17 at this
time may be 0 or 1.
PM1 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to FFH.
Address: FF21H
Symbol
PM1
2. If LVS50 and LVR50 are read, 0 is read.
3. The values of the TMC506, LVS50, LVR50, TMC501, and TOE50 bits are reflected at the TO50 pin
2. Do not make settings <1> to <4> below simultaneously.
3. Stop operation before rewriting TMC506.
regardless of the value of TCE50.
procedure shown below.
<1> Setting of TMC501 and TMC506:
<2> Setting of TOE50 if enabling output:
<3> Setting of LVS50 and LVR50 (see Caution 1): Setting of timer output F/F
<4> Setting of TCE50
PM17
PM1n
7
0
1
After reset: FFH
Output mode (output buffer on)
Input mode (output buffer off)
PM16
6
Figure 7-6. Format of Port Mode Register 1 (PM1)
CHAPTER 7 8-BIT TIMER/EVENT COUNTER 50
PM15
5
R/W
P1n pin I/O mode selection (n = 0 to 7)
User’s Manual U16846EJ3V0UD
PM14
4
PM13
3
PM12
Setting of operation mode
Enabling timer output
2
PM11
1
In addition, follow the setting
PM10
0

Related parts for upd78f0103hmca1-5a4-a