Month 4bits
()
| 9 | |
| 10 | // Month 4bits |
| 11 | func (t *Timer) Month() (mon time.Month) { |
| 12 | mon = time.Month((t.En1Month4Day5Week3Hour5Min6 & 0x780000) >> 19) |
| 13 | if mon == 0b1111 { |
| 14 | mon = -1 |
| 15 | } |
| 16 | return |
| 17 | } |
| 18 | |
| 19 | // Day 5bits |
| 20 | func (t *Timer) Day() (d int) { |
no outgoing calls
no test coverage detected