chiptool fmt.

This commit is contained in:
Dario Nieuwenhuis 2023-01-17 18:38:41 +01:00
parent 1d97fa1f80
commit 026038a23c
24 changed files with 802 additions and 802 deletions

View File

@ -24,10 +24,10 @@ block/ADC:
fieldset: CFGR2
- name: SMPR
description: sampling time register 1-2
byte_offset: 20
array:
len: 2
stride: 4
byte_offset: 20
fieldset: SMPR
- name: PCSEL
description: pre channel selection register
@ -68,17 +68,17 @@ block/ADC:
fieldset: JSQR
- name: OFR
description: offset number 1-4 register
byte_offset: 96
array:
len: 4
stride: 4
byte_offset: 96
fieldset: OFR
- name: JDR
description: group injected sequencer rank 1-4 register
byte_offset: 128
array:
len: 4
stride: 4
byte_offset: 128
access: Read
fieldset: JDR
- name: AWD2CR

View File

@ -62,13 +62,6 @@ block/BKP:
description: Control/status register
byte_offset: 48
fieldset: CSR
fieldset/DR:
description: Data register
fields:
- name: D
description: Backup data
bit_offset: 0
bit_size: 16
fieldset/CR:
description: Control register
fields:
@ -106,6 +99,13 @@ fieldset/CSR:
description: Tamper Interrupt Flag
bit_offset: 9
bit_size: 1
fieldset/DR:
description: Data register
fields:
- name: D
description: Backup data
bit_offset: 0
bit_size: 16
fieldset/RTCCR:
description: RTC clock calibration register
fields:

View File

@ -13,25 +13,25 @@ block/DAC:
fieldset: SWTRIGR
- name: DHR12R
description: channel 12-bit right-aligned data holding register
array:
len: 2
stride: 12
byte_offset: 8
fieldset: DHR12R
array:
len: 2
stride: 12
- name: DHR12L
description: channel 12-bit left-aligned data holding register
array:
len: 2
stride: 12
byte_offset: 12
fieldset: DHR12L
array:
len: 2
stride: 12
- name: DHR8R
description: channel 8-bit right-aligned data holding register
byte_offset: 16
fieldset: DHR8R
array:
len: 2
stride: 12
byte_offset: 16
fieldset: DHR8R
- name: DHR12RD
description: Dual DAC 12-bit right-aligned data holding register
byte_offset: 32
@ -46,12 +46,12 @@ block/DAC:
fieldset: DHR8RD
- name: DOR
description: channel data output register
byte_offset: 44
access: Read
fieldset: DOR
array:
len: 2
stride: 4
byte_offset: 44
access: Read
fieldset: DOR
- name: SR
description: status register
byte_offset: 52
@ -80,6 +80,11 @@ fieldset/CR:
array:
len: 2
stride: 16
- name: TSEL1
description: DAC channel 1 trigger selection
bit_offset: 3
bit_size: 3
enum: TSEL1
- name: WAVE
description: DAC channel noise/triangle wave generation enable
bit_offset: 6
@ -109,11 +114,6 @@ fieldset/CR:
array:
len: 2
stride: 16
- name: TSEL1
description: DAC channel 1 trigger selection
bit_offset: 3
bit_size: 3
enum: TSEL1
- name: TSEL2
description: DAC channel 2 trigger selection
bit_offset: 19

View File

@ -13,25 +13,25 @@ block/DAC:
fieldset: SWTRIGR
- name: DHR12R
description: channel 12-bit right-aligned data holding register
array:
len: 2
stride: 12
byte_offset: 8
fieldset: DHR12R
array:
len: 2
stride: 12
- name: DHR12L
description: channel 12-bit left-aligned data holding register
array:
len: 2
stride: 12
byte_offset: 12
fieldset: DHR12L
array:
len: 2
stride: 12
- name: DHR8R
description: channel 8-bit right-aligned data holding register
byte_offset: 16
fieldset: DHR8R
array:
len: 2
stride: 12
byte_offset: 16
fieldset: DHR8R
- name: DHR12RD
description: Dual DAC 12-bit right-aligned data holding register
byte_offset: 32
@ -46,12 +46,12 @@ block/DAC:
fieldset: DHR8RD
- name: DOR
description: channel data output register
byte_offset: 44
access: Read
fieldset: DOR
array:
len: 2
stride: 4
byte_offset: 44
access: Read
fieldset: DOR
- name: SR
description: status register
byte_offset: 52
@ -66,11 +66,11 @@ block/DAC:
fieldset: MCR
- name: SHSR1
description: Sample and Hold sample time register
byte_offset: 64
fieldset: SHSR
array:
len: 2
stride: 4
byte_offset: 64
fieldset: SHSR
- name: SHHR
description: Sample and Hold hold time register
byte_offset: 72
@ -107,6 +107,11 @@ fieldset/CR:
array:
len: 2
stride: 16
- name: TSEL1
description: DAC channel 1 trigger selection
bit_offset: 3
bit_size: 3
enum: TSEL1
- name: WAVE
description: DAC channel noise/triangle wave generation enable
bit_offset: 6
@ -143,11 +148,6 @@ fieldset/CR:
array:
len: 2
stride: 16
- name: TSEL1
description: DAC channel 1 trigger selection
bit_offset: 3
bit_size: 3
enum: TSEL1
- name: TSEL2
description: DAC channel 2 trigger selection
bit_offset: 19

View File

@ -26,6 +26,15 @@ block/LCD:
stride: 8
byte_offset: 20
block: RAM_COM
block/RAM_COM:
description: display memory
items:
- name: LOW
description: display memory low word
byte_offset: 0
- name: HIGH
description: display memory high word
byte_offset: 4
fieldset/CLR:
description: clear register
fields:
@ -130,12 +139,3 @@ fieldset/SR:
description: LCD Frame Control Register Synchronization flag
bit_offset: 5
bit_size: 1
block/RAM_COM:
description: "display memory"
items:
- name: LOW
description: display memory low word
byte_offset: 0
- name: HIGH
description: display memory high word
byte_offset: 4

View File

@ -26,6 +26,15 @@ block/LCD:
stride: 8
byte_offset: 20
block: RAM_COM
block/RAM_COM:
description: display memory
items:
- name: LOW
description: display memory low word
byte_offset: 0
- name: HIGH
description: display memory high word
byte_offset: 4
fieldset/CLR:
description: clear register
fields:
@ -134,12 +143,3 @@ fieldset/SR:
description: LCD Frame Control Register Synchronization flag
bit_offset: 5
bit_size: 1
block/RAM_COM:
description: "display memory"
items:
- name: LOW
description: display memory low word
byte_offset: 0
- name: HIGH
description: display memory high word
byte_offset: 4

View File

@ -62,11 +62,11 @@ block/OTG:
byte_offset: 48
fieldset: GI2CCTL
- name: GCCFG_V1
description: General core configuration register, for core_id 0x0000_1xxx
description: "General core configuration register, for core_id 0x0000_1xxx"
byte_offset: 56
fieldset: GCCFG_V1
- name: GCCFG_V2
description: General core configuration register, for core_id 0x0000_[23]xxx
description: "General core configuration register, for core_id 0x0000_[23]xxx"
byte_offset: 56
fieldset: GCCFG_V2
- name: CID
@ -649,6 +649,17 @@ fieldset/FIFO:
description: Data
bit_offset: 0
bit_size: 32
fieldset/FSIZ:
description: FIFO size register
fields:
- name: SA
description: RAM start address
bit_offset: 0
bit_size: 16
- name: FD
description: FIFO depth
bit_offset: 16
bit_size: 16
fieldset/GAHBCFG:
description: AHB configuration register
fields:
@ -680,11 +691,11 @@ fieldset/GCCFG_V1:
bit_offset: 16
bit_size: 1
- name: VBUSASEN
description: Enable the VBUS "A" sensing device
description: "Enable the VBUS \"A\" sensing device"
bit_offset: 18
bit_size: 1
- name: VBUSBSEN
description: Enable the VBUS "B" sensing device
description: "Enable the VBUS \"B\" sensing device"
bit_offset: 19
bit_size: 1
- name: SOFOUTEN
@ -1529,17 +1540,6 @@ fieldset/HNPTXSTS:
description: Top of the non-periodic transmit request queue
bit_offset: 24
bit_size: 7
fieldset/FSIZ:
description: FIFO size register
fields:
- name: SA
description: RAM start address
bit_offset: 0
bit_size: 16
- name: FD
description: FIFO depth
bit_offset: 16
bit_size: 16
fieldset/HPRT:
description: Host port control and status register
fields:

View File

@ -219,11 +219,11 @@ fieldset/CR:
enum: FMT
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 1
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -234,11 +234,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 1
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -314,11 +314,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 1
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -352,11 +352,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 1
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -379,11 +379,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 3
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
- name: RECALPF
@ -425,22 +425,22 @@ fieldset/TAFCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
- 3
- 5
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- 3
- 5
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
- 3
- 5
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -620,15 +620,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -651,10 +642,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -669,13 +678,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/COSEL:
bit_size: 1
@ -702,7 +711,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -747,25 +756,25 @@ enum/PCVALUE:
bit_size: 1
variants:
- name: Low
description: If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic low
description: "If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic low"
value: 0
- name: High
description: If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic high
description: "If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic high"
value: 1
enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/RECALPFR:
bit_size: 1
variants:
- name: Pending
description: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
description: "The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0"
value: 1
enum/REFCKON:
bit_size: 1
@ -791,27 +800,6 @@ enum/RSFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPTRG:
bit_size: 1
variants:
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TAMPFLT:
bit_size: 2
variants:
@ -827,6 +815,12 @@ enum/TAMPFLT:
- name: Samples8
description: Tamper event is activated after 8 consecutive samples at the active level
value: 3
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFREQ:
bit_size: 3
variants:
@ -854,6 +848,12 @@ enum/TAMPFREQ:
- name: Div256
description: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
value: 7
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPPRCH:
bit_size: 2
variants:
@ -878,14 +878,14 @@ enum/TAMPPUDIS:
- name: Disabled
description: Disable precharge of RTC_TAMPx pins
value: 1
enum/AMPM:
enum/TAMPTRG:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: PM
description: PM
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TSEDGE:
bit_size: 1

View File

@ -174,11 +174,11 @@ fieldset/CR:
bit_size: 1
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -189,11 +189,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -264,11 +264,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -298,11 +298,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -325,11 +325,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 1
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
fieldset/PRER:
@ -348,18 +348,18 @@ fieldset/TAFCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -490,15 +490,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -521,10 +512,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -539,13 +548,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/FMT:
bit_size: 1
@ -563,7 +572,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -602,10 +611,10 @@ enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/REFCKON:
bit_size: 1
@ -652,15 +661,6 @@ enum/TAMPTRG:
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/TSEDGE:
bit_size: 1
variants:

View File

@ -219,11 +219,11 @@ fieldset/CR:
enum: FMT
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -234,11 +234,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -314,11 +314,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -352,11 +352,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -379,11 +379,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 3
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
- name: RECALPF
@ -425,20 +425,20 @@ fieldset/TAFCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
- 3
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- 3
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
- 3
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -618,15 +618,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -649,10 +640,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -667,13 +676,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/COSEL:
bit_size: 1
@ -700,7 +709,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -748,25 +757,25 @@ enum/PCVALUE:
bit_size: 1
variants:
- name: Low
description: If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic low
description: "If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic low"
value: 0
- name: High
description: If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic high
description: "If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic high"
value: 1
enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/RECALPFR:
bit_size: 1
variants:
- name: Pending
description: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
description: "The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0"
value: 1
enum/REFCKON:
bit_size: 1
@ -792,27 +801,6 @@ enum/RSFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPTRG:
bit_size: 1
variants:
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TAMPFLT:
bit_size: 2
variants:
@ -828,6 +816,12 @@ enum/TAMPFLT:
- name: Samples8
description: Tamper event is activated after 8 consecutive samples at the active level
value: 3
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFREQ:
bit_size: 3
variants:
@ -855,6 +849,12 @@ enum/TAMPFREQ:
- name: Div256
description: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
value: 7
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPPRCH:
bit_size: 2
variants:
@ -879,14 +879,14 @@ enum/TAMPPUDIS:
- name: Disabled
description: Disable precharge of RTC_TAMPx pins
value: 1
enum/AMPM:
enum/TAMPTRG:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: PM
description: PM
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TSEDGE:
bit_size: 1

View File

@ -238,11 +238,11 @@ fieldset/CR:
bit_size: 1
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -253,11 +253,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -333,11 +333,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -371,11 +371,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -398,11 +398,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 3
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
- name: RECALPF
@ -444,20 +444,20 @@ fieldset/TAFCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
- 3
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- 3
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
- 3
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -619,15 +619,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -650,10 +641,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -668,13 +677,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/COSEL:
bit_size: 1
@ -701,7 +710,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -740,16 +749,16 @@ enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/RECALPFR:
bit_size: 1
variants:
- name: Pending
description: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
description: "The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0"
value: 1
enum/REFCKON:
bit_size: 1
@ -790,27 +799,6 @@ enum/SUB1HW:
- name: Sub1
description: Subtracts 1 hour to the current time. This can be used for winter time change outside initialization mode
value: 1
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPTRG:
bit_size: 1
variants:
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TAMPFLT:
bit_size: 2
variants:
@ -826,6 +814,12 @@ enum/TAMPFLT:
- name: Samples8
description: Tamper event is activated after 8 consecutive samples at the active level
value: 3
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFREQ:
bit_size: 3
variants:
@ -853,6 +847,12 @@ enum/TAMPFREQ:
- name: Div256
description: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
value: 7
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPPRCH:
bit_size: 2
variants:
@ -877,14 +877,14 @@ enum/TAMPPUDIS:
- name: Disabled
description: Disable precharge of RTC_TAMPx pins
value: 1
enum/AMPM:
enum/TAMPTRG:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: PM
description: PM
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TSEDGE:
bit_size: 1

View File

@ -223,11 +223,11 @@ fieldset/CR:
enum: FMT
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -238,11 +238,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -322,11 +322,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -360,11 +360,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -387,11 +387,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 3
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
- name: RECALPF
@ -448,22 +448,22 @@ fieldset/TAMPCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
- 3
- 5
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- 3
- 5
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
- 3
- 5
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -495,25 +495,25 @@ fieldset/TAMPCR:
enum: TAMPPUDIS
- name: TAMPXIE
description: Tamper interrupt enable
array:
len: 3
stride: 3
bit_offset: 16
bit_size: 1
array:
len: 3
stride: 3
- name: TAMPXNOERASE
description: Tamper no erase
array:
len: 3
stride: 3
bit_offset: 17
bit_size: 1
- name: TAMPXMF
description: Tamper mask flag
array:
len: 3
stride: 3
- name: TAMPXMF
description: Tamper mask flag
bit_offset: 18
bit_size: 1
array:
len: 3
stride: 3
fieldset/TR:
description: Time register
fields:
@ -634,15 +634,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -665,10 +656,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -683,13 +692,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/COSEL:
bit_size: 1
@ -716,7 +725,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -755,16 +764,16 @@ enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/RECALPFR:
bit_size: 1
variants:
- name: Pending
description: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
description: "The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0"
value: 1
enum/REFCKON:
bit_size: 1
@ -790,27 +799,6 @@ enum/RSFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPTRG:
bit_size: 1
variants:
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TAMPFLT:
bit_size: 2
variants:
@ -826,6 +814,12 @@ enum/TAMPFLT:
- name: Samples8
description: Tamper event is activated after 8 consecutive samples at the active level
value: 3
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFREQ:
bit_size: 3
variants:
@ -853,6 +847,12 @@ enum/TAMPFREQ:
- name: Div256
description: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
value: 7
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPPRCH:
bit_size: 2
variants:
@ -877,14 +877,14 @@ enum/TAMPPUDIS:
- name: Disabled
description: Disable precharge of RTC_TAMPx pins
value: 1
enum/AMPM:
enum/TAMPTRG:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: PM
description: PM
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TSEDGE:
bit_size: 1

View File

@ -223,11 +223,11 @@ fieldset/CR:
enum: FMT
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -238,11 +238,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -322,11 +322,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -360,11 +360,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -387,11 +387,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 3
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
- name: RECALPF
@ -448,22 +448,22 @@ fieldset/TAMPCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
- 3
- 5
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- 3
- 5
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
- 3
- 5
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -495,25 +495,25 @@ fieldset/TAMPCR:
enum: TAMPPUDIS
- name: TAMPXIE
description: Tamper interrupt enable
array:
len: 3
stride: 3
bit_offset: 16
bit_size: 1
array:
len: 3
stride: 3
- name: TAMPXNOERASE
description: Tamper no erase
array:
len: 3
stride: 3
bit_offset: 17
bit_size: 1
- name: TAMPXMF
description: Tamper mask flag
array:
len: 3
stride: 3
- name: TAMPXMF
description: Tamper mask flag
bit_offset: 18
bit_size: 1
array:
len: 3
stride: 3
fieldset/TR:
description: Time register
fields:
@ -634,15 +634,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -665,10 +656,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -683,13 +692,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/COSEL:
bit_size: 1
@ -716,7 +725,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -755,16 +764,16 @@ enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/RECALPFR:
bit_size: 1
variants:
- name: Pending
description: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
description: "The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0"
value: 1
enum/REFCKON:
bit_size: 1
@ -790,27 +799,6 @@ enum/RSFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPTRG:
bit_size: 1
variants:
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TAMPFLT:
bit_size: 2
variants:
@ -826,6 +814,12 @@ enum/TAMPFLT:
- name: Samples8
description: Tamper event is activated after 8 consecutive samples at the active level
value: 3
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFREQ:
bit_size: 3
variants:
@ -853,6 +847,12 @@ enum/TAMPFREQ:
- name: Div256
description: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
value: 7
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPPRCH:
bit_size: 2
variants:
@ -877,14 +877,14 @@ enum/TAMPPUDIS:
- name: Disabled
description: Disable precharge of RTC_TAMPx pins
value: 1
enum/AMPM:
enum/TAMPTRG:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: PM
description: PM
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TSEDGE:
bit_size: 1

View File

@ -223,11 +223,11 @@ fieldset/CR:
enum: FMT
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -238,11 +238,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -318,11 +318,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -356,11 +356,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -383,11 +383,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 3
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
- name: RECALPF
@ -440,22 +440,22 @@ fieldset/TAMPCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
- 3
- 5
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- 3
- 5
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
- 3
- 5
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -487,25 +487,25 @@ fieldset/TAMPCR:
enum: TAMPPUDIS
- name: TAMPXIE
description: Tamper interrupt enable
array:
len: 3
stride: 3
bit_offset: 16
bit_size: 1
array:
len: 3
stride: 3
- name: TAMPXNOERASE
description: Tamper no erase
array:
len: 3
stride: 3
bit_offset: 17
bit_size: 1
- name: TAMPXMF
description: Tamper mask flag
array:
len: 3
stride: 3
- name: TAMPXMF
description: Tamper mask flag
bit_offset: 18
bit_size: 1
array:
len: 3
stride: 3
fieldset/TR:
description: Time register
fields:
@ -626,15 +626,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -657,10 +648,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -675,13 +684,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/COSEL:
bit_size: 1
@ -708,7 +717,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -747,16 +756,16 @@ enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/RECALPFR:
bit_size: 1
variants:
- name: Pending
description: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
description: "The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0"
value: 1
enum/REFCKON:
bit_size: 1
@ -782,27 +791,6 @@ enum/RSFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPTRG:
bit_size: 1
variants:
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TAMPFLT:
bit_size: 2
variants:
@ -818,6 +806,12 @@ enum/TAMPFLT:
- name: Samples8
description: Tamper event is activated after 8 consecutive samples at the active level
value: 3
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFREQ:
bit_size: 3
variants:
@ -845,6 +839,12 @@ enum/TAMPFREQ:
- name: Div256
description: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
value: 7
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPPRCH:
bit_size: 2
variants:
@ -869,14 +869,14 @@ enum/TAMPPUDIS:
- name: Disabled
description: Disable precharge of RTC_TAMPx pins
value: 1
enum/AMPM:
enum/TAMPTRG:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: PM
description: PM
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TSEDGE:
bit_size: 1

View File

@ -238,11 +238,11 @@ fieldset/CR:
bit_size: 1
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -253,11 +253,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -333,11 +333,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -371,11 +371,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -398,11 +398,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 3
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
- name: RECALPF
@ -444,22 +444,22 @@ fieldset/TAFCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
- 3
- 5
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- 3
- 5
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
- 3
- 5
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -613,15 +613,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -644,10 +635,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -662,13 +671,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/COSEL:
bit_size: 1
@ -695,7 +704,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -734,16 +743,16 @@ enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/RECALPFR:
bit_size: 1
variants:
- name: Pending
description: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
description: "The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0"
value: 1
enum/REFCKON:
bit_size: 1
@ -769,27 +778,6 @@ enum/RSFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPTRG:
bit_size: 1
variants:
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TAMPFLT:
bit_size: 2
variants:
@ -805,6 +793,12 @@ enum/TAMPFLT:
- name: Samples8
description: Tamper event is activated after 8 consecutive samples at the active level
value: 3
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFREQ:
bit_size: 3
variants:
@ -832,6 +826,12 @@ enum/TAMPFREQ:
- name: Div256
description: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
value: 7
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPPRCH:
bit_size: 2
variants:
@ -856,14 +856,14 @@ enum/TAMPPUDIS:
- name: Disabled
description: Disable precharge of RTC_TAMPx pins
value: 1
enum/AMPM:
enum/TAMPTRG:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: PM
description: PM
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TSEDGE:
bit_size: 1

View File

@ -223,11 +223,11 @@ fieldset/CR:
enum: FMT
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -238,11 +238,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -322,11 +322,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -360,11 +360,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -387,11 +387,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 3
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
- name: RECALPF
@ -444,22 +444,22 @@ fieldset/TAMPCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
- 3
- 5
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- 3
- 5
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
- 3
- 5
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -491,25 +491,25 @@ fieldset/TAMPCR:
enum: TAMPPUDIS
- name: TAMPXIE
description: Tamper interrupt enable
array:
len: 3
stride: 3
bit_offset: 16
bit_size: 1
array:
len: 3
stride: 3
- name: TAMPXNOERASE
description: Tamper no erase
array:
len: 3
stride: 3
bit_offset: 17
bit_size: 1
- name: TAMPXMF
description: Tamper mask flag
array:
len: 3
stride: 3
- name: TAMPXMF
description: Tamper mask flag
bit_offset: 18
bit_size: 1
array:
len: 3
stride: 3
fieldset/TR:
description: Time register
fields:
@ -630,15 +630,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -661,10 +652,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -679,13 +688,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/COSEL:
bit_size: 1
@ -712,7 +721,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -751,16 +760,16 @@ enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/RECALPFR:
bit_size: 1
variants:
- name: Pending
description: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
description: "The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0"
value: 1
enum/REFCKON:
bit_size: 1
@ -786,27 +795,6 @@ enum/RSFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPTRG:
bit_size: 1
variants:
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TAMPFLT:
bit_size: 2
variants:
@ -822,6 +810,12 @@ enum/TAMPFLT:
- name: Samples8
description: Tamper event is activated after 8 consecutive samples at the active level
value: 3
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFREQ:
bit_size: 3
variants:
@ -849,6 +843,12 @@ enum/TAMPFREQ:
- name: Div256
description: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
value: 7
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPPRCH:
bit_size: 2
variants:
@ -873,14 +873,14 @@ enum/TAMPPUDIS:
- name: Disabled
description: Disable precharge of RTC_TAMPx pins
value: 1
enum/AMPM:
enum/TAMPTRG:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: PM
description: PM
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TSEDGE:
bit_size: 1

View File

@ -223,11 +223,11 @@ fieldset/CR:
enum: FMT
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -238,11 +238,11 @@ fieldset/CR:
bit_size: 1
- name: ALRIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -322,11 +322,11 @@ fieldset/ISR:
fields:
- name: ALRWF
description: Alarm write flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum_read: ALRWFR
- name: WUTWF
description: Wakeup timer write flag
@ -360,11 +360,11 @@ fieldset/ISR:
enum: INIT
- name: ALRF
description: Alarm flag
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
enum_read: ALRFR
enum_write: ALRFW
- name: WUTF
@ -387,11 +387,11 @@ fieldset/ISR:
enum_write: TSOVFW
- name: TAMPF
description: Tamper detection flag
bit_offset: 13
bit_size: 1
array:
len: 3
stride: 1
bit_offset: 13
bit_size: 1
enum_read: TAMPFR
enum_write: TAMPFW
- name: RECALPF
@ -448,22 +448,22 @@ fieldset/TAMPCR:
fields:
- name: TAMPE
description: Tamper detection enable
array:
offsets:
- 0
- 3
- 5
bit_offset: 0
bit_size: 1
- name: TAMPTRG
description: Active level for tamper
array:
offsets:
- 0
- 3
- 5
- name: TAMPTRG
description: Active level for tamper
bit_offset: 1
bit_size: 1
array:
offsets:
- 0
- 3
- 5
enum: TAMPTRG
- name: TAMPIE
description: Tamper interrupt enable
@ -495,25 +495,25 @@ fieldset/TAMPCR:
enum: TAMPPUDIS
- name: TAMPXIE
description: Tamper interrupt enable
array:
len: 3
stride: 3
bit_offset: 16
bit_size: 1
array:
len: 3
stride: 3
- name: TAMPXNOERASE
description: Tamper no erase
array:
len: 3
stride: 3
bit_offset: 17
bit_size: 1
- name: TAMPXMF
description: Tamper mask flag
array:
len: 3
stride: 3
- name: TAMPXMF
description: Tamper mask flag
bit_offset: 18
bit_size: 1
array:
len: 3
stride: 3
fieldset/TR:
description: Time register
fields:
@ -634,15 +634,6 @@ enum/ALRFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/ALRMR_MSK:
bit_size: 1
variants:
@ -665,10 +656,28 @@ enum/ALRMR_WDSEL:
bit_size: 1
variants:
- name: DateUnits
description: DU[3:0] represents the date units
description: "DU[3:0] represents the date units"
value: 0
- name: WeekDay
description: DU[3:0] represents the week day. DT[1:0] is dont care
description: "DU[3:0] represents the week day. DT[1:0] is dont care"
value: 1
enum/ALRWFR:
bit_size: 1
variants:
- name: UpdateNotAllowed
description: Alarm update not allowed
value: 0
- name: UpdateAllowed
description: Alarm update allowed
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/CALP:
bit_size: 1
@ -683,13 +692,13 @@ enum/CALW16:
bit_size: 1
variants:
- name: Sixteen_Second
description: When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1
description: "When CALW16 is set to 1, the 16-second calibration cycle period is selected.This bit must not be set to 1 if CALW8=1"
value: 1
enum/CALW8:
bit_size: 1
variants:
- name: Eight_Second
description: When CALW8 is set to 1, the 8-second calibration cycle period is selected
description: "When CALW8 is set to 1, the 8-second calibration cycle period is selected"
value: 1
enum/COSEL:
bit_size: 1
@ -716,7 +725,7 @@ enum/INIT:
description: Free running mode
value: 0
- name: InitMode
description: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
description: "Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset."
value: 1
enum/INITFR:
bit_size: 1
@ -755,16 +764,16 @@ enum/POL:
bit_size: 1
variants:
- name: High
description: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 0
- name: Low
description: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
description: "The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])"
value: 1
enum/RECALPFR:
bit_size: 1
variants:
- name: Pending
description: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
description: "The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0"
value: 1
enum/REFCKON:
bit_size: 1
@ -790,27 +799,6 @@ enum/RSFW:
- name: Clear
description: This flag is cleared by software by writing 0
value: 0
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPTRG:
bit_size: 1
variants:
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TAMPFLT:
bit_size: 2
variants:
@ -826,6 +814,12 @@ enum/TAMPFLT:
- name: Samples8
description: Tamper event is activated after 8 consecutive samples at the active level
value: 3
enum/TAMPFR:
bit_size: 1
variants:
- name: Tampered
description: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
value: 1
enum/TAMPFREQ:
bit_size: 3
variants:
@ -853,6 +847,12 @@ enum/TAMPFREQ:
- name: Div256
description: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)
value: 7
enum/TAMPFW:
bit_size: 1
variants:
- name: Clear
description: Flag cleared by software writing 0
value: 0
enum/TAMPPRCH:
bit_size: 2
variants:
@ -877,14 +877,14 @@ enum/TAMPPUDIS:
- name: Disabled
description: Disable precharge of RTC_TAMPx pins
value: 1
enum/AMPM:
enum/TAMPTRG:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
- name: RisingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event."
value: 0
- name: PM
description: PM
- name: FallingEdge
description: "If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event"
value: 1
enum/TSEDGE:
bit_size: 1

View File

@ -244,11 +244,11 @@ fieldset/CR:
bit_size: 1
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -259,11 +259,11 @@ fieldset/CR:
bit_size: 1
- name: ALRAIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -413,11 +413,11 @@ fieldset/MISR:
fields:
- name: ALRMF
description: Alarm masked flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum: ALRMF
- name: WUTMF
description: Wakeup timer masked flag
@ -460,11 +460,11 @@ fieldset/SCR:
fields:
- name: CALRF
description: Clear alarm A flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum: CALRF
- name: CWUTF
description: Clear wakeup timer flag
@ -507,11 +507,11 @@ fieldset/SR:
fields:
- name: ALRF
description: Alarm flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum: ALRF
- name: WUTF
description: Wakeup timer flag
@ -705,6 +705,15 @@ enum/ALRMSSR_SSCLR:
- name: ALRMBINR
description: "The synchronous binary counter (SS[31:0] in RTC_SSR) is running from 0xFFFF FFFF to RTC_ALRMABINR → SS[31:0] value and is automatically reloaded with 0xFFFF FFFF when reaching RTC_ALRMABINR → SS[31:0]"
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/BCDU:
bit_size: 3
variants:
@ -954,15 +963,6 @@ enum/TAMPALRM_TYPE:
- name: OpenDrain
description: TAMPALRM is open-drain output
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/TSEDGE:
bit_size: 1
variants:

View File

@ -257,11 +257,11 @@ fieldset/CR:
bit_size: 1
- name: ALRE
description: Alarm enable
bit_offset: 8
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 8
bit_size: 1
- name: WUTE
description: Wakeup timer enable
bit_offset: 10
@ -272,11 +272,11 @@ fieldset/CR:
bit_size: 1
- name: ALRAIE
description: Alarm interrupt enable
bit_offset: 12
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 12
bit_size: 1
- name: WUTIE
description: Wakeup timer interrupt enable
bit_offset: 14
@ -330,11 +330,11 @@ fieldset/CR:
bit_size: 1
- name: ALRFCLR
description: ALRFCLR
bit_offset: 27
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 27
bit_size: 1
- name: TAMPALRM_PU
description: TAMPALRM pull-up enable
bit_offset: 29
@ -433,11 +433,11 @@ fieldset/MISR:
fields:
- name: ALRMF
description: Alarm masked flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum: ALRMF
- name: WUTMF
description: Wakeup timer masked flag
@ -511,11 +511,11 @@ fieldset/SCR:
fields:
- name: CALRF
description: Clear alarm A flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum: CALRF
- name: CWUTF
description: Clear wakeup timer flag
@ -620,11 +620,11 @@ fieldset/SR:
fields:
- name: ALRF
description: Alarm flag
bit_offset: 0
bit_size: 1
array:
len: 2
stride: 1
bit_offset: 0
bit_size: 1
enum: ALRF
- name: WUTF
description: Wakeup timer flag
@ -818,6 +818,15 @@ enum/ALRMSSR_SSCLR:
- name: ALRMBINR
description: "The synchronous binary counter (SS[31:0] in RTC_SSR) is running from 0xFFFF FFFF to RTC_ALRMABINR → SS[31:0] value and is automatically reloaded with 0xFFFF FFFF when reaching RTC_ALRMABINR → SS[31:0]"
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/BCDU:
bit_size: 3
variants:
@ -1067,15 +1076,6 @@ enum/TAMPALRM_TYPE:
- name: OpenDrain
description: TAMPALRM is open-drain output
value: 1
enum/AMPM:
bit_size: 1
variants:
- name: AM
description: AM or 24-hour format
value: 0
- name: PM
description: PM
value: 1
enum/TSEDGE:
bit_size: 1
variants:

View File

@ -339,6 +339,57 @@ fieldset/GTPR:
description: Guard time value
bit_offset: 8
bit_size: 8
fieldset/ICR:
description: Interrupt flag clear register
fields:
- name: PE
description: Parity error clear flag
bit_offset: 0
bit_size: 1
- name: FE
description: Framing error clear flag
bit_offset: 1
bit_size: 1
- name: NE
description: Noise error clear flag
bit_offset: 2
bit_size: 1
- name: ORE
description: Overrun error clear flag
bit_offset: 3
bit_size: 1
- name: IDLE
description: Idle line detected clear flag
bit_offset: 4
bit_size: 1
- name: TC
description: Transmission complete clear flag
bit_offset: 6
bit_size: 1
- name: LBD
description: LIN break detection clear flag
bit_offset: 8
bit_size: 1
- name: CTS
description: CTS clear flag
bit_offset: 9
bit_size: 1
- name: RTOF
description: Receiver timeout clear flag
bit_offset: 11
bit_size: 1
- name: EOBF
description: End of block clear flag
bit_offset: 12
bit_size: 1
- name: CMF
description: Character match clear flag
bit_offset: 17
bit_size: 1
- name: WUF
description: Wakeup from Stop mode clear flag
bit_offset: 20
bit_size: 1
fieldset/ISR:
description: Interrupt & status register
fields:
@ -431,57 +482,6 @@ fieldset/ISR:
description: Receive enable acknowledge flag
bit_offset: 22
bit_size: 1
fieldset/ICR:
description: Interrupt flag clear register
fields:
- name: PE
description: Parity error clear flag
bit_offset: 0
bit_size: 1
- name: FE
description: Framing error clear flag
bit_offset: 1
bit_size: 1
- name: NE
description: Noise error clear flag
bit_offset: 2
bit_size: 1
- name: ORE
description: Overrun error clear flag
bit_offset: 3
bit_size: 1
- name: IDLE
description: Idle line detected clear flag
bit_offset: 4
bit_size: 1
- name: TC
description: Transmission complete clear flag
bit_offset: 6
bit_size: 1
- name: LBD
description: LIN break detection clear flag
bit_offset: 8
bit_size: 1
- name: CTS
description: CTS clear flag
bit_offset: 9
bit_size: 1
- name: RTOF
description: Receiver timeout clear flag
bit_offset: 11
bit_size: 1
- name: EOBF
description: End of block clear flag
bit_offset: 12
bit_size: 1
- name: CMF
description: Character match clear flag
bit_offset: 17
bit_size: 1
- name: WUF
description: Wakeup from Stop mode clear flag
bit_offset: 20
bit_size: 1
fieldset/RQR:
description: Request register
fields:

View File

@ -32,11 +32,11 @@ block/USB:
fieldset: BTABLE
- name: EP_MEM
description: USB Endpoint memory
byte_offset: 1024
bit_size: 16
array:
len: 512
stride: 4
byte_offset: 1024
bit_size: 16
fieldset/BTABLE:
description: Buffer table address
fields:
@ -260,5 +260,5 @@ enum/STAT:
description: the endpoint is naked and all requests result in a NAK handshake
value: 2
- name: Valid
description: this endpoint is enabled, requests are ACKed
description: "this endpoint is enabled, requests are ACKed"
value: 3

View File

@ -32,11 +32,11 @@ block/USB:
fieldset: BTABLE
- name: EP_MEM
description: USB Endpoint memory
byte_offset: 1024
bit_size: 16
array:
len: 512
stride: 2
byte_offset: 1024
bit_size: 16
fieldset/BTABLE:
description: Buffer table address
fields:
@ -260,5 +260,5 @@ enum/STAT:
description: the endpoint is naked and all requests result in a NAK handshake
value: 2
- name: Valid
description: this endpoint is enabled, requests are ACKed
description: "this endpoint is enabled, requests are ACKed"
value: 3

View File

@ -36,11 +36,11 @@ block/USB:
fieldset: LPMCSR
- name: EP_MEM
description: USB Endpoint memory
byte_offset: 1024
bit_size: 16
array:
len: 1024
stride: 2
byte_offset: 1024
bit_size: 16
fieldset/BTABLE:
description: Buffer table address
fields:
@ -305,5 +305,5 @@ enum/STAT:
description: the endpoint is naked and all requests result in a NAK handshake
value: 2
- name: Valid
description: this endpoint is enabled, requests are ACKed
description: "this endpoint is enabled, requests are ACKed"
value: 3

View File

@ -40,11 +40,11 @@ block/USB:
fieldset: BCDR
- name: EP_MEM
description: USB Endpoint memory
byte_offset: 1024
bit_size: 16
array:
len: 1024
stride: 2
byte_offset: 1024
bit_size: 16
fieldset/BCDR:
description: Battery Charging Detector
fields:
@ -358,5 +358,5 @@ enum/STAT:
description: the endpoint is naked and all requests result in a NAK handshake
value: 2
- name: Valid
description: this endpoint is enabled, requests are ACKed
description: "this endpoint is enabled, requests are ACKed"
value: 3