EasyManua.ls Logo

Cmsemicon CMS32L051 - 15.2 Registers for controlling the IrDA

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 15 IrDA
www.mcu.com.cn 569 / 703
15.2 Registers for controlling the IrDA
Control the IrDA function through the following registers.
 Peripheral enable register 0 (PER0).
IrDA control register (IRCR).
15.2.1 Peripheral enable register 0 (PER0)
The PER0 register is a register that sets the clock to be enable or disable to be supplied to each
peripheral hardware. Reduce power consumption and noise by stopping clocking unused hardware.
To use IrDA, you must set bit6 (IRDAEN) to 1.
The PER0 register is set via an 8-bit memory operation command.
After the reset signal is generated, the value of this register becomes 00H.
Figure 15-2 Peripheral enable register 0 (PER0)
Address: 40020 420H After reset: 00HR/W
symbol
PER0
IRDAEN
Control of the input clock of the IrDA
0
Stop supplying the input clock.
You cannot write SFR
used by
IrDA.

IrDA
is in a reset state.
1
An input clock is provided.
SFR used by IrDA can be read and written.
Note 1 When setting the IrDA, the IRDAEN bit must be set to "1" first. When the IRDAEN bit is "0", the write operation of
the IrDA control register is ignored, and the read value is all initial.
7
6
5
4
3
2
2
1
0
RTCEN
IRDAANDN
ADCIN
IICAEN
SCI1IN
SCI0EN
TM41EN
TM40EN

Table of Contents

Related product manuals