3.6.1

Counting rising edges using the event count

37

3.6.2

Setting timer output pin

44

3.6.3

50 kHz signal output using the timer output

47

3.6.4Interrupt generation every 100 milli seconds using the cascade connection of

timer 0 and timer 1

52

3.6.5Interrupt generation every 60 seconds using the cascade connection of timer 0,

 

timer 1, timer 2 and timer 3

59

3.7

16-bit timer operation

68

3.7.1

Counting rising edges using the event count

75

3.7.2

Setting timer output pin

79

3.7.3

50 Hz signal output using the timer output

81

3.7.4

1/4 duty waveform output using the timer output

85

3.7.5

Pulse width measurement using the timer capture function

89

3.7.6

Up/down counting selection with TM8AIO (external trigger)

93

3.7.7

Counting operation with 4-fold 2-phase encoding

97

3.7.8

Count disable with TM8AIO (external trigger)

103

3.7.9

Timer 1-shot operation

107

3.7.10

Timer activation with TM8AIO (external trigger)

111

3.8

Synchronous serial interface operation

115

3.8.1

Setting serial transmission pin

115

3.8.2

Setting serial reception pin

122

3.8.3

Transmitting data with no start condition

128

3.8.4

Transmitting and receiving data with no start condition

137

3.8.5

Receiving data with no start condition

146

3.9

A/D conversion function

154

3.9.1

Setting analog input pin

154

3.9.2

A/D conversion of single channel

157

3.9.3

A/D conversion of multiple channels

163

3.9.4

A/D conversion of multiple channels using control register B

171

3.10

Motor control

181

3.10.1

Setting motor control PWM output pin

187

3.10.2

Saw-tooth wave mode output

189

3.10.3

Deadtime insertion

193

3.11

Notes for on-board writing to flash memory

197

3.11.1

On-board writing using PX-FW2

198

Chapter 4 Microcomputer Basics 2

 

4.1

Chapter overview

2

Table of Contents 3

Page 10
Image 10
Panasonic MN103S manual Chapter overview