ESPHome  2024.12.2
Data Fields
esphome::ds1307::DS1307Component::DS1307Reg Union Reference

#include <ds1307.h>

Data Fields

struct {
   uint8_t   second: 4
 
   uint8_t   second_10: 3
 
   bool   ch: 1
 
   uint8_t   minute: 4
 
   uint8_t   minute_10: 3
 
   uint8_t   unused_1: 1
 
   uint8_t   hour: 4
 
   uint8_t   hour_10: 2
 
   uint8_t   unused_2: 2
 
   uint8_t   weekday: 3
 
   uint8_t   unused_3: 5
 
   uint8_t   day: 4
 
   uint8_t   day_10: 2
 
   uint8_t   unused_4: 2
 
   uint8_t   month: 4
 
   uint8_t   month_10: 1
 
   uint8_t   unused_5: 3
 
   uint8_t   year: 4
 
   uint8_t   year_10: 4
 
   uint8_t   rs: 2
 
   uint8_t   unused_6: 2
 
   bool   sqwe: 1
 
   uint8_t   unused_7: 2
 
   bool   out: 1
 
reg
 
uint8_t raw [sizeof(reg)]
 

Detailed Description

Definition at line 22 of file ds1307.h.

Field Documentation

◆ ch

bool esphome::ds1307::DS1307Component::DS1307Reg::ch

Definition at line 26 of file ds1307.h.

◆ day

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::day

Definition at line 39 of file ds1307.h.

◆ day_10

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::day_10

Definition at line 40 of file ds1307.h.

◆ hour

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::hour

Definition at line 32 of file ds1307.h.

◆ hour_10

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::hour_10

Definition at line 33 of file ds1307.h.

◆ minute

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::minute

Definition at line 28 of file ds1307.h.

◆ minute_10

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::minute_10

Definition at line 29 of file ds1307.h.

◆ month

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::month

Definition at line 43 of file ds1307.h.

◆ month_10

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::month_10

Definition at line 44 of file ds1307.h.

◆ out

bool esphome::ds1307::DS1307Component::DS1307Reg::out

Definition at line 54 of file ds1307.h.

◆ raw

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::raw[sizeof(reg)]
mutable

Definition at line 56 of file ds1307.h.

◆ reg

struct { ... } esphome::ds1307::DS1307Component::DS1307Reg::reg

◆ rs

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::rs

Definition at line 50 of file ds1307.h.

◆ second

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::second

Definition at line 24 of file ds1307.h.

◆ second_10

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::second_10

Definition at line 25 of file ds1307.h.

◆ sqwe

bool esphome::ds1307::DS1307Component::DS1307Reg::sqwe

Definition at line 52 of file ds1307.h.

◆ unused_1

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::unused_1

Definition at line 30 of file ds1307.h.

◆ unused_2

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::unused_2

Definition at line 34 of file ds1307.h.

◆ unused_3

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::unused_3

Definition at line 37 of file ds1307.h.

◆ unused_4

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::unused_4

Definition at line 41 of file ds1307.h.

◆ unused_5

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::unused_5

Definition at line 45 of file ds1307.h.

◆ unused_6

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::unused_6

Definition at line 51 of file ds1307.h.

◆ unused_7

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::unused_7

Definition at line 53 of file ds1307.h.

◆ weekday

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::weekday

Definition at line 36 of file ds1307.h.

◆ year

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::year

Definition at line 47 of file ds1307.h.

◆ year_10

uint8_t esphome::ds1307::DS1307Component::DS1307Reg::year_10

Definition at line 48 of file ds1307.h.


The documentation for this union was generated from the following file: