Cypress CY14B101P Register Map Detail, Interrupt Status/Control 0x06, Alarm Day, Alarm Hours

Page 20

 

 

 

 

 

 

PRELIMINARY

 

 

 

 

CY14B101P

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 10. Register Map Detail (continued)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WatchDog Timer

 

 

 

 

 

 

 

0x07

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D7

 

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WDS

WDW

 

 

 

 

 

 

WDT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WDS

Watchdog Strobe. Setting this bit to 1 reloads and restarts the watchdog timer. Setting the bit to 0 has no effect. The bit

 

is cleared automatically after the watchdog timer is reset. The WDS bit is write only. Reading it always returns a 0.

WDW

Watchdog Write Enable. Setting this bit to 1 disables any WRITE to the watchdog timeout value (D5–D0). This enables

 

the user to set the watchdog strobe bit without disturbing the timeout value. Setting this bit to 0 allows bits D5–D0 to

 

be written to the watchdog register when the next write cycle is complete. This function is explained in more detail in

 

Watchdog Timer on page 15.

 

 

 

 

 

 

 

 

 

 

 

 

WDT

Watchdog timeout selection. The watchdog timer interval is selected by the 6-bit value in this register. It represents a

 

multiplier of the 32 Hz count (31.25 ms). The range of timeout value is 31.25 ms (a setting of 1) to 2 seconds (setting

 

of 3 Fh). Setting the watchdog timer register to 0 disables the timer. These bits can be written only if the WDW bit was

 

set to 0 on a previous cycle.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt Status/Control

 

 

 

 

 

0x06

D7

 

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WIE

 

 

AIE

 

PFE

 

0

 

H/L

 

P/L

 

0

 

0

 

 

 

 

 

 

 

 

 

 

WIE

Watchdog Interrupt Enable. When set to 1 and a watchdog timeout occurs, the watchdog timer drives the INT pin and

 

the WDF flag. When set to 0, the watchdog timeout affects only the WDF flag.

 

 

 

 

 

AIE

Alarm Interrupt Enable. When set to 1, the alarm match drives the INT pin and the AF flag. When set to 0, the alarm

 

match only affects the AF flag.

 

 

 

 

 

 

 

 

 

 

 

 

PFE

Power Fail Enable. When set to 1, the alarm match drives the INT pin and the PF flag. When set to 0, the power fail

 

monitor affects only the PF flag.

 

 

 

 

 

 

 

 

 

 

 

 

0

Reserved for future use

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H/L

HIGH/LOW. When set to 1, the INT pin is driven active HIGH. When set to 0, the INT pin is open drain, active LOW.

 

 

P/L

Pulse/Level. When set to 1, the INT pin is driven active (determined by H/L) by an interrupt source for approximately

 

200 ms. When set to 0, the INT pin is driven to an active level (as set by H/L) until the flags register is read.

 

 

 

 

 

 

 

 

 

 

Alarm - Day

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x05

D7

 

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

 

D0

M

0

 

10s Alarm Date

 

 

 

 

Alarm Date

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contains the

alarm value for

the date of the month and the

mask bit to select or deselect the date value.

 

 

 

 

M

Match. When this bit is set to 0, the date value is used in the alarm match. Setting this bit to 1 causes the match circuit

 

to ignore the date value.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Alarm - Hours

 

 

 

 

 

 

 

0x04

D7

 

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M

 

 

10s Alarm Hours

 

 

 

 

Alarm Hours

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contains the

alarm value for the hours and the mask bit to

select or deselect the hours value.

 

 

 

 

M

Match. When this bit is set to 0, the hours value is used in the alarm match. Setting this bit to 1 causes the match circuit

 

to ignore the hours value.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Alarm - Minutes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x03

D7

 

 

D6

 

D5

 

D4

 

D3

 

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M

 

 

10s Alarm Minutes

 

 

 

 

Alarm Minutes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contains the

alarm value for the minutes and the mask bit to select or deselect the minutes value.

 

 

 

 

M

Match. When this bit is set to 0, the minutes value is used in the alarm match. Setting this bit to 1 causes the match

 

circuit to ignore the minutes value.

 

 

 

 

 

 

 

 

 

 

Document #: 001-44109 Rev. *B

Page 20 of 32

[+] Feedback

Image 20
Contents Features Logic Block DiagramOverview Sram ArrayHold PinoutsPin Definitions Pin Name Type Description Device Operation Sram WriteSram Read Store OperationSerial Peripheral Interface Commonly used terms used in SPI protocol are given below SPI MasterSystem Configuration Using SPI nvSRAM SPI ModesSPI Operating Features SPI Functional DescriptionWrite Status Register Wrsr Instruction Status RegisterRead Status Register Rdsr Instruction Write Enable Wren Instruction Write Disable Wrdi InstructionWrite Protection and Block Protection Block ProtectionMemory Access Read Sequence ReadWrite Sequence Write Wpen WENBurst Mode Read Instruction Timing Read RTC Rdrtc InstructionAutoStore Disable NvSRAM Special InstructionsWrite RTC Wrtc Instruction Software Store StoreAutoStore Disable Asdisb AutoStore Enable AsenbSoftware Recall Recall Hold Pin OperationReal Time Clock Operation Calibrating the Clock AlarmWatchdog Timer Power Monitor Interrupt RegisterInterrupts Flags RegisterAccessing the Real Time Clock through SPI RTC Recommended Component ConfigurationRTC Register Map1 BCD Format Data Function/Range WDF OscfOscen Alarm Day Alarm HoursAlarm Minutes Register Map DetailRegister Map Detail Alarm Seconds Time Keeping CenturiesFlags 0x00 WDF Oscf CALDC Electrical Characteristics Maximum RatingsOperating Range Parameter Description Test Conditions Min Max UnitData Retention and Endurance CapacitanceThermal Resistance AC Test ConditionsAC Switching Characteristics ~ ~ ~ ~ Parameters Description CY14B101P Unit Min Max AutoStore or Power Up RecallSwitching Waveforms CY14B101P To Output Active Time when write latch not set Hardware Store CycleParameter Description Hardware Store Pulse WidthOrdering Code Package Diagram Package Type Operating Range Ordering InformationPart Numbering Nomenclature CY 14 B 101 P SF X C TPackage Diagrams Pin 300 mil Soic PackageSubmission Orig. Description of Change Date Document HistoryREV ECN no USB Sales, Solutions, and Legal InformationWorldwide Sales and Design Support Products PSoC Solutions