Maxim-integrated MAXQ Family Users Guide: MAXQ8913 Supplement Manual de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
MAXQ Family Users Guide:
MAXQ8913 Supplement
4-5
4.1.5 System Clock Control Register (CKCN, M8[0Eh])
The CKCN register bit settings determine the system clock source and clock divider as described in Table 4-4.
Bit 7: Reserved
Bit 6: Ring Oscillator Select (RGSL)
0 = Selects the high-frequency clock source (external crystal/resonator or external clock input) as the system clock source.
1 = Selects the ring oscillator as the system clock source.
Bit 5: Ring Oscillator Mode (RGMD). This read-only status bit indicates the clock source that is currently being used.
0 = The high-frequency clock (external crystal or external clock input) is currently being used as the system clock
source, because the ring oscillator is not selected (RGSL = 0).
1 = The ring oscillator is currently being used as the system clock source. This is either because it is selected as the
clock source (RGSL = 1), or because the high-frequency clock source is in the process of warming up.
Bit 4: Stop-Mode Select (STOP). Setting this bit to 1 causes the processor to enter stop mode. This does not change
the currently selected clock-divide ratio.
Bit 3: Switchback Enable (SWB). Setting this bit to 1 enables switchback mode. If power-management mode (divide
by 256) is active and switchback is enabled, the PMME bit is cleared to 0 when any of the following conditions occur.
An external interrupt is generated based on an edge detect.
The serial port is enabled to receive data and detects a low condition on its data receive pin.
The serial port has a byte written to its buffer register by software.
The SPI interface is enabled in master mode, and the SPIB register is written by software.
The SPI interface is enabled is slave mode, and an external master drives the SSEL line low.
A START condition occurs on the I
2
C bus, causing an I
2
C START interrupt to be generated.
The power supply drops below the SVM threshold, causing an SVM interrupt to be generated.
An ADC conversion is initiated by software by setting the ADCONV bit to 1.
Debug mode is entered through command entry or a breakpoint match.
Triggering a switchback condition only clears the PMME bit; the settings of CD0 and CD1 remain the same. When
power-management mode is active, the SWB bit cannot be set to 1 as long as any of the above conditions are true.
Bit 2: Power-Management Mode Enable (PMME)
Bits 1:0: Clock Divide 1:0 (CD[1:0]). These three bits control the divide ratio or enable power-management mode for
the system clock as shown in Table 4-4. CD0 and CD1 can always be read, and they can be written as long as PMME
= 0.
Setting the PMME bit to 1 activates PMM mode. While PMME is set to 1, CD0 and CD1 cannot be changed; their values
determine the clock-divide ratio that is used when the processor exits power-management mode.
*Unrestricted read access. This bit can only be modified when PMME = 0.
Bit #
7 6 5 4 3 2 1 0
Name RGSL RGMD STOP SWB PMME CD1 CD0
Reset 1 0 0 0 0 0 0 0
Access r rw r rw rw rw rw* rw*
Maxim Integrated
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 113 114

Comentarios a estos manuales

Sin comentarios