Skip to content

Commit 11dd60c

Browse files
author
Gerzain Mata
committed
chiptool fmt on changed yamls
1 parent 83dda90 commit 11dd60c

File tree

3 files changed

+146
-131
lines changed

3 files changed

+146
-131
lines changed

data/registers/flash_wba.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,28 @@ fieldset/SECSR:
533533
description: "Secure wait data to write\r This bit indicates that the memory write buffer has been written by a secure or non-secure operation. It is set when the first data is stored in the buffer and cleared when the write is performed in the memory."
534534
bit_offset: 17
535535
bit_size: 1
536+
fieldset/SECWM2R1:
537+
description: Flash bank 2 secure watermark register 1
538+
fields:
539+
- name: SECWM2_PSTRT
540+
description: "WRP area B start page\r This field contains the first page of the secure area in bank 2."
541+
bit_offset: 0
542+
bit_size: 7
543+
- name: SECWM2_PEND
544+
description: "End page of secure area\r This field contains the last page of the secure area in bank 2."
545+
bit_offset: 16
546+
bit_size: 7
547+
fieldset/SECWM2R2:
548+
description: Flash bank 2 secure watermark register 2
549+
fields:
550+
- name: HDP2_PEND
551+
description: "Bank 2 end page of secure hide protection area\r This field contains the last page of the secure HDP area in bank 2."
552+
bit_offset: 16
553+
bit_size: 7
554+
- name: HDP2EN
555+
description: Bank 2 secure Hide protection area enable
556+
bit_offset: 31
557+
bit_size: 1
536558
fieldset/SECWMR1:
537559
description: secure watermark register 1
538560
fields:
@@ -585,28 +607,6 @@ fieldset/WRP1BR:
585607
description: WPR area B unlock
586608
bit_offset: 31
587609
bit_size: 1
588-
fieldset/SECWM2R1:
589-
description: Flash bank 2 secure watermark register 1
590-
fields:
591-
- name: SECWM2_PSTRT
592-
description: "WRP area B start page\r This field contains the first page of the secure area in bank 2."
593-
bit_offset: 0
594-
bit_size: 7
595-
- name: SECWM2_PEND
596-
description: "End page of secure area\r This field contains the last page of the secure area in bank 2."
597-
bit_offset: 16
598-
bit_size: 7
599-
fieldset/SECWM2R2:
600-
description: Flash bank 2 secure watermark register 2
601-
fields:
602-
- name: HDP2_PEND
603-
description: "Bank 2 end page of secure hide protection area\r This field contains the last page of the secure HDP area in bank 2."
604-
bit_offset: 16
605-
bit_size: 7
606-
- name: HDP2EN
607-
description: "Bank 2 secure Hide protection area enable"
608-
bit_offset: 31
609-
bit_size: 1
610610
fieldset/WRP2AR:
611611
description: WRP bank 2 area A address register
612612
fields:

data/registers/pwr_wba.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ block/PWR:
7979
description: 2.4 GHz RADIO status and control register
8080
byte_offset: 256
8181
fieldset: RADIOSCR
82+
- name: S2RETR
83+
description: Stop 2 peripheral IOs retention register
84+
byte_offset: 260
85+
fieldset: S2RETR
8286
fieldset/CR1:
8387
description: control register 1
8488
fields:
@@ -357,6 +361,17 @@ fieldset/WUSR:
357361
array:
358362
len: 8
359363
stride: 1
364+
fieldset/S2RETR:
365+
description: Stop 2 peripheral IOs retention register
366+
fields:
367+
- name: PTASREN
368+
description: "PTA output signals Stop 2 mode retention enable\r Access can be secured by GTZC_TZSC PTACONVSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with SPRIV or when non-secure with NSPRIV."
369+
bit_offset: 0
370+
bit_size: 1
371+
- name: PTASR
372+
description: "PTA interface output signals state retnetion in Stop 2 mode active\r Access can be secured by GTZC_TZSC PTACONVSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with SPRIV or when non-secure with NSPRIV."
373+
bit_offset: 16
374+
bit_size: 1
360375
enum/ACTVOS:
361376
bit_size: 1
362377
variants:

data/registers/rcc_wba.yaml

Lines changed: 109 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -184,17 +184,17 @@ block/RCC:
184184
- name: ASCNTR
185185
description: RCC audio synchronization counter register
186186
byte_offset: 460
187-
fieldset: ASCNTR
188187
access: Read
188+
fieldset: ASCNTR
189189
- name: ASARR
190190
description: RCC audio synchronization auto-reload register
191191
byte_offset: 464
192192
fieldset: ASARR
193193
- name: ASCAR
194194
description: RCC audio synchronization capture register
195195
byte_offset: 468
196-
fieldset: ASCAR
197196
access: Read
197+
fieldset: ASCAR
198198
- name: ASCOR
199199
description: RCC audio synchronization compare register
200200
byte_offset: 472
@@ -835,6 +835,79 @@ fieldset/APB7SMENR:
835835
description: "RTC and TAMP APB clock enable during Sleep and Stop modes\r Set and cleared by software.\r Can only be accessed secure when one or more features in the RTC or TAMP is/are secure. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.\r Note: This bit must be set to allow the peripheral to wake up from Stop modes."
836836
bit_offset: 21
837837
bit_size: 1
838+
fieldset/ASARR:
839+
description: RCC audio synchronization auto-reload register
840+
fields:
841+
- name: AR
842+
description: "Auto-reload value\r This field is set by software.\r CA[19:0] is the counter auto-reload value at which to restart the audio synchronization counter from value 0. It defines the counter period."
843+
bit_offset: 0
844+
bit_size: 20
845+
fieldset/ASCAR:
846+
description: RCC audio synchronization capture register
847+
fields:
848+
- name: CA
849+
description: "Capture value\r This field is set by hardware.\r CA[26:20] is the capture period counter value loaded on the trigger event. CA[19:0] is the audio synchronization counter value loaded on the trigger event."
850+
bit_offset: 0
851+
bit_size: 27
852+
fieldset/ASCNTR:
853+
description: RCC audio synchronization counter register
854+
fields:
855+
- name: CNT
856+
description: "Counter value\r This field is set by hardware.\r CNT[19:0] is the counter value at the time this register is read."
857+
bit_offset: 0
858+
bit_size: 20
859+
fieldset/ASCOR:
860+
description: RCC audio synchronization compare register
861+
fields:
862+
- name: CO
863+
description: "Compare value\r This field is set by software.\r CO[19:0] is the value to be compared to the audio synchronization counter to generate an compare interrupt event."
864+
bit_offset: 0
865+
bit_size: 20
866+
fieldset/ASCR:
867+
description: RCC audio synchronization control register
868+
fields:
869+
- name: CEN
870+
description: "Counter enable\r This bit is set and cleared by software.\r Clearing this bit will reset the audio synchronization counter and capture prescaler and all associated registers ASCR, ASIER, ASSR, ASCNTR, ASARR, ASCAR, and ASCOR."
871+
bit_offset: 0
872+
bit_size: 1
873+
- name: PSC
874+
description: "Clock prescaler\r This field is set and cleared by software.\r Counter clock frequency = f_audiosync_ker_ck / (PSC + 1)"
875+
bit_offset: 8
876+
bit_size: 7
877+
- name: CPS
878+
description: "Capture prescaler\r This field is set and cleared by software.\r Capture period in number of counter periods. Capture period = counter period * (TPS + 1)"
879+
bit_offset: 16
880+
bit_size: 7
881+
fieldset/ASIER:
882+
description: RCC audio synchronization interrupt enable register
883+
fields:
884+
- name: CAIE
885+
description: "Capture trigger interrupt enable\r This bit is set and cleared by software."
886+
bit_offset: 0
887+
bit_size: 1
888+
- name: COIE
889+
description: "Comparer interrupt enable\r This field is set and cleared by software."
890+
bit_offset: 1
891+
bit_size: 1
892+
- name: CAEIE
893+
description: "Capture error interrupt enable\r This field is set and cleared by software."
894+
bit_offset: 2
895+
bit_size: 1
896+
fieldset/ASSR:
897+
description: RCC audio synchronization status register
898+
fields:
899+
- name: CAF
900+
description: "Capture trigger interrupt flag\r This field is set by hardware, only when CAIE is enabled. This bit is cleared by software by writing it to 0 or masked when CAIE is 0."
901+
bit_offset: 0
902+
bit_size: 1
903+
- name: COF
904+
description: "Comparer interrupt flag\r This field is set by hardware, only when COIE is enabled. This bit is cleared by software by writing it to 0 or masked when COIE is 0."
905+
bit_offset: 1
906+
bit_size: 1
907+
- name: CAEF
908+
description: "Capture error interrupt flag\r This field is set by hardware, only when CAEIE is enabled. This bit is cleared by software by writing it to 0 or masked when CAEIE is 0."
909+
bit_offset: 2
910+
bit_size: 1
838911
fieldset/BDCR:
839912
description: RCC backup domain control register
840913
fields:
@@ -1391,79 +1464,6 @@ fieldset/SECCFGR:
13911464
description: "Remove reset flag security\r Set and reset by software."
13921465
bit_offset: 12
13931466
bit_size: 1
1394-
fieldset/ASCR:
1395-
description: RCC audio synchronization control register
1396-
fields:
1397-
- name: CEN
1398-
description: "Counter enable\r This bit is set and cleared by software.\r Clearing this bit will reset the audio synchronization counter and capture prescaler and all associated registers ASCR, ASIER, ASSR, ASCNTR, ASARR, ASCAR, and ASCOR."
1399-
bit_offset: 0
1400-
bit_size: 1
1401-
- name: PSC
1402-
description: "Clock prescaler\r This field is set and cleared by software.\r Counter clock frequency = f_audiosync_ker_ck / (PSC + 1)"
1403-
bit_offset: 8
1404-
bit_size: 7
1405-
- name: CPS
1406-
description: "Capture prescaler\r This field is set and cleared by software.\r Capture period in number of counter periods. Capture period = counter period * (TPS + 1)"
1407-
bit_offset: 16
1408-
bit_size: 7
1409-
fieldset/ASIER:
1410-
description: RCC audio synchronization interrupt enable register
1411-
fields:
1412-
- name: CAIE
1413-
description: "Capture trigger interrupt enable\r This bit is set and cleared by software."
1414-
bit_offset: 0
1415-
bit_size: 1
1416-
- name: COIE
1417-
description: "Comparer interrupt enable\r This field is set and cleared by software."
1418-
bit_offset: 1
1419-
bit_size: 1
1420-
- name: CAEIE
1421-
description: "Capture error interrupt enable\r This field is set and cleared by software."
1422-
bit_offset: 2
1423-
bit_size: 1
1424-
fieldset/ASSR:
1425-
description: RCC audio synchronization status register
1426-
fields:
1427-
- name: CAF
1428-
description: "Capture trigger interrupt flag\r This field is set by hardware, only when CAIE is enabled. This bit is cleared by software by writing it to 0 or masked when CAIE is 0."
1429-
bit_offset: 0
1430-
bit_size: 1
1431-
- name: COF
1432-
description: "Comparer interrupt flag\r This field is set by hardware, only when COIE is enabled. This bit is cleared by software by writing it to 0 or masked when COIE is 0."
1433-
bit_offset: 1
1434-
bit_size: 1
1435-
- name: CAEF
1436-
description: "Capture error interrupt flag\r This field is set by hardware, only when CAEIE is enabled. This bit is cleared by software by writing it to 0 or masked when CAEIE is 0."
1437-
bit_offset: 2
1438-
bit_size: 1
1439-
fieldset/ASCNTR:
1440-
description: RCC audio synchronization counter register
1441-
fields:
1442-
- name: CNT
1443-
description: "Counter value\r This field is set by hardware.\r CNT[19:0] is the counter value at the time this register is read."
1444-
bit_offset: 0
1445-
bit_size: 20
1446-
fieldset/ASARR:
1447-
description: RCC audio synchronization auto-reload register
1448-
fields:
1449-
- name: AR
1450-
description: "Auto-reload value\r This field is set by software.\r CA[19:0] is the counter auto-reload value at which to restart the audio synchronization counter from value 0. It defines the counter period."
1451-
bit_offset: 0
1452-
bit_size: 20
1453-
fieldset/ASCAR:
1454-
description: RCC audio synchronization capture register
1455-
fields:
1456-
- name: CA
1457-
description: "Capture value\r This field is set by hardware.\r CA[26:20] is the capture period counter value loaded on the trigger event. CA[19:0] is the audio synchronization counter value loaded on the trigger event."
1458-
bit_offset: 0
1459-
bit_size: 27
1460-
fieldset/ASCOR:
1461-
description: RCC audio synchronization compare register
1462-
fields:
1463-
- name: CO
1464-
description: "Compare value\r This field is set by software.\r CO[19:0] is the value to be compared to the audio synchronization counter to generate an compare interrupt event."
1465-
bit_offset: 0
1466-
bit_size: 20
14671467
enum/ADCSEL:
14681468
bit_size: 3
14691469
variants:
@@ -1482,6 +1482,15 @@ enum/ADCSEL:
14821482
- name: HSI
14831483
description: HSI clock selected
14841484
value: 4
1485+
enum/ASSEL:
1486+
bit_size: 1
1487+
variants:
1488+
- name: PLL1_P
1489+
description: pll1pclk selected.
1490+
value: 0
1491+
- name: PLL1_Q
1492+
description: pll1qclk selected.
1493+
value: 1
14851494
enum/HDIV5:
14861495
bit_size: 1
14871496
variants:
@@ -1704,6 +1713,21 @@ enum/MCOSEL:
17041713
- name: HCLK5
17051714
description: hclk5 clock selected
17061715
value: 10
1716+
enum/OTGHSSEL:
1717+
bit_size: 2
1718+
variants:
1719+
- name: HSE
1720+
description: HSE32 selected.
1721+
value: 0
1722+
- name: PLL1_P
1723+
description: pll1pclk selected,.
1724+
value: 1
1725+
- name: HSE_DIV_2
1726+
description: HSE32 divided by 2 selected.
1727+
value: 2
1728+
- name: PLL1_P_DIV_2
1729+
description: pll1pclk divided by 2 selected.
1730+
value: 3
17071731
enum/PLLRCLKPRE:
17081732
bit_size: 1
17091733
variants:
@@ -1806,20 +1830,20 @@ enum/RTCSEL:
18061830
enum/SAI1SEL:
18071831
bit_size: 3
18081832
variants:
1809-
- description: pll1pclk selected.
1810-
name: PLL1_P
1833+
- name: PLL1_P
1834+
description: pll1pclk selected.
18111835
value: 0
1812-
- description: pll1qclk selected.
1813-
name: PLL1_Q
1836+
- name: PLL1_Q
1837+
description: pll1qclk selected.
18141838
value: 1
1815-
- description: SYSCLK selected.
1816-
name: SYS
1839+
- name: SYS
1840+
description: SYSCLK selected.
18171841
value: 2
1818-
- description: input pin AUDIOCLK selected.
1819-
name: AUDIOCLK
1842+
- name: AUDIOCLK
1843+
description: input pin AUDIOCLK selected.
18201844
value: 3
1821-
- description: HSI16 clock selected.
1822-
name: HSI
1845+
- name: HSI
1846+
description: HSI16 clock selected.
18231847
value: 4
18241848
enum/SPI1SEL:
18251849
bit_size: 2
@@ -1920,27 +1944,3 @@ enum/USARTSEL:
19201944
- name: LSE
19211945
description: LSE selected
19221946
value: 3
1923-
enum/ASSEL:
1924-
bit_size: 1
1925-
variants:
1926-
- description: pll1pclk selected.
1927-
name: PLL1_P
1928-
value: 0
1929-
- description: pll1qclk selected.
1930-
name: PLL1_Q
1931-
value: 1
1932-
enum/OTGHSSEL:
1933-
bit_size: 2
1934-
variants:
1935-
- description: HSE32 selected.
1936-
name: HSE
1937-
value: 0
1938-
- description: pll1pclk selected,.
1939-
name: PLL1_P
1940-
value: 1
1941-
- description: HSE32 divided by 2 selected.
1942-
name: HSE_DIV_2
1943-
value: 2
1944-
- description: pll1pclk divided by 2 selected.
1945-
name: PLL1_P_DIV_2
1946-
value: 3

0 commit comments

Comments
 (0)