Rainbow-electronics ATtiny43U Manual de usuario Pagina 47

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 182
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 46
47
8048B–AVR–03/09
boost converter, connect pins V
BAT
and LSW to ground and provide the device with supply
directly to the V
CC
pin.
8.11 Register Description
8.11.1 ADCSRB – ADC Control and Status Register B
Bit 7 – BS: Boost Status
The BS bit can be used to identify silent periods of the boost converter. When this bit is one the
boost converter is active and switching, i.e. it is either in Active Regulated Mode, or in the switch-
ing period of Active Low Current Mode. When this bit is zero the boost converter is not switching,
i.e. it is either in Stop Mode or in the non-switching period of Active Low Current Mode.
Alternatively, the BS bit can be programmed to return the state of the duty cycle controller, as
follows:
1. Write 11xx xxxx to register PRR
2. Within 3 clock cycles of the above, write 10xx xxxx to register PRR
3. Wait (issue a single-cycle no operation)
4. Within 5 clock cycles of first write, read the BS bit
If the BS bit now is zero the converter is operating in normal duty cycle control mode. If the bit is
one the converter is working in full duty cycle mode.
Bit 7 6543210
0x03 (0x23) BS
ACME ADLAR ADTS2 ADTS1 ADTS0 ADCSRB
Read/Write R R/W R/W R/W R/W R/W R/W R/W
Initial Value 00000000
Vista de pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 181 182

Comentarios a estos manuales

Sin comentarios