Panasonic MN103S manual Chapter overview

Page 10

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

Image 10
Contents MN103S927/92A/F92G LSI Application Notes Excerption Page Page About This Manual Format used for sample program explanations About This Manual3 Page Table of Contents Microcomputer Basics Chapter overview Appendix Table of Contents Overview Counting rising edges using the event countHardware allocation list Timer 1 Base Register TM1BR 0x0000A149 Timer 1 Mode Register TM1MD 0x0000A141 Timer 1 Binary Counter TM1BC 0x0000A151Port 3 I/O Control Register P3DIR 0x0000A023 Port 3 Output Mode Register P3MD 0x0000A033 Flowchart ENDEnable the interrupt Example programCpum Inquiries URL http//panasonic.co.jp/semicon/e-micom/inquirySales Offices