Struct R

Source
pub struct R<U, T> { /* private fields */ }
Expand description

Register/field reader

Result of the read method of a register. Also it can be used in the modify method

Implementations§

Source§

impl<U, T> R<U, T>
where U: Copy,

Source

pub fn bits(&self) -> U

Read raw bits from register/field

Source§

impl<FI> R<bool, FI>

Source

pub fn bit(&self) -> bool

Value of the field as raw bits

Source

pub fn bit_is_clear(&self) -> bool

Returns true if the bit is clear (0)

Source

pub fn bit_is_set(&self) -> bool

Returns true if the bit is set (1)

Source§

impl R<u8, PRIORITY_A>

Source

pub fn variant(&self) -> PRIORITY_A

Get enumerated values variant

Source

pub fn is_never(&self) -> bool

Checks if the value of the field is NEVER

Source

pub fn is_p1(&self) -> bool

Checks if the value of the field is P1

Source

pub fn is_p2(&self) -> bool

Checks if the value of the field is P2

Source

pub fn is_p3(&self) -> bool

Checks if the value of the field is P3

Source

pub fn is_p4(&self) -> bool

Checks if the value of the field is P4

Source

pub fn is_p5(&self) -> bool

Checks if the value of the field is P5

Source

pub fn is_p6(&self) -> bool

Checks if the value of the field is P6

Source

pub fn is_p7(&self) -> bool

Checks if the value of the field is P7

Source§

impl R<u32, Reg<u32, _THRESHOLD>>

Source

pub fn priority(&self) -> PRIORITY_R

Bits 0:2

Source§

impl R<u32, Reg<u32, _TXDATA>>

Source

pub fn data(&self) -> DATA_R

Bits 0:7 - Transmit data

Source

pub fn full(&self) -> FULL_R

Bit 31 - Transmit FIFO full

Source§

impl R<u32, Reg<u32, _RXDATA>>

Source

pub fn data(&self) -> DATA_R

Bits 0:7 - Received data

Source

pub fn empty(&self) -> EMPTY_R

Bit 31 - Receive FIFO empty

Source§

impl R<u32, Reg<u32, _TXCTRL>>

Source

pub fn txen(&self) -> TXEN_R

Bit 0 - Transmit enable

Source

pub fn nstop(&self) -> NSTOP_R

Bit 1 - Number of stop bits

Source

pub fn txcnt(&self) -> TXCNT_R

Bits 16:18 - Transmit watermark level

Source§

impl R<u32, Reg<u32, _RXCTRL>>

Source

pub fn rxen(&self) -> RXEN_R

Bit 0 - Receive enable

Source

pub fn rxcnt(&self) -> RXCNT_R

Bits 16:18 - Receive watermark level

Source§

impl R<u32, Reg<u32, _IE>>

Source

pub fn txwm(&self) -> TXWM_R

Bit 0 - Transmit watermark interrupt enable

Source

pub fn rxwm(&self) -> RXWM_R

Bit 1 - Receive watermark interrupt enable

Source§

impl R<u32, Reg<u32, _IP>>

Source

pub fn txwm(&self) -> TXWM_R

Bit 0 - Transmit watermark interrupt pending

Source

pub fn rxwm(&self) -> RXWM_R

Bit 1 - Receive watermark interrupt pending

Source§

impl R<u32, Reg<u32, _DIV>>

Source

pub fn div(&self) -> DIV_R

Bits 0:15 - Baud rate divisor

Source§

impl R<u32, Reg<u32, _INPUT_VAL>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _INPUT_EN>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _OUTPUT_EN>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _OUTPUT_VAL>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _PULLUP_EN>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _DRIVE>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _RISE_IE>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _RISE_IP>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _FALL_IE>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _FALL_IP>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _HIGH_IE>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _HIGH_IP>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _LOW_IE>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _LOW_IP>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _IOF_EN>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _IOF_SEL>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u32, Reg<u32, _OUTPUT_XOR>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source

pub fn pin8(&self) -> PIN8_R

Bit 8

Source

pub fn pin9(&self) -> PIN9_R

Bit 9

Source

pub fn pin10(&self) -> PIN10_R

Bit 10

Source

pub fn pin11(&self) -> PIN11_R

Bit 11

Source

pub fn pin12(&self) -> PIN12_R

Bit 12

Source

pub fn pin13(&self) -> PIN13_R

Bit 13

Source

pub fn pin14(&self) -> PIN14_R

Bit 14

Source

pub fn pin15(&self) -> PIN15_R

Bit 15

Source

pub fn pin16(&self) -> PIN16_R

Bit 16

Source

pub fn pin17(&self) -> PIN17_R

Bit 17

Source

pub fn pin18(&self) -> PIN18_R

Bit 18

Source

pub fn pin19(&self) -> PIN19_R

Bit 19

Source

pub fn pin20(&self) -> PIN20_R

Bit 20

Source

pub fn pin21(&self) -> PIN21_R

Bit 21

Source

pub fn pin22(&self) -> PIN22_R

Bit 22

Source

pub fn pin23(&self) -> PIN23_R

Bit 23

Source

pub fn pin24(&self) -> PIN24_R

Bit 24

Source

pub fn pin25(&self) -> PIN25_R

Bit 25

Source

pub fn pin26(&self) -> PIN26_R

Bit 26

Source

pub fn pin27(&self) -> PIN27_R

Bit 27

Source

pub fn pin28(&self) -> PIN28_R

Bit 28

Source

pub fn pin29(&self) -> PIN29_R

Bit 29

Source

pub fn pin30(&self) -> PIN30_R

Bit 30

Source

pub fn pin31(&self) -> PIN31_R

Bit 31

Source§

impl R<u64, Reg<u64, _INTERRUPT_STATUS>>

Source

pub fn calc_done(&self) -> CALC_DONE_R

Bit 0 - Interrupt raised when calculation is done

Source

pub fn layer_cfg_almost_empty(&self) -> LAYER_CFG_ALMOST_EMPTY_R

Bit 1 - Interrupt raised when layer arguments FIFO almost empty

Source

pub fn layer_cfg_almost_full(&self) -> LAYER_CFG_ALMOST_FULL_R

Bit 2 - Interrupt raised when layer arguments FIFO almost full

Source§

impl R<u64, Reg<u64, _INTERRUPT_RAW>>

Source

pub fn calc_done(&self) -> CALC_DONE_R

Bit 0 - Interrupt raised when calculation is done

Source

pub fn layer_cfg_almost_empty(&self) -> LAYER_CFG_ALMOST_EMPTY_R

Bit 1 - Interrupt raised when layer arguments FIFO almost empty

Source

pub fn layer_cfg_almost_full(&self) -> LAYER_CFG_ALMOST_FULL_R

Bit 2 - Interrupt raised when layer arguments FIFO almost full

Source§

impl R<u64, Reg<u64, _INTERRUPT_MASK>>

Source

pub fn calc_done(&self) -> CALC_DONE_R

Bit 0 - Interrupt raised when calculation is done

Source

pub fn layer_cfg_almost_empty(&self) -> LAYER_CFG_ALMOST_EMPTY_R

Bit 1 - Interrupt raised when layer arguments FIFO almost empty

Source

pub fn layer_cfg_almost_full(&self) -> LAYER_CFG_ALMOST_FULL_R

Bit 2 - Interrupt raised when layer arguments FIFO almost full

Source§

impl R<u64, Reg<u64, _INTERRUPT_CLEAR>>

Source

pub fn calc_done(&self) -> CALC_DONE_R

Bit 0 - Interrupt raised when calculation is done

Source

pub fn layer_cfg_almost_empty(&self) -> LAYER_CFG_ALMOST_EMPTY_R

Bit 1 - Interrupt raised when layer arguments FIFO almost empty

Source

pub fn layer_cfg_almost_full(&self) -> LAYER_CFG_ALMOST_FULL_R

Bit 2 - Interrupt raised when layer arguments FIFO almost full

Source§

impl R<u64, Reg<u64, _FIFO_THRESHOLD>>

Source

pub fn full_threshold(&self) -> FULL_THRESHOLD_R

Bits 0:3 - FIFO full threshold

Source

pub fn empty_threshold(&self) -> EMPTY_THRESHOLD_R

Bits 4:7 - FIFO empty threshold

Source§

impl R<u64, Reg<u64, _FIFO_CTRL>>

Source

pub fn dma_fifo_flush_n(&self) -> DMA_FIFO_FLUSH_N_R

Bit 0 - Flush DMA FIFO

Source

pub fn gs_fifo_flush_n(&self) -> GS_FIFO_FLUSH_N_R

Bit 1 - Flush GS FIFO

Source

pub fn cfg_fifo_flush_n(&self) -> CFG_FIFO_FLUSH_N_R

Bit 2 - Flush configuration FIFO

Source

pub fn cmd_fifo_flush_n(&self) -> CMD_FIFO_FLUSH_N_R

Bit 3 - Flush command FIFO

Source

pub fn resp_fifo_flush_n(&self) -> RESP_FIFO_FLUSH_N_R

Bit 4 - Flush response FIFO

Source§

impl R<u64, Reg<u64, _EIGHT_BIT_MODE>>

Source

pub fn eight_bit_mode(&self) -> EIGHT_BIT_MODE_R

Bit 0 - Use 8-bit instead of 16-bit precision if set

Source§

impl R<u8, POINT_A>

Source

pub fn variant(&self) -> Variant<u8, POINT_A>

Get enumerated values variant

Source

pub fn is_p512(&self) -> bool

Checks if the value of the field is P512

Source

pub fn is_p256(&self) -> bool

Checks if the value of the field is P256

Source

pub fn is_p128(&self) -> bool

Checks if the value of the field is P128

Source

pub fn is_p64(&self) -> bool

Checks if the value of the field is P64

Source§

impl R<bool, MODE_A>

Source

pub fn variant(&self) -> MODE_A

Get enumerated values variant

Source

pub fn is_fft(&self) -> bool

Checks if the value of the field is FFT

Source

pub fn is_ifft(&self) -> bool

Checks if the value of the field is IFFT

Source§

impl R<u8, INPUT_MODE_A>

Source

pub fn variant(&self) -> Variant<u8, INPUT_MODE_A>

Get enumerated values variant

Source

pub fn is_riri(&self) -> bool

Checks if the value of the field is RIRI

Source

pub fn is_rrrr(&self) -> bool

Checks if the value of the field is RRRR

Source

pub fn is_rrii(&self) -> bool

Checks if the value of the field is RRII

Source§

impl R<bool, DATA_MODE_A>

Source

pub fn variant(&self) -> DATA_MODE_A

Get enumerated values variant

Source

pub fn is_width_64(&self) -> bool

Checks if the value of the field is WIDTH_64

Source

pub fn is_width_128(&self) -> bool

Checks if the value of the field is WIDTH_128

Source§

impl R<u64, Reg<u64, _CTRL>>

Source

pub fn point(&self) -> POINT_R

Bits 0:2 - FFT calculation data length

Source

pub fn mode(&self) -> MODE_R

Bit 3 - FFT mode

Source

pub fn shift(&self) -> SHIFT_R

Bits 4:12 - Corresponding to the nine layer butterfly shift operation, 0x0: does not shift; 0x1: shift 1st layer. …

Source

pub fn enable(&self) -> ENABLE_R

Bit 13 - FFT enable

Source

pub fn dma_send(&self) -> DMA_SEND_R

Bit 14 - FFT DMA enable

Source

pub fn input_mode(&self) -> INPUT_MODE_R

Bits 15:16 - Input data arrangement

Source

pub fn data_mode(&self) -> DATA_MODE_R

Bit 17 - Effective width of input data

Source§

impl R<u64, Reg<u64, _FIFO_CTRL>>

Source

pub fn resp_fifo_flush(&self) -> RESP_FIFO_FLUSH_R

Bit 0 - Response memory initialization flag

Source

pub fn cmd_fifo_flush(&self) -> CMD_FIFO_FLUSH_R

Bit 1 - Command memory initialization flag

Source

pub fn gs_fifo_flush(&self) -> GS_FIFO_FLUSH_R

Bit 2 - Output interface memory initialization flag

Source§

impl R<u64, Reg<u64, _INTERRUPTMASK>>

Source

pub fn fft_done(&self) -> FFT_DONE_R

Bit 0 - FFT done

Source§

impl R<u64, Reg<u64, _INTR_CLEAR>>

Source

pub fn fft_done(&self) -> FFT_DONE_R

Bit 0 - FFT done

Source§

impl R<u64, Reg<u64, _STATUS>>

Source

pub fn fft_done(&self) -> FFT_DONE_R

Bit 0 - FFT done

Source§

impl R<u64, Reg<u64, _STATUS_RAW>>

Source

pub fn fft_done(&self) -> FFT_DONE_R

Bit 0 - FFT done

Source

pub fn fft_work(&self) -> FFT_WORK_R

Bit 1 - FFT work

Source§

impl R<u64, Reg<u64, _BLOCK_TS>>

Source

pub fn block_ts(&self) -> BLOCK_TS_R

Bits 0:21 - Block transfer size

Source§

impl R<bool, SMS_A>

Source

pub fn variant(&self) -> SMS_A

Get enumerated values variant

Source

pub fn is_axi_master_1(&self) -> bool

Checks if the value of the field is AXI_MASTER_1

Source

pub fn is_axi_master_2(&self) -> bool

Checks if the value of the field is AXI_MASTER_2

Source§

impl R<bool, SINC_A>

Source

pub fn variant(&self) -> SINC_A

Get enumerated values variant

Source

pub fn is_increment(&self) -> bool

Checks if the value of the field is INCREMENT

Source

pub fn is_nochange(&self) -> bool

Checks if the value of the field is NOCHANGE

Source§

impl R<u8, SRC_TR_WIDTH_A>

Source

pub fn variant(&self) -> Variant<u8, SRC_TR_WIDTH_A>

Get enumerated values variant

Source

pub fn is_width_8(&self) -> bool

Checks if the value of the field is WIDTH_8

Source

pub fn is_width_16(&self) -> bool

Checks if the value of the field is WIDTH_16

Source

pub fn is_width_32(&self) -> bool

Checks if the value of the field is WIDTH_32

Source

pub fn is_width_64(&self) -> bool

Checks if the value of the field is WIDTH_64

Source

pub fn is_width_128(&self) -> bool

Checks if the value of the field is WIDTH_128

Source

pub fn is_width_256(&self) -> bool

Checks if the value of the field is WIDTH_256

Source

pub fn is_width_512(&self) -> bool

Checks if the value of the field is WIDTH_512

Source§

impl R<u8, SRC_MSIZE_A>

Source

pub fn variant(&self) -> Variant<u8, SRC_MSIZE_A>

Get enumerated values variant

Source

pub fn is_length_1(&self) -> bool

Checks if the value of the field is LENGTH_1

Source

pub fn is_length_4(&self) -> bool

Checks if the value of the field is LENGTH_4

Source

pub fn is_length_8(&self) -> bool

Checks if the value of the field is LENGTH_8

Source

pub fn is_length_16(&self) -> bool

Checks if the value of the field is LENGTH_16

Source

pub fn is_length_32(&self) -> bool

Checks if the value of the field is LENGTH_32

Source

pub fn is_length_64(&self) -> bool

Checks if the value of the field is LENGTH_64

Source

pub fn is_length_128(&self) -> bool

Checks if the value of the field is LENGTH_128

Source

pub fn is_length_256(&self) -> bool

Checks if the value of the field is LENGTH_256

Source

pub fn is_length_512(&self) -> bool

Checks if the value of the field is LENGTH_512

Source

pub fn is_length_1024(&self) -> bool

Checks if the value of the field is LENGTH_1024

Source§

impl R<u64, Reg<u64, _CTL>>

Source

pub fn sms(&self) -> SMS_R

Bit 0 - Source master select

Source

pub fn dms(&self) -> DMS_R

Bit 2 - Destination master select

Source

pub fn sinc(&self) -> SINC_R

Bit 4 - Source address increment

Source

pub fn dinc(&self) -> DINC_R

Bit 6 - Destination address increment

Source

pub fn src_tr_width(&self) -> SRC_TR_WIDTH_R

Bits 8:10 - Source transfer width

Source

pub fn dst_tr_width(&self) -> DST_TR_WIDTH_R

Bits 11:13 - Destination transfer width

Source

pub fn src_msize(&self) -> SRC_MSIZE_R

Bits 14:17 - Source burst transaction length

Source

pub fn dst_msize(&self) -> DST_MSIZE_R

Bits 18:21 - Destination burst transaction length

Source

pub fn nonposted_lastwrite_en(&self) -> NONPOSTED_LASTWRITE_EN_R

Bit 30 - Non Posted Last Write Enable (posted writes may be used till the end of the block)

Source

pub fn arlen_en(&self) -> ARLEN_EN_R

Bit 38 - Source burst length enable

Source

pub fn arlen(&self) -> ARLEN_R

Bits 39:46 - Source burst length

Source

pub fn awlen_en(&self) -> AWLEN_EN_R

Bit 47 - Destination burst length enable

Source

pub fn awlen(&self) -> AWLEN_R

Bits 48:55 - Destination burst length

Source

pub fn src_stat_en(&self) -> SRC_STAT_EN_R

Bit 56 - Source status enable

Source

pub fn dst_stat_en(&self) -> DST_STAT_EN_R

Bit 57 - Destination status enable

Source

pub fn ioc_blktfr(&self) -> IOC_BLKTFR_R

Bit 58 - Interrupt completion of block transfer

Source

pub fn shadowreg_or_lli_last(&self) -> SHADOWREG_OR_LLI_LAST_R

Bit 62 - Last shadow linked list item (indicates shadowreg/LLI content is the last one)

Source

pub fn shadowreg_or_lli_valid(&self) -> SHADOWREG_OR_LLI_VALID_R

Bit 63 - last shadow linked list item valid (indicate shadowreg/LLI content is valid)

Source§

impl R<u8, SRC_MULTBLK_TYPE_A>

Source

pub fn variant(&self) -> SRC_MULTBLK_TYPE_A

Get enumerated values variant

Source

pub fn is_contiguous(&self) -> bool

Checks if the value of the field is CONTIGUOUS

Source

pub fn is_reload(&self) -> bool

Checks if the value of the field is RELOAD

Source

pub fn is_shadow_register(&self) -> bool

Checks if the value of the field is SHADOW_REGISTER

Source

pub fn is_linked_list(&self) -> bool

Checks if the value of the field is LINKED_LIST

Source§

impl R<u8, TT_FC_A>

Source

pub fn variant(&self) -> TT_FC_A

Get enumerated values variant

Source

pub fn is_mem2mem_dma(&self) -> bool

Checks if the value of the field is MEM2MEM_DMA

Source

pub fn is_mem2prf_dma(&self) -> bool

Checks if the value of the field is MEM2PRF_DMA

Source

pub fn is_prf2mem_dma(&self) -> bool

Checks if the value of the field is PRF2MEM_DMA

Source

pub fn is_prf2prf_dma(&self) -> bool

Checks if the value of the field is PRF2PRF_DMA

Source

pub fn is_prf2mem_prf(&self) -> bool

Checks if the value of the field is PRF2MEM_PRF

Source

pub fn is_prf2prf_srcprf(&self) -> bool

Checks if the value of the field is PRF2PRF_SRCPRF

Source

pub fn is_mem2prf_prf(&self) -> bool

Checks if the value of the field is MEM2PRF_PRF

Source

pub fn is_prf2prf_dstprf(&self) -> bool

Checks if the value of the field is PRF2PRF_DSTPRF

Source§

impl R<bool, HS_SEL_SRC_A>

Source

pub fn variant(&self) -> HS_SEL_SRC_A

Get enumerated values variant

Source

pub fn is_hardware(&self) -> bool

Checks if the value of the field is HARDWARE

Source

pub fn is_software(&self) -> bool

Checks if the value of the field is SOFTWARE

Source§

impl R<bool, SRC_HWHS_POL_A>

Source

pub fn variant(&self) -> SRC_HWHS_POL_A

Get enumerated values variant

Source

pub fn is_active_high(&self) -> bool

Checks if the value of the field is ACTIVE_HIGH

Source

pub fn is_active_low(&self) -> bool

Checks if the value of the field is ACTIVE_LOW

Source§

impl R<u8, LOCK_CH_L_A>

Source

pub fn variant(&self) -> Variant<u8, LOCK_CH_L_A>

Get enumerated values variant

Source

pub fn is_dma_transfer(&self) -> bool

Checks if the value of the field is DMA_TRANSFER

Source

pub fn is_block_transfer(&self) -> bool

Checks if the value of the field is BLOCK_TRANSFER

Source

pub fn is_transaction(&self) -> bool

Checks if the value of the field is TRANSACTION

Source§

impl R<u64, Reg<u64, _CFG>>

Source

pub fn src_multblk_type(&self) -> SRC_MULTBLK_TYPE_R

Bits 0:1 - Source multi-block transfer type

Source

pub fn dst_multblk_type(&self) -> DST_MULTBLK_TYPE_R

Bits 2:3 - Destination multi-block transfer type

Source

pub fn tt_fc(&self) -> TT_FC_R

Bits 32:34 - Transfer type and flow control

Source

pub fn hs_sel_src(&self) -> HS_SEL_SRC_R

Bit 35 - Source software or hardware handshaking select

Source

pub fn hs_sel_dst(&self) -> HS_SEL_DST_R

Bit 36 - Destination software or hardware handshaking select

Source

pub fn src_hwhs_pol(&self) -> SRC_HWHS_POL_R

Bit 37 - Source hardware handshaking interface polarity

Source

pub fn dst_hwhs_pol(&self) -> DST_HWHS_POL_R

Bit 38 - Destination hardware handshaking interface polarity

Source

pub fn src_per(&self) -> SRC_PER_R

Bits 39:42 - Assign a hardware handshaking interface to source of channel

Source

pub fn dst_per(&self) -> DST_PER_R

Bits 44:47 - Assign a hardware handshaking interface to destination of channel

Source

pub fn ch_prior(&self) -> CH_PRIOR_R

Bits 49:51 - Channel priority (7 is highest, 0 is lowest)

Source

pub fn lock_ch(&self) -> LOCK_CH_R

Bit 52 - Channel lock bit

Source

pub fn lock_ch_l(&self) -> LOCK_CH_L_R

Bits 53:54 - Channel lock level

Source

pub fn src_osr_lmt(&self) -> SRC_OSR_LMT_R

Bits 55:58 - Source outstanding request limit

Source

pub fn dst_osr_lmt(&self) -> DST_OSR_LMT_R

Bits 59:62 - Destination outstanding request limit

Source§

impl R<u64, Reg<u64, _LLP>>

Source

pub fn lms(&self) -> LMS_R

Bit 0 - LLI master select

Source

pub fn loc(&self) -> LOC_R

Bits 6:63 - Starting address memeory of LLI block

Source§

impl R<u64, Reg<u64, _STATUS>>

Source

pub fn cmpltd_blk_size(&self) -> CMPLTD_BLK_SIZE_R

Bits 0:21 - Completed block transfer size

Source§

impl R<u64, Reg<u64, _SWHSSRC>>

Source

pub fn req(&self) -> REQ_R

Bit 0 - Software handshake request for channel source

Source

pub fn req_we(&self) -> REQ_WE_R

Bit 1 - Write enable bit for software handshake request

Source

pub fn sglreq(&self) -> SGLREQ_R

Bit 2 - Software handshake single request for channel source

Source

pub fn sglreq_we(&self) -> SGLREQ_WE_R

Bit 3 - Write enable bit for software handshake

Source

pub fn lst(&self) -> LST_R

Bit 4 - Software handshake last request for channel source

Source

pub fn lst_we(&self) -> LST_WE_R

Bit 5 - Write enable bit for software handshake last request

Source§

impl R<u64, Reg<u64, _SWHSDST>>

Source

pub fn req(&self) -> REQ_R

Bit 0 - Software handshake request for channel destination

Source

pub fn req_we(&self) -> REQ_WE_R

Bit 1 - Write enable bit for software handshake request

Source

pub fn sglreq(&self) -> SGLREQ_R

Bit 2 - Software handshake single request for channel destination

Source

pub fn sglreq_we(&self) -> SGLREQ_WE_R

Bit 3 - Write enable bit for software handshake

Source

pub fn lst(&self) -> LST_R

Bit 4 - Software handshake last request for channel destination

Source

pub fn lst_we(&self) -> LST_WE_R

Bit 5 - Write enable bit for software handshake last request

Source§

impl R<u64, Reg<u64, _BLK_TFR>>

Source

pub fn resumereq(&self) -> RESUMEREQ_R

Bit 0 - Block transfer resume request

Source§

impl R<u64, Reg<u64, _INTSTATUS_EN>>

Source

pub fn block_tfr_done(&self) -> BLOCK_TFR_DONE_R

Bit 0 - Block transfer done

Source

pub fn tfr_done(&self) -> TFR_DONE_R

Bit 1 - Transfer done

Source

pub fn src_transcomp(&self) -> SRC_TRANSCOMP_R

Bit 3 - Source transaction complete

Source

pub fn dst_transcomp(&self) -> DST_TRANSCOMP_R

Bit 4 - Destination transaction complete

Source

pub fn src_dec_err(&self) -> SRC_DEC_ERR_R

Bit 5 - Source Decode Error

Source

pub fn dst_dec_err(&self) -> DST_DEC_ERR_R

Bit 6 - Destination Decode Error

Source

pub fn src_slv_err(&self) -> SRC_SLV_ERR_R

Bit 7 - Source Slave Error

Source

pub fn dst_slv_err(&self) -> DST_SLV_ERR_R

Bit 8 - Destination Slave Error

Source

pub fn lli_rd_dec_err(&self) -> LLI_RD_DEC_ERR_R

Bit 9 - LLI Read Decode Error Status Enable

Source

pub fn lli_wr_dec_err(&self) -> LLI_WR_DEC_ERR_R

Bit 10 - LLI WRITE Decode Error

Source

pub fn lli_rd_slv_err(&self) -> LLI_RD_SLV_ERR_R

Bit 11 - LLI Read Slave Error

Source

pub fn lli_wr_slv_err(&self) -> LLI_WR_SLV_ERR_R

Bit 12 - LLI WRITE Slave Error

Source§

impl R<u64, Reg<u64, _INTSTATUS>>

Source

pub fn block_tfr_done(&self) -> BLOCK_TFR_DONE_R

Bit 0 - Block transfer done

Source

pub fn tfr_done(&self) -> TFR_DONE_R

Bit 1 - Transfer done

Source

pub fn src_transcomp(&self) -> SRC_TRANSCOMP_R

Bit 3 - Source transaction complete

Source

pub fn dst_transcomp(&self) -> DST_TRANSCOMP_R

Bit 4 - Destination transaction complete

Source

pub fn src_dec_err(&self) -> SRC_DEC_ERR_R

Bit 5 - Source Decode Error

Source

pub fn dst_dec_err(&self) -> DST_DEC_ERR_R

Bit 6 - Destination Decode Error

Source

pub fn src_slv_err(&self) -> SRC_SLV_ERR_R

Bit 7 - Source Slave Error

Source

pub fn dst_slv_err(&self) -> DST_SLV_ERR_R

Bit 8 - Destination Slave Error

Source

pub fn lli_rd_dec_err(&self) -> LLI_RD_DEC_ERR_R

Bit 9 - LLI Read Decode Error Status Enable

Source

pub fn lli_wr_dec_err(&self) -> LLI_WR_DEC_ERR_R

Bit 10 - LLI WRITE Decode Error

Source

pub fn lli_rd_slv_err(&self) -> LLI_RD_SLV_ERR_R

Bit 11 - LLI Read Slave Error

Source

pub fn lli_wr_slv_err(&self) -> LLI_WR_SLV_ERR_R

Bit 12 - LLI WRITE Slave Error

Source§

impl R<u64, Reg<u64, _INTSIGNAL_EN>>

Source

pub fn block_tfr_done(&self) -> BLOCK_TFR_DONE_R

Bit 0 - Block transfer done

Source

pub fn tfr_done(&self) -> TFR_DONE_R

Bit 1 - Transfer done

Source

pub fn src_transcomp(&self) -> SRC_TRANSCOMP_R

Bit 3 - Source transaction complete

Source

pub fn dst_transcomp(&self) -> DST_TRANSCOMP_R

Bit 4 - Destination transaction complete

Source

pub fn src_dec_err(&self) -> SRC_DEC_ERR_R

Bit 5 - Source Decode Error

Source

pub fn dst_dec_err(&self) -> DST_DEC_ERR_R

Bit 6 - Destination Decode Error

Source

pub fn src_slv_err(&self) -> SRC_SLV_ERR_R

Bit 7 - Source Slave Error

Source

pub fn dst_slv_err(&self) -> DST_SLV_ERR_R

Bit 8 - Destination Slave Error

Source

pub fn lli_rd_dec_err(&self) -> LLI_RD_DEC_ERR_R

Bit 9 - LLI Read Decode Error Status Enable

Source

pub fn lli_wr_dec_err(&self) -> LLI_WR_DEC_ERR_R

Bit 10 - LLI WRITE Decode Error

Source

pub fn lli_rd_slv_err(&self) -> LLI_RD_SLV_ERR_R

Bit 11 - LLI Read Slave Error

Source

pub fn lli_wr_slv_err(&self) -> LLI_WR_SLV_ERR_R

Bit 12 - LLI WRITE Slave Error

Source§

impl R<u64, Reg<u64, _INTCLEAR>>

Source

pub fn block_tfr_done(&self) -> BLOCK_TFR_DONE_R

Bit 0 - Block transfer done

Source

pub fn tfr_done(&self) -> TFR_DONE_R

Bit 1 - Transfer done

Source

pub fn src_transcomp(&self) -> SRC_TRANSCOMP_R

Bit 3 - Source transaction complete

Source

pub fn dst_transcomp(&self) -> DST_TRANSCOMP_R

Bit 4 - Destination transaction complete

Source

pub fn src_dec_err(&self) -> SRC_DEC_ERR_R

Bit 5 - Source Decode Error

Source

pub fn dst_dec_err(&self) -> DST_DEC_ERR_R

Bit 6 - Destination Decode Error

Source

pub fn src_slv_err(&self) -> SRC_SLV_ERR_R

Bit 7 - Source Slave Error

Source

pub fn dst_slv_err(&self) -> DST_SLV_ERR_R

Bit 8 - Destination Slave Error

Source

pub fn lli_rd_dec_err(&self) -> LLI_RD_DEC_ERR_R

Bit 9 - LLI Read Decode Error Status Enable

Source

pub fn lli_wr_dec_err(&self) -> LLI_WR_DEC_ERR_R

Bit 10 - LLI WRITE Decode Error

Source

pub fn lli_rd_slv_err(&self) -> LLI_RD_SLV_ERR_R

Bit 11 - LLI Read Slave Error

Source

pub fn lli_wr_slv_err(&self) -> LLI_WR_SLV_ERR_R

Bit 12 - LLI WRITE Slave Error

Source§

impl R<u64, Reg<u64, _CFG>>

Source

pub fn dmac_en(&self) -> DMAC_EN_R

Bit 0 - Enable DMAC

Source

pub fn int_en(&self) -> INT_EN_R

Bit 1 - Globally enable interrupt generation

Source§

impl R<u64, Reg<u64, _CHEN>>

Source

pub fn ch1_en(&self) -> CH1_EN_R

Bit 0 - Enable channel 1

Source

pub fn ch2_en(&self) -> CH2_EN_R

Bit 1 - Enable channel 2

Source

pub fn ch3_en(&self) -> CH3_EN_R

Bit 2 - Enable channel 3

Source

pub fn ch4_en(&self) -> CH4_EN_R

Bit 3 - Enable channel 4

Source

pub fn ch5_en(&self) -> CH5_EN_R

Bit 4 - Enable channel 5

Source

pub fn ch6_en(&self) -> CH6_EN_R

Bit 5 - Enable channel 6

Source

pub fn ch1_en_we(&self) -> CH1_EN_WE_R

Bit 8 - Write enable channel 1

Source

pub fn ch2_en_we(&self) -> CH2_EN_WE_R

Bit 9 - Write enable channel 2

Source

pub fn ch3_en_we(&self) -> CH3_EN_WE_R

Bit 10 - Write enable channel 3

Source

pub fn ch4_en_we(&self) -> CH4_EN_WE_R

Bit 11 - Write enable channel 4

Source

pub fn ch5_en_we(&self) -> CH5_EN_WE_R

Bit 12 - Write enable channel 5

Source

pub fn ch6_en_we(&self) -> CH6_EN_WE_R

Bit 13 - Write enable channel 6

Source

pub fn ch1_susp(&self) -> CH1_SUSP_R

Bit 16 - Suspend request channel 1

Source

pub fn ch2_susp(&self) -> CH2_SUSP_R

Bit 17 - Suspend request channel 2

Source

pub fn ch3_susp(&self) -> CH3_SUSP_R

Bit 18 - Suspend request channel 3

Source

pub fn ch4_susp(&self) -> CH4_SUSP_R

Bit 19 - Suspend request channel 4

Source

pub fn ch5_susp(&self) -> CH5_SUSP_R

Bit 20 - Suspend request channel 5

Source

pub fn ch6_susp(&self) -> CH6_SUSP_R

Bit 21 - Suspend request channel 6

Source

pub fn ch1_susp_we(&self) -> CH1_SUSP_WE_R

Bit 24 - Enable write to ch1_susp bit

Source

pub fn ch2_susp_we(&self) -> CH2_SUSP_WE_R

Bit 25 - Enable write to ch2_susp bit

Source

pub fn ch3_susp_we(&self) -> CH3_SUSP_WE_R

Bit 26 - Enable write to ch3_susp bit

Source

pub fn ch4_susp_we(&self) -> CH4_SUSP_WE_R

Bit 27 - Enable write to ch4_susp bit

Source

pub fn ch5_susp_we(&self) -> CH5_SUSP_WE_R

Bit 28 - Enable write to ch5_susp bit

Source

pub fn ch6_susp_we(&self) -> CH6_SUSP_WE_R

Bit 29 - Enable write to ch6_susp bit

Source

pub fn ch1_abort(&self) -> CH1_ABORT_R

Bit 32 - Abort request channel 1

Source

pub fn ch2_abort(&self) -> CH2_ABORT_R

Bit 33 - Abort request channel 2

Source

pub fn ch3_abort(&self) -> CH3_ABORT_R

Bit 34 - Abort request channel 3

Source

pub fn ch4_abort(&self) -> CH4_ABORT_R

Bit 35 - Abort request channel 4

Source

pub fn ch5_abort(&self) -> CH5_ABORT_R

Bit 36 - Abort request channel 5

Source

pub fn ch6_abort(&self) -> CH6_ABORT_R

Bit 37 - Abort request channel 6

Source

pub fn ch1_abort_we(&self) -> CH1_ABORT_WE_R

Bit 40 - Enable write to ch1_abort bit

Source

pub fn ch2_abort_we(&self) -> CH2_ABORT_WE_R

Bit 41 - Enable write to ch2_abort bit

Source

pub fn ch3_abort_we(&self) -> CH3_ABORT_WE_R

Bit 42 - Enable write to ch3_abort bit

Source

pub fn ch4_abort_we(&self) -> CH4_ABORT_WE_R

Bit 43 - Enable write to ch4_abort bit

Source

pub fn ch5_abort_we(&self) -> CH5_ABORT_WE_R

Bit 44 - Enable write to ch5_abort bit

Source

pub fn ch6_abort_we(&self) -> CH6_ABORT_WE_R

Bit 45 - Enable write to ch6_abort bit

Source§

impl R<u64, Reg<u64, _INTSTATUS>>

Source

pub fn ch1_intstat(&self) -> CH1_INTSTAT_R

Bit 0 - Channel 1 interrupt bit

Source

pub fn ch2_intstat(&self) -> CH2_INTSTAT_R

Bit 1 - Channel 2 interrupt bit

Source

pub fn ch3_intstat(&self) -> CH3_INTSTAT_R

Bit 2 - Channel 3 interrupt bit

Source

pub fn ch4_intstat(&self) -> CH4_INTSTAT_R

Bit 3 - Channel 4 interrupt bit

Source

pub fn ch5_intstat(&self) -> CH5_INTSTAT_R

Bit 4 - Channel 5 interrupt bit

Source

pub fn ch6_intstat(&self) -> CH6_INTSTAT_R

Bit 5 - Channel 6 interrupt bit

Source

pub fn commonreg_intstat(&self) -> COMMONREG_INTSTAT_R

Bit 16 - Common register status bit

Source§

impl R<u64, Reg<u64, _COM_INTCLEAR>>

Source

pub fn slvif_dec_err(&self) -> SLVIF_DEC_ERR_R

Bit 0 - Clear slvif_dec_err interrupt in com_intstatus

Source

pub fn slvif_wr2ro_err(&self) -> SLVIF_WR2RO_ERR_R

Bit 1 - Clear slvif_wr2ro_err interrupt in com_intstatus

Source

pub fn slvif_rd2wo_err(&self) -> SLVIF_RD2WO_ERR_R

Bit 2 - Clear slvif_rd2wo_err interrupt in com_intstatus

Source

pub fn slvif_wronhold_err(&self) -> SLVIF_WRONHOLD_ERR_R

Bit 3 - Clear slvif_wronhold_err interrupt in com_intstatus

Source

pub fn slvif_undefinedreg_dec_err(&self) -> SLVIF_UNDEFINEDREG_DEC_ERR_R

Bit 8 - Clear slvif_undefinedreg_dec_err in com_intstatus

Source§

impl R<u64, Reg<u64, _COM_INTSTATUS_EN>>

Source

pub fn slvif_dec_err(&self) -> SLVIF_DEC_ERR_R

Bit 0 - Slave Interface Common Register Decode Error

Source

pub fn slvif_wr2ro_err(&self) -> SLVIF_WR2RO_ERR_R

Bit 1 - Slave Interface Common Register Write to Read only Error

Source

pub fn slvif_rd2wo_err(&self) -> SLVIF_RD2WO_ERR_R

Bit 2 - Slave Interface Common Register Read to Write-only Error

Source

pub fn slvif_wronhold_err(&self) -> SLVIF_WRONHOLD_ERR_R

Bit 3 - Slave Interface Common Register Write On Hold Error

Source

pub fn slvif_undefinedreg_dec_err(&self) -> SLVIF_UNDEFINEDREG_DEC_ERR_R

Bit 8 - Slave Interface Undefined Register Decode Error

Source§

impl R<u64, Reg<u64, _COM_INTSIGNAL_EN>>

Source

pub fn slvif_dec_err(&self) -> SLVIF_DEC_ERR_R

Bit 0 - Slave Interface Common Register Decode Error

Source

pub fn slvif_wr2ro_err(&self) -> SLVIF_WR2RO_ERR_R

Bit 1 - Slave Interface Common Register Write to Read only Error

Source

pub fn slvif_rd2wo_err(&self) -> SLVIF_RD2WO_ERR_R

Bit 2 - Slave Interface Common Register Read to Write-only Error

Source

pub fn slvif_wronhold_err(&self) -> SLVIF_WRONHOLD_ERR_R

Bit 3 - Slave Interface Common Register Write On Hold Error

Source

pub fn slvif_undefinedreg_dec_err(&self) -> SLVIF_UNDEFINEDREG_DEC_ERR_R

Bit 8 - Slave Interface Undefined Register Decode Error

Source§

impl R<u64, Reg<u64, _COM_INTSTATUS>>

Source

pub fn slvif_dec_err(&self) -> SLVIF_DEC_ERR_R

Bit 0 - Slave Interface Common Register Decode Error

Source

pub fn slvif_wr2ro_err(&self) -> SLVIF_WR2RO_ERR_R

Bit 1 - Slave Interface Common Register Write to Read only Error

Source

pub fn slvif_rd2wo_err(&self) -> SLVIF_RD2WO_ERR_R

Bit 2 - Slave Interface Common Register Read to Write-only Error

Source

pub fn slvif_wronhold_err(&self) -> SLVIF_WRONHOLD_ERR_R

Bit 3 - Slave Interface Common Register Write On Hold Error

Source

pub fn slvif_undefinedreg_dec_err(&self) -> SLVIF_UNDEFINEDREG_DEC_ERR_R

Bit 8 - Slave Interface Undefined Register Decode Error

Source§

impl R<u64, Reg<u64, _RESET>>

Source

pub fn rst(&self) -> RST_R

Bit 0 - DMAC reset request bit

Source§

impl R<u32, Reg<u32, _DATA_OUTPUT>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source§

impl R<bool, PIN0_A>

Source

pub fn variant(&self) -> PIN0_A

Get enumerated values variant

Source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

Source§

impl R<u32, Reg<u32, _DIRECTION>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source§

impl R<u32, Reg<u32, _DATA_INPUT>>

Source

pub fn pin0(&self) -> PIN0_R

Bit 0

Source

pub fn pin1(&self) -> PIN1_R

Bit 1

Source

pub fn pin2(&self) -> PIN2_R

Bit 2

Source

pub fn pin3(&self) -> PIN3_R

Bit 3

Source

pub fn pin4(&self) -> PIN4_R

Bit 4

Source

pub fn pin5(&self) -> PIN5_R

Bit 5

Source

pub fn pin6(&self) -> PIN6_R

Bit 6

Source

pub fn pin7(&self) -> PIN7_R

Bit 7

Source§

impl R<u8, WORK_MODE_A>

Source

pub fn variant(&self) -> WORK_MODE_A

Get enumerated values variant

Source

pub fn is_mode0(&self) -> bool

Checks if the value of the field is MODE0

Source

pub fn is_mode1(&self) -> bool

Checks if the value of the field is MODE1

Source

pub fn is_mode2(&self) -> bool

Checks if the value of the field is MODE2

Source

pub fn is_mode3(&self) -> bool

Checks if the value of the field is MODE3

Source§

impl R<u8, TMOD_A>

Source

pub fn variant(&self) -> TMOD_A

Get enumerated values variant

Source

pub fn is_trans_recv(&self) -> bool

Checks if the value of the field is TRANS_RECV

Source

pub fn is_trans(&self) -> bool

Checks if the value of the field is TRANS

Source

pub fn is_recv(&self) -> bool

Checks if the value of the field is RECV

Source

pub fn is_eerom(&self) -> bool

Checks if the value of the field is EEROM

Source§

impl R<u8, FRAME_FORMAT_A>

Source

pub fn variant(&self) -> FRAME_FORMAT_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_dual(&self) -> bool

Checks if the value of the field is DUAL

Source

pub fn is_quad(&self) -> bool

Checks if the value of the field is QUAD

Source

pub fn is_octal(&self) -> bool

Checks if the value of the field is OCTAL

Source§

impl R<u32, Reg<u32, _CTRLR0>>

Source

pub fn work_mode(&self) -> WORK_MODE_R

Bits 6:7 - WORK_MODE

Source

pub fn tmod(&self) -> TMOD_R

Bits 8:9 - TRANSFER_MODE

Source

pub fn frame_format(&self) -> FRAME_FORMAT_R

Bits 21:22 - FRAME_FORMAT

Source

pub fn data_length(&self) -> DATA_LENGTH_R

Bits 16:20 - DATA_BIT_LENGTH

Source§

impl R<u8, AITM_A>

Source

pub fn variant(&self) -> Variant<u8, AITM_A>

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_addr_standard(&self) -> bool

Checks if the value of the field is ADDR_STANDARD

Source

pub fn is_as_frame_format(&self) -> bool

Checks if the value of the field is AS_FRAME_FORMAT

Source§

impl R<u32, Reg<u32, _SPI_CTRLR0>>

Source

pub fn aitm(&self) -> AITM_R

Bits 0:1 - instruction_address_trans_mode

Source

pub fn addr_length(&self) -> ADDR_LENGTH_R

Bits 2:5 - ADDR_LENGTH

Source

pub fn inst_length(&self) -> INST_LENGTH_R

Bits 8:9 - INSTRUCTION_LENGTH

Source

pub fn wait_cycles(&self) -> WAIT_CYCLES_R

Bits 11:15 - WAIT_CYCLES

Source§

impl R<u8, WORK_MODE_A>

Source

pub fn variant(&self) -> WORK_MODE_A

Get enumerated values variant

Source

pub fn is_mode0(&self) -> bool

Checks if the value of the field is MODE0

Source

pub fn is_mode1(&self) -> bool

Checks if the value of the field is MODE1

Source

pub fn is_mode2(&self) -> bool

Checks if the value of the field is MODE2

Source

pub fn is_mode3(&self) -> bool

Checks if the value of the field is MODE3

Source§

impl R<u8, TMOD_A>

Source

pub fn variant(&self) -> TMOD_A

Get enumerated values variant

Source

pub fn is_trans_recv(&self) -> bool

Checks if the value of the field is TRANS_RECV

Source

pub fn is_trans(&self) -> bool

Checks if the value of the field is TRANS

Source

pub fn is_recv(&self) -> bool

Checks if the value of the field is RECV

Source

pub fn is_eerom(&self) -> bool

Checks if the value of the field is EEROM

Source§

impl R<u8, FRAME_FORMAT_A>

Source

pub fn variant(&self) -> FRAME_FORMAT_A

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_dual(&self) -> bool

Checks if the value of the field is DUAL

Source

pub fn is_quad(&self) -> bool

Checks if the value of the field is QUAD

Source

pub fn is_octal(&self) -> bool

Checks if the value of the field is OCTAL

Source§

impl R<u32, Reg<u32, _CTRLR0>>

Source

pub fn data_length(&self) -> DATA_LENGTH_R

Bits 0:4 - DATA_BIT_LENGTH

Source

pub fn work_mode(&self) -> WORK_MODE_R

Bits 8:9 - WORK_MODE

Source

pub fn tmod(&self) -> TMOD_R

Bits 10:11 - TRANSFER_MODE

Source

pub fn frame_format(&self) -> FRAME_FORMAT_R

Bits 22:23 - FRAME_FORMAT

Source§

impl R<u8, AITM_A>

Source

pub fn variant(&self) -> Variant<u8, AITM_A>

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_addr_standard(&self) -> bool

Checks if the value of the field is ADDR_STANDARD

Source

pub fn is_as_frame_format(&self) -> bool

Checks if the value of the field is AS_FRAME_FORMAT

Source§

impl R<u32, Reg<u32, _SPI_CTRLR0>>

Source

pub fn aitm(&self) -> AITM_R

Bits 0:1 - instruction_address_trans_mode

Source

pub fn addr_length(&self) -> ADDR_LENGTH_R

Bits 2:5 - ADDR_LENGTH

Source

pub fn inst_length(&self) -> INST_LENGTH_R

Bits 8:9 - INSTRUCTION_LENGTH

Source

pub fn wait_cycles(&self) -> WAIT_CYCLES_R

Bits 11:15 - WAIT_CYCLES

Source§

impl R<u32, Reg<u32, _RER>>

Source

pub fn rxchenx(&self) -> RXCHENX_R

Bit 0 - Receive channel enable/disable

Source§

impl R<u32, Reg<u32, _TER>>

Source

pub fn txchenx(&self) -> TXCHENX_R

Bit 0 - Transmit channel enable/disable

Source§

impl R<u8, WLEN_A>

Source

pub fn variant(&self) -> Variant<u8, WLEN_A>

Get enumerated values variant

Source

pub fn is_ignore(&self) -> bool

Checks if the value of the field is IGNORE

Source

pub fn is_resolution12(&self) -> bool

Checks if the value of the field is RESOLUTION12

Source

pub fn is_resolution16(&self) -> bool

Checks if the value of the field is RESOLUTION16

Source

pub fn is_resolution20(&self) -> bool

Checks if the value of the field is RESOLUTION20

Source

pub fn is_resolution24(&self) -> bool

Checks if the value of the field is RESOLUTION24

Source

pub fn is_resolution32(&self) -> bool

Checks if the value of the field is RESOLUTION32

Source§

impl R<u32, Reg<u32, _RCR>>

Source

pub fn wlen(&self) -> WLEN_R

Bits 0:2 - Desired data resolution of receiver

Source§

impl R<u32, Reg<u32, _TCR>>

Source

pub fn wlen(&self) -> WLEN_R

Bits 0:2 - Desired data resolution of transmitter

Source§

impl R<u32, Reg<u32, _ISR>>

Source

pub fn rxda(&self) -> RXDA_R

Bit 0 - Status of receiver data avaliable interrupt

Source

pub fn rxfo(&self) -> RXFO_R

Bit 1 - Status of data overrun interrupt for RX channel

Source

pub fn txfe(&self) -> TXFE_R

Bit 4 - Status of transmit empty triger interrupt

Source

pub fn txfo(&self) -> TXFO_R

Bit 5 - Status of data overrun interrupt for the TX channel

Source§

impl R<u32, Reg<u32, _IMR>>

Source

pub fn rxdam(&self) -> RXDAM_R

Bit 0 - Mask RX FIFO data avaliable interrupt

Source

pub fn rxfom(&self) -> RXFOM_R

Bit 1 - Mask RX FIFO overrun interrupt

Source

pub fn txfem(&self) -> TXFEM_R

Bit 4 - Mask TX FIFO empty interrupt

Source

pub fn txfom(&self) -> TXFOM_R

Bit 5 - Mask TX FIFO overrun interrupt

Source§

impl R<u32, Reg<u32, _ROR>>

Source

pub fn rxcho(&self) -> RXCHO_R

Bit 0 - Read this bit to clear RX FIFO data overrun interrupt. 0x0 for RX FIFO write valid, 0x1 for RX FIFO write overrun

Source§

impl R<u32, Reg<u32, _TOR>>

Source

pub fn txcho(&self) -> TXCHO_R

Bit 0 - Read this bit to clear TX FIFO data overrun interrupt. 0x0 for TX FIFO write valid, 0x1 for TX FIFO write overrun

Source§

impl R<u8, RXCHDT_A>

Source

pub fn variant(&self) -> RXCHDT_A

Get enumerated values variant

Source

pub fn is_level1(&self) -> bool

Checks if the value of the field is LEVEL1

Source

pub fn is_level2(&self) -> bool

Checks if the value of the field is LEVEL2

Source

pub fn is_level3(&self) -> bool

Checks if the value of the field is LEVEL3

Source

pub fn is_level4(&self) -> bool

Checks if the value of the field is LEVEL4

Source

pub fn is_level5(&self) -> bool

Checks if the value of the field is LEVEL5

Source

pub fn is_level6(&self) -> bool

Checks if the value of the field is LEVEL6

Source

pub fn is_level7(&self) -> bool

Checks if the value of the field is LEVEL7

Source

pub fn is_level8(&self) -> bool

Checks if the value of the field is LEVEL8

Source

pub fn is_level9(&self) -> bool

Checks if the value of the field is LEVEL9

Source

pub fn is_level10(&self) -> bool

Checks if the value of the field is LEVEL10

Source

pub fn is_level11(&self) -> bool

Checks if the value of the field is LEVEL11

Source

pub fn is_level12(&self) -> bool

Checks if the value of the field is LEVEL12

Source

pub fn is_level13(&self) -> bool

Checks if the value of the field is LEVEL13

Source

pub fn is_level14(&self) -> bool

Checks if the value of the field is LEVEL14

Source

pub fn is_level15(&self) -> bool

Checks if the value of the field is LEVEL15

Source

pub fn is_level16(&self) -> bool

Checks if the value of the field is LEVEL16

Source§

impl R<u32, Reg<u32, _RFCR>>

Source

pub fn rxchdt(&self) -> RXCHDT_R

Bits 0:3 - Trigger level in the RX FIFO at which the receiver data available interrupt generate

Source§

impl R<u32, Reg<u32, _TFCR>>

Source

pub fn txchet(&self) -> TXCHET_R

Bits 0:3 - Trigger level in the TX FIFO at which the transmitter data available interrupt generate

Source§

impl R<bool, RXCHFR_A>

Source

pub fn variant(&self) -> RXCHFR_A

Get enumerated values variant

Source

pub fn is_not_flush(&self) -> bool

Checks if the value of the field is NOT_FLUSH

Source

pub fn is_flush(&self) -> bool

Checks if the value of the field is FLUSH

Source§

impl R<u32, Reg<u32, _RFF>>

Source

pub fn rxchfr(&self) -> RXCHFR_R

Bit 0 - Receiver channel FIFO reset

Source§

impl R<u32, Reg<u32, _TFF>>

Source

pub fn rtxchfr(&self) -> RTXCHFR_R

Bit 0 - Transmit channel FIFO reset

Source§

impl R<u32, Reg<u32, _IER>>

Source

pub fn ien(&self) -> IEN_R

Bit 0 - I2S Enable

Source§

impl R<u32, Reg<u32, _IRER>>

Source

pub fn rxen(&self) -> RXEN_R

Bit 0 - Receiver block enable

Source§

impl R<u32, Reg<u32, _ITER>>

Source

pub fn txen(&self) -> TXEN_R

Bit 0 - Transmitter block enable

Source§

impl R<u32, Reg<u32, _CER>>

Source

pub fn clken(&self) -> CLKEN_R

Bit 0 - Transmitter block enable

Source§

impl R<u8, CLK_GATE_A>

Source

pub fn variant(&self) -> Variant<u8, CLK_GATE_A>

Get enumerated values variant

Source

pub fn is_no(&self) -> bool

Checks if the value of the field is NO

Source

pub fn is_cycles12(&self) -> bool

Checks if the value of the field is CYCLES12

Source

pub fn is_cycles16(&self) -> bool

Checks if the value of the field is CYCLES16

Source

pub fn is_cycles20(&self) -> bool

Checks if the value of the field is CYCLES20

Source

pub fn is_cycles24(&self) -> bool

Checks if the value of the field is CYCLES24

Source§

impl R<u8, CLK_WORD_SIZE_A>

Source

pub fn variant(&self) -> Variant<u8, CLK_WORD_SIZE_A>

Get enumerated values variant

Source

pub fn is_cycles16(&self) -> bool

Checks if the value of the field is CYCLES16

Source

pub fn is_cycles24(&self) -> bool

Checks if the value of the field is CYCLES24

Source

pub fn is_cycles32(&self) -> bool

Checks if the value of the field is CYCLES32

Source§

impl R<u8, ALIGN_MODE_A>

Source

pub fn variant(&self) -> Variant<u8, ALIGN_MODE_A>

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_right(&self) -> bool

Checks if the value of the field is RIGHT

Source

pub fn is_left(&self) -> bool

Checks if the value of the field is LEFT

Source§

impl R<u32, Reg<u32, _CCR>>

Source

pub fn clk_gate(&self) -> CLK_GATE_R

Bits 0:2 - Gating of sclk

Source

pub fn clk_word_size(&self) -> CLK_WORD_SIZE_R

Bits 3:4 - The number of sclk cycles for which the word select line stayd in the left aligned or right aligned mode

Source

pub fn align_mode(&self) -> ALIGN_MODE_R

Bits 5:7 - Alignment mode setting

Source

pub fn dma_tx_en(&self) -> DMA_TX_EN_R

Bit 8 - DMA transmit enable control

Source

pub fn dma_rx_en(&self) -> DMA_RX_EN_R

Bit 9 - DMA receive enable control

Source

pub fn dma_divide_16(&self) -> DMA_DIVIDE_16_R

Bit 10 - Split 32bit data to two 16 bit data and filled in left and right channel. Used with dma_tx_en or dma_rx_en

Source

pub fn sign_expand_en(&self) -> SIGN_EXPAND_EN_R

Bit 11 - SIGN_EXPAND_EN

Source§

impl R<bool, RXFFR_A>

Source

pub fn variant(&self) -> RXFFR_A

Get enumerated values variant

Source

pub fn is_not_flush(&self) -> bool

Checks if the value of the field is NOT_FLUSH

Source

pub fn is_flush(&self) -> bool

Checks if the value of the field is FLUSH

Source§

impl R<u32, Reg<u32, _RXFFR>>

Source

pub fn rxffr(&self) -> RXFFR_R

Bit 0 - Receiver FIFO reset

Source§

impl R<u32, Reg<u32, _TXFFR>>

Source

pub fn rxffr(&self) -> RXFFR_R

Bit 0 - Transmitter FIFO reset

Source§

impl R<u32, Reg<u32, _CH_CFG>>

Source

pub fn sound_ch_en(&self) -> SOUND_CH_EN_R

Bits 0:7 - BF unit sound channel enable control bits

Source

pub fn target_dir(&self) -> TARGET_DIR_R

Bits 8:11 - Target direction select for valid voice output

Source

pub fn audio_gain(&self) -> AUDIO_GAIN_R

Bits 12:22 - Audio sample gain factor

Source

pub fn data_src_mode(&self) -> DATA_SRC_MODE_R

Bit 24 - Audio data source configure parameter

Source§

impl R<u32, Reg<u32, _CTL>>

Source

pub fn dir_search_en(&self) -> DIR_SEARCH_EN_R

Bit 0 - Sound direction searching enable bit

Source

pub fn search_path_reset(&self) -> SEARCH_PATH_RESET_R

Bit 1 - Reset all control logic on direction search processing path

Source

pub fn stream_gen_en(&self) -> STREAM_GEN_EN_R

Bit 4 - Valid voice sample stream generation enable bit

Source

pub fn voice_gen_path_reset(&self) -> VOICE_GEN_PATH_RESET_R

Bit 5 - Reset all control logic on voice stream generating path

Source

pub fn update_voice_dir(&self) -> UPDATE_VOICE_DIR_R

Bit 6 - Switch to a new voice source direction

Source§

impl R<u32, Reg<u32, _DIR_BIDX>>

Source

pub fn rd_idx0(&self) -> RD_IDX0_R

Bits 0:5 - rd_idx0

Source

pub fn rd_idx1(&self) -> RD_IDX1_R

Bits 8:13 - rd_idx1

Source

pub fn rd_idx2(&self) -> RD_IDX2_R

Bits 16:21 - rd_idx2

Source

pub fn rd_idx3(&self) -> RD_IDX3_R

Bits 24:29 - rd_idx3

Source§

impl R<u32, Reg<u32, _PRE_FIR0_COEF>>

Source

pub fn tap0(&self) -> TAP0_R

Bits 0:15 - Tap 0

Source

pub fn tap1(&self) -> TAP1_R

Bits 16:31 - Tap 1

Source§

impl R<u32, Reg<u32, _POST_FIR0_COEF>>

Source

pub fn tap0(&self) -> TAP0_R

Bits 0:15 - Tap 0

Source

pub fn tap1(&self) -> TAP1_R

Bits 16:31 - Tap 1

Source§

impl R<u32, Reg<u32, _PRE_FIR1_COEF>>

Source

pub fn tap0(&self) -> TAP0_R

Bits 0:15 - Tap 0

Source

pub fn tap1(&self) -> TAP1_R

Bits 16:31 - Tap 1

Source§

impl R<u32, Reg<u32, _POST_FIR1_COEF>>

Source

pub fn tap0(&self) -> TAP0_R

Bits 0:15 - Tap 0

Source

pub fn tap1(&self) -> TAP1_R

Bits 16:31 - Tap 1

Source§

impl R<u32, Reg<u32, _DWSZ_CFG>>

Source

pub fn dir_dwn_siz_rate(&self) -> DIR_DWN_SIZ_RATE_R

Bits 0:3 - Down-sizing ratio used for direction searching

Source

pub fn voc_dwn_siz_rate(&self) -> VOC_DWN_SIZ_RATE_R

Bits 4:7 - Down-sizing ratio used for voice stream generation

Source

pub fn smpl_shift_bits(&self) -> SMPL_SHIFT_BITS_R

Bits 8:12 - Sample precision reduction when the source sound sample precision is 20/24/32 bits

Source§

impl R<u32, Reg<u32, _INT_STAT>>

Source

pub fn dir_search_data_rdy(&self) -> DIR_SEARCH_DATA_RDY_R

Bit 0 - Sound direction searching data ready interrupt event

Source

pub fn voc_buf_data_rdy(&self) -> VOC_BUF_DATA_RDY_R

Bit 1 - Voice output stream buffer data ready interrupt event

Source§

impl R<u32, Reg<u32, _INT_MASK>>

Source

pub fn dir_search_data_rdy(&self) -> DIR_SEARCH_DATA_RDY_R

Bit 0 - Sound direction searching data ready interrupt event

Source

pub fn voc_buf_data_rdy(&self) -> VOC_BUF_DATA_RDY_R

Bit 1 - Voice output stream buffer data ready interrupt event

Source§

impl R<u32, Reg<u32, _SAT_COUNTER>>

Source

pub fn counter(&self) -> COUNTER_R

Bits 0:15 - Counter

Source

pub fn total(&self) -> TOTAL_R

Bits 16:31 - Total

Source§

impl R<u32, Reg<u32, _SAT_LIMITS>>

Source

pub fn upper(&self) -> UPPER_R

Bits 0:15 - Upper limit

Source

pub fn bottom(&self) -> BOTTOM_R

Bits 16:31 - Bottom limit

Source§

impl R<u8, SPEED_A>

Source

pub fn variant(&self) -> Variant<u8, SPEED_A>

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_fast(&self) -> bool

Checks if the value of the field is FAST

Source

pub fn is_highspeed(&self) -> bool

Checks if the value of the field is HIGHSPEED

Source§

impl R<bool, ADDR_SLAVE_WIDTH_A>

Source

pub fn variant(&self) -> ADDR_SLAVE_WIDTH_A

Get enumerated values variant

Source

pub fn is_b7(&self) -> bool

Checks if the value of the field is B7

Source

pub fn is_b10(&self) -> bool

Checks if the value of the field is B10

Source§

impl R<u32, Reg<u32, _CON>>

Source

pub fn master_mode(&self) -> MASTER_MODE_R

Bit 0 - Master Mode

Source

pub fn speed(&self) -> SPEED_R

Bits 1:2 - Speed

Source

pub fn addr_slave_width(&self) -> ADDR_SLAVE_WIDTH_R

Bit 3 - Slave address width

Source

pub fn restart_en(&self) -> RESTART_EN_R

Bit 5 - Enable Restart

Source

pub fn slave_disable(&self) -> SLAVE_DISABLE_R

Bit 6 - Disable Slave

Source

pub fn stop_det(&self) -> STOP_DET_R

Bit 7 - STOP_DET_IFADDRESSED

Source

pub fn tx_empty(&self) -> TX_EMPTY_R

Bit 8 - TX_EMPTY_CTRL

Source§

impl R<bool, ADDR_MASTER_WIDTH_A>

Source

pub fn variant(&self) -> ADDR_MASTER_WIDTH_A

Get enumerated values variant

Source

pub fn is_b7(&self) -> bool

Checks if the value of the field is B7

Source

pub fn is_b10(&self) -> bool

Checks if the value of the field is B10

Source§

impl R<u32, Reg<u32, _TAR>>

Source

pub fn address(&self) -> ADDRESS_R

Bits 0:9 - Target Address

Source

pub fn gc(&self) -> GC_R

Bit 10 - GC_OR_START

Source

pub fn special(&self) -> SPECIAL_R

Bit 11 - SPECIAL

Source

pub fn addr_master_width(&self) -> ADDR_MASTER_WIDTH_R

Bit 12 - Master Address

Source§

impl R<u32, Reg<u32, _SAR>>

Source

pub fn address(&self) -> ADDRESS_R

Bits 0:9 - Slave Address

Source§

impl R<u32, Reg<u32, _DATA_CMD>>

Source

pub fn cmd(&self) -> CMD_R

Bit 8 - CMD

Source

pub fn data(&self) -> DATA_R

Bits 0:7 - Data

Source§

impl R<u32, Reg<u32, _SS_SCL_HCNT>>

Source

pub fn count(&self) -> COUNT_R

Bits 0:15 - COUNT

Source§

impl R<u32, Reg<u32, _SS_SCL_LCNT>>

Source

pub fn count(&self) -> COUNT_R

Bits 0:15 - COUNT

Source§

impl R<u32, Reg<u32, _INTR_STAT>>

Source

pub fn rx_under(&self) -> RX_UNDER_R

Bit 0 - RX_UNDER

Source

pub fn rx_over(&self) -> RX_OVER_R

Bit 1 - RX_OVER

Source

pub fn rx_full(&self) -> RX_FULL_R

Bit 2 - RX_FULL

Source

pub fn tx_over(&self) -> TX_OVER_R

Bit 3 - TX_OVER

Source

pub fn tx_empty(&self) -> TX_EMPTY_R

Bit 4 - TX_EMPTY

Source

pub fn rd_req(&self) -> RD_REQ_R

Bit 5 - RD_REQ

Source

pub fn tx_abrt(&self) -> TX_ABRT_R

Bit 6 - TX_ABRT

Source

pub fn rx_done(&self) -> RX_DONE_R

Bit 7 - RX_DONE

Source

pub fn activity(&self) -> ACTIVITY_R

Bit 8 - ACTIVITY

Source

pub fn stop_det(&self) -> STOP_DET_R

Bit 9 - STOP_DET

Source

pub fn start_det(&self) -> START_DET_R

Bit 10 - START_DET

Source

pub fn gen_call(&self) -> GEN_CALL_R

Bit 11 - GEN_CALL

Source§

impl R<u32, Reg<u32, _INTR_MASK>>

Source

pub fn rx_under(&self) -> RX_UNDER_R

Bit 0 - RX_UNDER

Source

pub fn rx_over(&self) -> RX_OVER_R

Bit 1 - RX_OVER

Source

pub fn rx_full(&self) -> RX_FULL_R

Bit 2 - RX_FULL

Source

pub fn tx_over(&self) -> TX_OVER_R

Bit 3 - TX_OVER

Source

pub fn tx_empty(&self) -> TX_EMPTY_R

Bit 4 - TX_EMPTY

Source

pub fn rd_req(&self) -> RD_REQ_R

Bit 5 - RD_REQ

Source

pub fn tx_abrt(&self) -> TX_ABRT_R

Bit 6 - TX_ABRT

Source

pub fn rx_done(&self) -> RX_DONE_R

Bit 7 - RX_DONE

Source

pub fn activity(&self) -> ACTIVITY_R

Bit 8 - ACTIVITY

Source

pub fn stop_det(&self) -> STOP_DET_R

Bit 9 - STOP_DET

Source

pub fn start_det(&self) -> START_DET_R

Bit 10 - START_DET

Source

pub fn gen_call(&self) -> GEN_CALL_R

Bit 11 - GEN_CALL

Source§

impl R<u32, Reg<u32, _RAW_INTR_STAT>>

Source

pub fn rx_under(&self) -> RX_UNDER_R

Bit 0 - RX_UNDER

Source

pub fn rx_over(&self) -> RX_OVER_R

Bit 1 - RX_OVER

Source

pub fn rx_full(&self) -> RX_FULL_R

Bit 2 - RX_FULL

Source

pub fn tx_over(&self) -> TX_OVER_R

Bit 3 - TX_OVER

Source

pub fn tx_empty(&self) -> TX_EMPTY_R

Bit 4 - TX_EMPTY

Source

pub fn rd_req(&self) -> RD_REQ_R

Bit 5 - RD_REQ

Source

pub fn tx_abrt(&self) -> TX_ABRT_R

Bit 6 - TX_ABRT

Source

pub fn rx_done(&self) -> RX_DONE_R

Bit 7 - RX_DONE

Source

pub fn activity(&self) -> ACTIVITY_R

Bit 8 - ACTIVITY

Source

pub fn stop_det(&self) -> STOP_DET_R

Bit 9 - STOP_DET

Source

pub fn start_det(&self) -> START_DET_R

Bit 10 - START_DET

Source

pub fn gen_call(&self) -> GEN_CALL_R

Bit 11 - GEN_CALL

Source§

impl R<u32, Reg<u32, _RX_TL>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:2 - VALUE

Source§

impl R<u32, Reg<u32, _TX_TL>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:2 - VALUE

Source§

impl R<u32, Reg<u32, _CLR_INTR>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_RX_UNDER>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_RX_OVER>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_TX_OVER>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_RD_REQ>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_TX_ABRT>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_RX_DONE>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_ACTIVITY>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_STOP_DET>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_START_DET>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _CLR_GEN_CALL>>

Source

pub fn clr(&self) -> CLR_R

Bit 0 - CLR

Source§

impl R<u32, Reg<u32, _ENABLE>>

Source

pub fn enable(&self) -> ENABLE_R

Bit 0 - ENABLE

Source

pub fn abort(&self) -> ABORT_R

Bit 1 - ABORT

Source

pub fn tx_cmd_block(&self) -> TX_CMD_BLOCK_R

Bit 2 - TX_CMD_BLOCK

Source§

impl R<u32, Reg<u32, _STATUS>>

Source

pub fn activity(&self) -> ACTIVITY_R

Bit 0 - ACTIVITY

Source

pub fn tfnf(&self) -> TFNF_R

Bit 1 - TFNF

Source

pub fn tfe(&self) -> TFE_R

Bit 2 - TFE

Source

pub fn rfne(&self) -> RFNE_R

Bit 3 - RFNE

Source

pub fn rff(&self) -> RFF_R

Bit 4 - RFF

Source

pub fn mst_activity(&self) -> MST_ACTIVITY_R

Bit 5 - MST_ACTIVITY

Source

pub fn slv_activity(&self) -> SLV_ACTIVITY_R

Bit 6 - SLV_ACTIVITY

Source§

impl R<u32, Reg<u32, _TXFLR>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:2 - VALUE

Source§

impl R<u32, Reg<u32, _RXFLR>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:2 - VALUE

Source§

impl R<u32, Reg<u32, _SDA_HOLD>>

Source

pub fn tx(&self) -> TX_R

Bits 0:15 - TX

Source

pub fn rx(&self) -> RX_R

Bits 16:23 - RX

Source§

impl R<u32, Reg<u32, _TX_ABRT_SOURCE>>

Source

pub fn addr7_noack(&self) -> ADDR7_NOACK_R

Bit 0 - 7B_ADDR_NOACK

Source

pub fn addr1_10_noack(&self) -> ADDR1_10_NOACK_R

Bit 1 - 10B_ADDR1_NOACK

Source

pub fn addr2_10_noack(&self) -> ADDR2_10_NOACK_R

Bit 2 - 10B_ADDR2_NOACK

Source

pub fn txdata_noack(&self) -> TXDATA_NOACK_R

Bit 3 - TXDATA_NOACK

Source

pub fn gcall_noack(&self) -> GCALL_NOACK_R

Bit 4 - GCALL_NOACK

Source

pub fn gcall_read(&self) -> GCALL_READ_R

Bit 5 - GCALL_READ

Source

pub fn hs_ackdet(&self) -> HS_ACKDET_R

Bit 6 - HS_ACKDET

Source

pub fn sbyte_ackdet(&self) -> SBYTE_ACKDET_R

Bit 7 - SBYTE_ACKDET

Source

pub fn hs_norstrt(&self) -> HS_NORSTRT_R

Bit 8 - HS_NORSTRT

Source

pub fn sbyte_norstrt(&self) -> SBYTE_NORSTRT_R

Bit 9 - SBYTE_NORSTRT

Source

pub fn rd_10_norstrt(&self) -> RD_10_NORSTRT_R

Bit 10 - 10B_RD_NORSTRT

Source

pub fn master_dis(&self) -> MASTER_DIS_R

Bit 11 - MASTER_DIS

Source

pub fn mst_arblost(&self) -> MST_ARBLOST_R

Bit 12 - MST_ARBLOST

Source

pub fn slvflush_txfifo(&self) -> SLVFLUSH_TXFIFO_R

Bit 13 - SLVFLUSH_TXFIFO

Source

pub fn slv_arblost(&self) -> SLV_ARBLOST_R

Bit 14 - SLV_ARBLOST

Source

pub fn slvrd_intx(&self) -> SLVRD_INTX_R

Bit 15 - SLVRD_INTX

Source

pub fn user_abrt(&self) -> USER_ABRT_R

Bit 16 - USER_ABRT

Source§

impl R<u32, Reg<u32, _DMA_CR>>

Source

pub fn rdmae(&self) -> RDMAE_R

Bit 0 - RDMAE

Source

pub fn tdmae(&self) -> TDMAE_R

Bit 1 - TDMAE

Source§

impl R<u32, Reg<u32, _DMA_TDLR>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:2 - VALUE

Source§

impl R<u32, Reg<u32, _DMA_RDLR>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:2 - VALUE

Source§

impl R<u32, Reg<u32, _SDA_SETUP>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:7 - VALUE

Source§

impl R<u32, Reg<u32, _GENERAL_CALL>>

Source

pub fn call_enable(&self) -> CALL_ENABLE_R

Bit 0 - CALL_ENABLE

Source§

impl R<u32, Reg<u32, _ENABLE_STATUS>>

Source

pub fn ic_enable(&self) -> IC_ENABLE_R

Bit 0 - IC_ENABLE

Source

pub fn slv_dis_busy(&self) -> SLV_DIS_BUSY_R

Bit 1 - SLV_DIS_BUSY

Source

pub fn slv_rx_data_lost(&self) -> SLV_RX_DATA_LOST_R

Bit 2 - SLV_RX_DATA_LOST

Source§

impl R<u32, Reg<u32, _FS_SPKLEN>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:7 - VALUE

Source§

impl R<u32, Reg<u32, _COMP_PARAM_1>>

Source

pub fn apb_data_width(&self) -> APB_DATA_WIDTH_R

Bits 0:1 - APB_DATA_WIDTH

Source

pub fn max_speed_mode(&self) -> MAX_SPEED_MODE_R

Bits 2:3 - MAX_SPEED_MODE

Source

pub fn hc_count_values(&self) -> HC_COUNT_VALUES_R

Bit 4 - HC_COUNT_VALUES

Source

pub fn intr_io(&self) -> INTR_IO_R

Bit 5 - INTR_IO

Source

pub fn has_dma(&self) -> HAS_DMA_R

Bit 6 - HAS_DMA

Source

pub fn encoded_params(&self) -> ENCODED_PARAMS_R

Bit 7 - ENCODED_PARAMS

Source

pub fn rx_buffer_depth(&self) -> RX_BUFFER_DEPTH_R

Bits 8:15 - RX_BUFFER_DEPTH

Source

pub fn tx_buffer_depth(&self) -> TX_BUFFER_DEPTH_R

Bits 16:23 - TX_BUFFER_DEPTH

Source§

impl R<u32, Reg<u32, _COMP_VERSION>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:31 - VALUE

Source§

impl R<u32, Reg<u32, _COMP_TYPE>>

Source

pub fn value(&self) -> VALUE_R

Bits 0:31 - VALUE

Source§

impl R<u32, Reg<u32, _IO>>

Source

pub fn ch_sel(&self) -> CH_SEL_R

Bits 0:7 - Channel select from 256 input

Source

pub fn ds(&self) -> DS_R

Bits 8:11 - Driving selector

Source

pub fn oe_en(&self) -> OE_EN_R

Bit 12 - Static output enable, will AND with OE_INV

Source

pub fn oe_inv(&self) -> OE_INV_R

Bit 13 - Invert output enable

Source

pub fn do_sel(&self) -> DO_SEL_R

Bit 14 - Data output select: 0 for DO, 1 for OE

Source

pub fn do_inv(&self) -> DO_INV_R

Bit 15 - Invert the result of data output select (DO_SEL)

Source

pub fn pu(&self) -> PU_R

Bit 16 - Pull up enable. 0 for nothing, 1 for pull up

Source

pub fn pd(&self) -> PD_R

Bit 17 - Pull down enable. 0 for nothing, 1 for pull down

Source

pub fn sl(&self) -> SL_R

Bit 19 - Slew rate control enable

Source

pub fn ie_en(&self) -> IE_EN_R

Bit 20 - Static input enable, will AND with IE_INV

Source

pub fn ie_inv(&self) -> IE_INV_R

Bit 21 - Invert input enable

Source

pub fn di_inv(&self) -> DI_INV_R

Bit 22 - Invert Data input

Source

pub fn st(&self) -> ST_R

Bit 23 - Schmitt trigger

Source

pub fn pad_di(&self) -> PAD_DI_R

Bit 31 - Read current IO’s data input

Source§

impl R<u32, Reg<u32, _NUM_REG>>

Source

pub fn data_cnt(&self) -> DATA_CNT_R

Bits 0:15 - The total amount of data calculated by SHA256 is set by this register, and the smallest unit is 512bit

Source

pub fn data_num(&self) -> DATA_NUM_R

Bits 16:31 - Currently calculated block number. 512bit=1block

Source§

impl R<bool, ENDIAN_A>

Source

pub fn variant(&self) -> ENDIAN_A

Get enumerated values variant

Source

pub fn is_le(&self) -> bool

Checks if the value of the field is LE

Source

pub fn is_be(&self) -> bool

Checks if the value of the field is BE

Source§

impl R<u32, Reg<u32, _FUNCTION_REG_0>>

Source

pub fn en(&self) -> EN_R

Bit 0 - write:SHA256 enable register. read:Calculation completed flag

Source

pub fn overflow(&self) -> OVERFLOW_R

Bit 8 - SHA256 calculation overflow flag

Source

pub fn endian(&self) -> ENDIAN_R

Bit 16 - Endian setting

Source§

impl R<u32, Reg<u32, _FUNCTION_REG_1>>

Source

pub fn dma_en(&self) -> DMA_EN_R

Bit 0 - SHA and DMA handshake signals enable. 1:enable; 0:disable

Source

pub fn fifo_in_full(&self) -> FIFO_IN_FULL_R

Bit 8 - 1:SHA256 input fifo is full; 0:not full

Source§

impl R<bool, MODE_A>

Source

pub fn variant(&self) -> MODE_A

Get enumerated values variant

Source

pub fn is_free(&self) -> bool

Checks if the value of the field is FREE

Source

pub fn is_user(&self) -> bool

Checks if the value of the field is USER

Source§

impl R<u32, Reg<u32, _CONTROL>>

Source

pub fn enable(&self) -> ENABLE_R

Bit 0 - ENABLE

Source

pub fn mode(&self) -> MODE_R

Bit 1 - MODE

Source

pub fn interrupt(&self) -> INTERRUPT_R

Bit 2 - INTERRUPT_MASK

Source

pub fn pwm_enable(&self) -> PWM_ENABLE_R

Bit 3 - PWM_ENABLE

Source§

impl R<bool, RMOD_A>

Source

pub fn variant(&self) -> RMOD_A

Get enumerated values variant

Source

pub fn is_reset(&self) -> bool

Checks if the value of the field is RESET

Source

pub fn is_interrupt(&self) -> bool

Checks if the value of the field is INTERRUPT

Source§

impl R<u32, Reg<u32, _CR>>

Source

pub fn enable(&self) -> ENABLE_R

Bit 0 - enable

Source

pub fn rmod(&self) -> RMOD_R

Bit 1 - rmod

Source

pub fn rpl(&self) -> RPL_R

Bits 2:4 - rpl

Source§

impl R<u32, Reg<u32, _TORR>>

Source

pub fn top0(&self) -> TOP0_R

Bits 0:3 - top (lower half)

Source

pub fn top1(&self) -> TOP1_R

Bits 4:7 - top (upper half)

Source§

impl R<u32, Reg<u32, _STAT>>

Source

pub fn stat(&self) -> STAT_R

Bit 0 - stat

Source§

impl R<u32, Reg<u32, _EOI>>

Source

pub fn eoi(&self) -> EOI_R

Bit 0 - eoi

Source§

impl R<u32, Reg<u32, _PROT_LEVEL>>

Source

pub fn prot_level(&self) -> PROT_LEVEL_R

Bits 0:2 - prot_level

Source§

impl R<u32, Reg<u32, _COMP_PARAM_5>>

Source

pub fn user_top_max(&self) -> USER_TOP_MAX_R

Bits 0:31 - user_top_max

Source§

impl R<u32, Reg<u32, _COMP_PARAM_4>>

Source

pub fn user_top_init_max(&self) -> USER_TOP_INIT_MAX_R

Bits 0:31 - user_top_init_max

Source§

impl R<u32, Reg<u32, _COMP_PARAM_3>>

Source

pub fn top_rst(&self) -> TOP_RST_R

Bits 0:31 - top_rst

Source§

impl R<u32, Reg<u32, _COMP_PARAM_2>>

Source

pub fn cnt_rst(&self) -> CNT_RST_R

Bits 0:31 - cnt_rst

Source§

impl R<u32, Reg<u32, _COMP_PARAM_1>>

Source

pub fn always_en(&self) -> ALWAYS_EN_R

Bit 0 - always_en

Source

pub fn dflt_rmod(&self) -> DFLT_RMOD_R

Bit 1 - dflt_rmod

Source

pub fn dual_top(&self) -> DUAL_TOP_R

Bit 2 - dual_top

Source

pub fn hc_rmod(&self) -> HC_RMOD_R

Bit 3 - hc_rmod

Source

pub fn hc_rpl(&self) -> HC_RPL_R

Bit 4 - hc_rpl

Source

pub fn hc_top(&self) -> HC_TOP_R

Bit 5 - hc_top

Source

pub fn use_fix_top(&self) -> USE_FIX_TOP_R

Bit 6 - use_fix_top

Source

pub fn pause(&self) -> PAUSE_R

Bit 7 - pause

Source

pub fn apb_data_width(&self) -> APB_DATA_WIDTH_R

Bits 8:9 - apb_data_width

Source

pub fn dflt_rpl(&self) -> DFLT_RPL_R

Bits 10:12 - dflt_rpl

Source

pub fn dflt_top(&self) -> DFLT_TOP_R

Bits 16:19 - dflt_top

Source

pub fn dflt_top_init(&self) -> DFLT_TOP_INIT_R

Bits 20:23 - dflt_top_init

Source

pub fn cnt_width(&self) -> CNT_WIDTH_R

Bits 24:28 - cnt_width

Source§

impl R<u8, FORMAT_A>

Source

pub fn variant(&self) -> Variant<u8, FORMAT_A>

Get enumerated values variant

Source

pub fn is_rgb(&self) -> bool

Checks if the value of the field is RGB

Source

pub fn is_yuv(&self) -> bool

Checks if the value of the field is YUV

Source

pub fn is_y(&self) -> bool

Checks if the value of the field is Y

Source§

impl R<u32, Reg<u32, _DVP_CFG>>

Source

pub fn start_int_enable(&self) -> START_INT_ENABLE_R

Bit 0 - START_INT_ENABLE

Source

pub fn finish_int_enable(&self) -> FINISH_INT_ENABLE_R

Bit 1 - FINISH_INT_ENABLE

Source

pub fn ai_output_enable(&self) -> AI_OUTPUT_ENABLE_R

Bit 2 - AI_OUTPUT_ENABLE

Source

pub fn display_output_enable(&self) -> DISPLAY_OUTPUT_ENABLE_R

Bit 3 - DISPLAY_OUTPUT_ENABLE

Source

pub fn auto_enable(&self) -> AUTO_ENABLE_R

Bit 4 - AUTO_ENABLE

Source

pub fn burst_size_4beats(&self) -> BURST_SIZE_4BEATS_R

Bit 8 - BURST_SIZE_4BEATS

Source

pub fn format(&self) -> FORMAT_R

Bits 9:10 - FORMAT

Source

pub fn href_burst_num(&self) -> HREF_BURST_NUM_R

Bits 12:19 - HREF_BURST_NUM

Source

pub fn line_num(&self) -> LINE_NUM_R

Bits 20:29 - LINE_NUM

Source§

impl R<u32, Reg<u32, _CMOS_CFG>>

Source

pub fn clk_div(&self) -> CLK_DIV_R

Bits 0:7 - CLK_DIV

Source

pub fn clk_enable(&self) -> CLK_ENABLE_R

Bit 8 - CLK_ENABLE

Source

pub fn reset(&self) -> RESET_R

Bit 16 - RESET

Source

pub fn power_down(&self) -> POWER_DOWN_R

Bit 24 - POWER_DOWN

Source§

impl R<u8, BYTE_NUM_A>

Source

pub fn variant(&self) -> Variant<u8, BYTE_NUM_A>

Get enumerated values variant

Source

pub fn is_num2(&self) -> bool

Checks if the value of the field is NUM2

Source

pub fn is_num3(&self) -> bool

Checks if the value of the field is NUM3

Source

pub fn is_num4(&self) -> bool

Checks if the value of the field is NUM4

Source§

impl R<u32, Reg<u32, _SCCB_CFG>>

Source

pub fn byte_num(&self) -> BYTE_NUM_R

Bits 0:1 - BYTE_NUM

Source

pub fn scl_lcnt(&self) -> SCL_LCNT_R

Bits 8:15 - SCL_LCNT

Source

pub fn scl_hcnt(&self) -> SCL_HCNT_R

Bits 16:23 - SCL_HCNT

Source

pub fn rdata(&self) -> RDATA_R

Bits 24:31 - RDATA

Source§

impl R<u32, Reg<u32, _SCCB_CTL>>

Source

pub fn device_address(&self) -> DEVICE_ADDRESS_R

Bits 0:7 - DEVICE_ADDRESS

Source

pub fn reg_address(&self) -> REG_ADDRESS_R

Bits 8:15 - REG_ADDRESS

Source

pub fn wdata_byte0(&self) -> WDATA_BYTE0_R

Bits 16:23 - WDATA_BYTE0

Source

pub fn wdata_byte1(&self) -> WDATA_BYTE1_R

Bits 24:31 - WDATA_BYTE1

Source§

impl R<u8, GM_MLEN_A>

Source

pub fn variant(&self) -> Variant<u8, GM_MLEN_A>

Get enumerated values variant

Source

pub fn is_byte1(&self) -> bool

Checks if the value of the field is BYTE1

Source

pub fn is_byte4(&self) -> bool

Checks if the value of the field is BYTE4

Source§

impl R<u32, Reg<u32, _AXI>>

Source

pub fn gm_mlen(&self) -> GM_MLEN_R

Bits 0:7 - GM_MLEN

Source§

impl R<u32, Reg<u32, _STS>>

Source

pub fn frame_start(&self) -> FRAME_START_R

Bit 0 - FRAME_START

Source

pub fn frame_start_we(&self) -> FRAME_START_WE_R

Bit 1 - FRAME_START_WE

Source

pub fn frame_finish(&self) -> FRAME_FINISH_R

Bit 8 - FRAME_FINISH

Source

pub fn frame_finish_we(&self) -> FRAME_FINISH_WE_R

Bit 9 - FRAME_FINISH_WE

Source

pub fn dvp_en(&self) -> DVP_EN_R

Bit 16 - DVP_EN

Source

pub fn dvp_en_we(&self) -> DVP_EN_WE_R

Bit 17 - DVP_EN_WE

Source

pub fn sccb_en(&self) -> SCCB_EN_R

Bit 24 - SCCB_EN

Source

pub fn sccb_en_we(&self) -> SCCB_EN_WE_R

Bit 25 - SCCB_EN_WE

Source§

impl R<u32, Reg<u32, _PLL0>>

Source

pub fn clkr(&self) -> CLKR_R

Bits 0:3

Source

pub fn clkf(&self) -> CLKF_R

Bits 4:9

Source

pub fn clkod(&self) -> CLKOD_R

Bits 10:13

Source

pub fn bwadj(&self) -> BWADJ_R

Bits 14:19

Source

pub fn reset(&self) -> RESET_R

Bit 20

Source

pub fn pwrd(&self) -> PWRD_R

Bit 21

Source

pub fn intfb(&self) -> INTFB_R

Bit 22

Source

pub fn bypass(&self) -> BYPASS_R

Bit 23

Source

pub fn test(&self) -> TEST_R

Bit 24

Source

pub fn out_en(&self) -> OUT_EN_R

Bit 25

Source

pub fn test_en(&self) -> TEST_EN_R

Bit 26

Source§

impl R<u32, Reg<u32, _PLL1>>

Source

pub fn clkr(&self) -> CLKR_R

Bits 0:3

Source

pub fn clkf(&self) -> CLKF_R

Bits 4:9

Source

pub fn clkod(&self) -> CLKOD_R

Bits 10:13

Source

pub fn bwadj(&self) -> BWADJ_R

Bits 14:19

Source

pub fn reset(&self) -> RESET_R

Bit 20

Source

pub fn pwrd(&self) -> PWRD_R

Bit 21

Source

pub fn intfb(&self) -> INTFB_R

Bit 22

Source

pub fn bypass(&self) -> BYPASS_R

Bit 23

Source

pub fn test(&self) -> TEST_R

Bit 24

Source

pub fn out_en(&self) -> OUT_EN_R

Bit 25

Source§

impl R<u32, Reg<u32, _PLL2>>

Source

pub fn clkr(&self) -> CLKR_R

Bits 0:3

Source

pub fn clkf(&self) -> CLKF_R

Bits 4:9

Source

pub fn clkod(&self) -> CLKOD_R

Bits 10:13

Source

pub fn bwadj(&self) -> BWADJ_R

Bits 14:19

Source

pub fn reset(&self) -> RESET_R

Bit 20

Source

pub fn pwrd(&self) -> PWRD_R

Bit 21

Source

pub fn intfb(&self) -> INTFB_R

Bit 22

Source

pub fn bypass(&self) -> BYPASS_R

Bit 23

Source

pub fn test(&self) -> TEST_R

Bit 24

Source

pub fn out_en(&self) -> OUT_EN_R

Bit 25

Source

pub fn ckin_sel(&self) -> CKIN_SEL_R

Bits 26:27

Source§

impl R<u32, Reg<u32, _PLL_LOCK>>

Source

pub fn pll_lock0(&self) -> PLL_LOCK0_R

Bits 0:1

Source

pub fn pll_slip_clear0(&self) -> PLL_SLIP_CLEAR0_R

Bit 2

Source

pub fn test_clk_out0(&self) -> TEST_CLK_OUT0_R

Bit 3

Source

pub fn pll_lock1(&self) -> PLL_LOCK1_R

Bits 8:9

Source

pub fn pll_slip_clear1(&self) -> PLL_SLIP_CLEAR1_R

Bit 10

Source

pub fn test_clk_out1(&self) -> TEST_CLK_OUT1_R

Bit 11

Source

pub fn pll_lock2(&self) -> PLL_LOCK2_R

Bits 16:17

Source

pub fn pll_slip_clear2(&self) -> PLL_SLIP_CLEAR2_R

Bit 18

Source

pub fn test_clk_out2(&self) -> TEST_CLK_OUT2_R

Bit 19

Source§

impl R<u32, Reg<u32, _ROM_ERROR>>

Source

pub fn rom_mul_error(&self) -> ROM_MUL_ERROR_R

Bit 0

Source

pub fn rom_one_error(&self) -> ROM_ONE_ERROR_R

Bit 1

Source§

impl R<u32, Reg<u32, _CLK_SEL0>>

Source

pub fn aclk_sel(&self) -> ACLK_SEL_R

Bit 0

Source

pub fn aclk_divider_sel(&self) -> ACLK_DIVIDER_SEL_R

Bits 1:2

Source

pub fn apb0_clk_sel(&self) -> APB0_CLK_SEL_R

Bits 3:5

Source

pub fn apb1_clk_sel(&self) -> APB1_CLK_SEL_R

Bits 6:8

Source

pub fn apb2_clk_sel(&self) -> APB2_CLK_SEL_R

Bits 9:11

Source

pub fn spi3_clk_sel(&self) -> SPI3_CLK_SEL_R

Bit 12

Source

pub fn timer0_clk_sel(&self) -> TIMER0_CLK_SEL_R

Bit 13

Source

pub fn timer1_clk_sel(&self) -> TIMER1_CLK_SEL_R

Bit 14

Source

pub fn timer2_clk_sel(&self) -> TIMER2_CLK_SEL_R

Bit 15

Source§

impl R<u32, Reg<u32, _CLK_SEL1>>

Source§

impl R<u32, Reg<u32, _CLK_EN_CENT>>

Source

pub fn cpu_clk_en(&self) -> CPU_CLK_EN_R

Bit 0

Source

pub fn sram0_clk_en(&self) -> SRAM0_CLK_EN_R

Bit 1

Source

pub fn sram1_clk_en(&self) -> SRAM1_CLK_EN_R

Bit 2

Source

pub fn apb0_clk_en(&self) -> APB0_CLK_EN_R

Bit 3

Source

pub fn apb1_clk_en(&self) -> APB1_CLK_EN_R

Bit 4

Source

pub fn apb2_clk_en(&self) -> APB2_CLK_EN_R

Bit 5

Source§

impl R<u32, Reg<u32, _CLK_EN_PERI>>

Source

pub fn rom_clk_en(&self) -> ROM_CLK_EN_R

Bit 0

Source

pub fn dma_clk_en(&self) -> DMA_CLK_EN_R

Bit 1

Source

pub fn ai_clk_en(&self) -> AI_CLK_EN_R

Bit 2

Source

pub fn dvp_clk_en(&self) -> DVP_CLK_EN_R

Bit 3

Source

pub fn fft_clk_en(&self) -> FFT_CLK_EN_R

Bit 4

Source

pub fn gpio_clk_en(&self) -> GPIO_CLK_EN_R

Bit 5

Source

pub fn spi0_clk_en(&self) -> SPI0_CLK_EN_R

Bit 6

Source

pub fn spi1_clk_en(&self) -> SPI1_CLK_EN_R

Bit 7

Source

pub fn spi2_clk_en(&self) -> SPI2_CLK_EN_R

Bit 8

Source

pub fn spi3_clk_en(&self) -> SPI3_CLK_EN_R

Bit 9

Source

pub fn i2s0_clk_en(&self) -> I2S0_CLK_EN_R

Bit 10

Source

pub fn i2s1_clk_en(&self) -> I2S1_CLK_EN_R

Bit 11

Source

pub fn i2s2_clk_en(&self) -> I2S2_CLK_EN_R

Bit 12

Source

pub fn i2c0_clk_en(&self) -> I2C0_CLK_EN_R

Bit 13

Source

pub fn i2c1_clk_en(&self) -> I2C1_CLK_EN_R

Bit 14

Source

pub fn i2c2_clk_en(&self) -> I2C2_CLK_EN_R

Bit 15

Source

pub fn uart1_clk_en(&self) -> UART1_CLK_EN_R

Bit 16

Source

pub fn uart2_clk_en(&self) -> UART2_CLK_EN_R

Bit 17

Source

pub fn uart3_clk_en(&self) -> UART3_CLK_EN_R

Bit 18

Source

pub fn aes_clk_en(&self) -> AES_CLK_EN_R

Bit 19

Source

pub fn fpioa_clk_en(&self) -> FPIOA_CLK_EN_R

Bit 20

Source

pub fn timer0_clk_en(&self) -> TIMER0_CLK_EN_R

Bit 21

Source

pub fn timer1_clk_en(&self) -> TIMER1_CLK_EN_R

Bit 22

Source

pub fn timer2_clk_en(&self) -> TIMER2_CLK_EN_R

Bit 23

Source

pub fn wdt0_clk_en(&self) -> WDT0_CLK_EN_R

Bit 24

Source

pub fn wdt1_clk_en(&self) -> WDT1_CLK_EN_R

Bit 25

Source

pub fn sha_clk_en(&self) -> SHA_CLK_EN_R

Bit 26

Source

pub fn otp_clk_en(&self) -> OTP_CLK_EN_R

Bit 27

Source

pub fn rtc_clk_en(&self) -> RTC_CLK_EN_R

Bit 29

Source§

impl R<u32, Reg<u32, _SOFT_RESET>>

Source

pub fn soft_reset(&self) -> SOFT_RESET_R

Bit 0

Source§

impl R<u32, Reg<u32, _PERI_RESET>>

Source

pub fn rom_reset(&self) -> ROM_RESET_R

Bit 0

Source

pub fn dma_reset(&self) -> DMA_RESET_R

Bit 1

Source

pub fn ai_reset(&self) -> AI_RESET_R

Bit 2

Source

pub fn dvp_reset(&self) -> DVP_RESET_R

Bit 3

Source

pub fn fft_reset(&self) -> FFT_RESET_R

Bit 4

Source

pub fn gpio_reset(&self) -> GPIO_RESET_R

Bit 5

Source

pub fn spi0_reset(&self) -> SPI0_RESET_R

Bit 6

Source

pub fn spi1_reset(&self) -> SPI1_RESET_R

Bit 7

Source

pub fn spi2_reset(&self) -> SPI2_RESET_R

Bit 8

Source

pub fn spi3_reset(&self) -> SPI3_RESET_R

Bit 9

Source

pub fn i2s0_reset(&self) -> I2S0_RESET_R

Bit 10

Source

pub fn i2s1_reset(&self) -> I2S1_RESET_R

Bit 11

Source

pub fn i2s2_reset(&self) -> I2S2_RESET_R

Bit 12

Source

pub fn i2c0_reset(&self) -> I2C0_RESET_R

Bit 13

Source

pub fn i2c1_reset(&self) -> I2C1_RESET_R

Bit 14

Source

pub fn i2c2_reset(&self) -> I2C2_RESET_R

Bit 15

Source

pub fn uart1_reset(&self) -> UART1_RESET_R

Bit 16

Source

pub fn uart2_reset(&self) -> UART2_RESET_R

Bit 17

Source

pub fn uart3_reset(&self) -> UART3_RESET_R

Bit 18

Source

pub fn aes_reset(&self) -> AES_RESET_R

Bit 19

Source

pub fn fpioa_reset(&self) -> FPIOA_RESET_R

Bit 20

Source

pub fn timer0_reset(&self) -> TIMER0_RESET_R

Bit 21

Source

pub fn timer1_reset(&self) -> TIMER1_RESET_R

Bit 22

Source

pub fn timer2_reset(&self) -> TIMER2_RESET_R

Bit 23

Source

pub fn wdt0_reset(&self) -> WDT0_RESET_R

Bit 24

Source

pub fn wdt1_reset(&self) -> WDT1_RESET_R

Bit 25

Source

pub fn sha_reset(&self) -> SHA_RESET_R

Bit 26

Source

pub fn rtc_reset(&self) -> RTC_RESET_R

Bit 29

Source§

impl R<u32, Reg<u32, _CLK_TH0>>

Source

pub fn sram0_gclk(&self) -> SRAM0_GCLK_R

Bits 0:3

Source

pub fn sram1_gclk(&self) -> SRAM1_GCLK_R

Bits 4:7

Source

pub fn ai_gclk(&self) -> AI_GCLK_R

Bits 8:11

Source

pub fn dvp_gclk(&self) -> DVP_GCLK_R

Bits 12:15

Source

pub fn rom_gclk(&self) -> ROM_GCLK_R

Bits 16:19

Source§

impl R<u32, Reg<u32, _CLK_TH1>>

Source

pub fn spi0_clk(&self) -> SPI0_CLK_R

Bits 0:7

Source

pub fn spi1_clk(&self) -> SPI1_CLK_R

Bits 8:15

Source

pub fn spi2_clk(&self) -> SPI2_CLK_R

Bits 16:23

Source

pub fn spi3_clk(&self) -> SPI3_CLK_R

Bits 24:31

Source§

impl R<u32, Reg<u32, _CLK_TH2>>

Source

pub fn timer0_clk(&self) -> TIMER0_CLK_R

Bits 0:7

Source

pub fn timer1_clk(&self) -> TIMER1_CLK_R

Bits 8:15

Source

pub fn timer2_clk(&self) -> TIMER2_CLK_R

Bits 16:23

Source§

impl R<u32, Reg<u32, _CLK_TH3>>

Source

pub fn i2s0_clk(&self) -> I2S0_CLK_R

Bits 0:15

Source

pub fn i2s1_clk(&self) -> I2S1_CLK_R

Bits 16:31

Source§

impl R<u32, Reg<u32, _CLK_TH4>>

Source

pub fn i2s2_clk(&self) -> I2S2_CLK_R

Bits 0:15

Source

pub fn i2s0_mclk(&self) -> I2S0_MCLK_R

Bits 16:23

Source

pub fn i2s1_mclk(&self) -> I2S1_MCLK_R

Bits 24:31

Source§

impl R<u32, Reg<u32, _CLK_TH5>>

Source

pub fn i2s2_mclk(&self) -> I2S2_MCLK_R

Bits 0:7

Source

pub fn i2c0_clk(&self) -> I2C0_CLK_R

Bits 8:15

Source

pub fn i2c1_clk(&self) -> I2C1_CLK_R

Bits 16:23

Source

pub fn i2c2_clk(&self) -> I2C2_CLK_R

Bits 24:31

Source§

impl R<u32, Reg<u32, _CLK_TH6>>

Source

pub fn wdt0_clk(&self) -> WDT0_CLK_R

Bits 0:7

Source

pub fn wdt1_clk(&self) -> WDT1_CLK_R

Bits 8:15

Source§

impl R<u32, Reg<u32, _MISC>>

Source

pub fn debug_sel(&self) -> DEBUG_SEL_R

Bits 0:5

Source

pub fn spi_dvp_data_enable(&self) -> SPI_DVP_DATA_ENABLE_R

Bit 10

Source§

impl R<u32, Reg<u32, _PERI>>

Source

pub fn timer0_pause(&self) -> TIMER0_PAUSE_R

Bit 0

Source

pub fn timer1_pause(&self) -> TIMER1_PAUSE_R

Bit 1

Source

pub fn timer2_pause(&self) -> TIMER2_PAUSE_R

Bit 2

Source

pub fn timer3_pause(&self) -> TIMER3_PAUSE_R

Bit 3

Source

pub fn timer4_pause(&self) -> TIMER4_PAUSE_R

Bit 4

Source

pub fn timer5_pause(&self) -> TIMER5_PAUSE_R

Bit 5

Source

pub fn timer6_pause(&self) -> TIMER6_PAUSE_R

Bit 6

Source

pub fn timer7_pause(&self) -> TIMER7_PAUSE_R

Bit 7

Source

pub fn timer8_pause(&self) -> TIMER8_PAUSE_R

Bit 8

Source

pub fn timer9_pause(&self) -> TIMER9_PAUSE_R

Bit 9

Source

pub fn timer10_pause(&self) -> TIMER10_PAUSE_R

Bit 10

Source

pub fn timer11_pause(&self) -> TIMER11_PAUSE_R

Bit 11

Source

pub fn spi0_xip_en(&self) -> SPI0_XIP_EN_R

Bit 12

Source

pub fn spi1_xip_en(&self) -> SPI1_XIP_EN_R

Bit 13

Source

pub fn spi2_xip_en(&self) -> SPI2_XIP_EN_R

Bit 14

Source

pub fn spi3_xip_en(&self) -> SPI3_XIP_EN_R

Bit 15

Source

pub fn spi0_clk_bypass(&self) -> SPI0_CLK_BYPASS_R

Bit 16

Source

pub fn spi1_clk_bypass(&self) -> SPI1_CLK_BYPASS_R

Bit 17

Source

pub fn spi2_clk_bypass(&self) -> SPI2_CLK_BYPASS_R

Bit 18

Source

pub fn i2s0_clk_bypass(&self) -> I2S0_CLK_BYPASS_R

Bit 19

Source

pub fn i2s1_clk_bypass(&self) -> I2S1_CLK_BYPASS_R

Bit 20

Source

pub fn i2s2_clk_bypass(&self) -> I2S2_CLK_BYPASS_R

Bit 21

Source

pub fn jtag_clk_bypass(&self) -> JTAG_CLK_BYPASS_R

Bit 22

Source

pub fn dvp_clk_bypass(&self) -> DVP_CLK_BYPASS_R

Bit 23

Source

pub fn debug_clk_bypass(&self) -> DEBUG_CLK_BYPASS_R

Bit 24

Source§

impl R<u32, Reg<u32, _SPI_SLEEP>>

Source

pub fn ssi0_sleep(&self) -> SSI0_SLEEP_R

Bit 0

Source

pub fn ssi1_sleep(&self) -> SSI1_SLEEP_R

Bit 1

Source

pub fn ssi2_sleep(&self) -> SSI2_SLEEP_R

Bit 2

Source

pub fn ssi3_sleep(&self) -> SSI3_SLEEP_R

Bit 3

Source§

impl R<u32, Reg<u32, _RESET_STATUS>>

Source

pub fn reset_sts_clr(&self) -> RESET_STS_CLR_R

Bit 0

Source

pub fn pin_reset_sts(&self) -> PIN_RESET_STS_R

Bit 1

Source

pub fn wdt0_reset_sts(&self) -> WDT0_RESET_STS_R

Bit 2

Source

pub fn wdt1_reset_sts(&self) -> WDT1_RESET_STS_R

Bit 3

Source

pub fn soft_reset_sts(&self) -> SOFT_RESET_STS_R

Bit 4

Source§

impl R<u8, DMA_SEL0_A>

Source

pub fn variant(&self) -> Variant<u8, DMA_SEL0_A>

Get enumerated values variant

Source

pub fn is_ssi0_rx_req(&self) -> bool

Checks if the value of the field is SSI0_RX_REQ

Source

pub fn is_ssi0_tx_req(&self) -> bool

Checks if the value of the field is SSI0_TX_REQ

Source

pub fn is_ssi1_rx_req(&self) -> bool

Checks if the value of the field is SSI1_RX_REQ

Source

pub fn is_ssi1_tx_req(&self) -> bool

Checks if the value of the field is SSI1_TX_REQ

Source

pub fn is_ssi2_rx_req(&self) -> bool

Checks if the value of the field is SSI2_RX_REQ

Source

pub fn is_ssi2_tx_req(&self) -> bool

Checks if the value of the field is SSI2_TX_REQ

Source

pub fn is_ssi3_rx_req(&self) -> bool

Checks if the value of the field is SSI3_RX_REQ

Source

pub fn is_ssi3_tx_req(&self) -> bool

Checks if the value of the field is SSI3_TX_REQ

Source

pub fn is_i2c0_rx_req(&self) -> bool

Checks if the value of the field is I2C0_RX_REQ

Source

pub fn is_i2c0_tx_req(&self) -> bool

Checks if the value of the field is I2C0_TX_REQ

Source

pub fn is_i2c1_rx_req(&self) -> bool

Checks if the value of the field is I2C1_RX_REQ

Source

pub fn is_i2c1_tx_req(&self) -> bool

Checks if the value of the field is I2C1_TX_REQ

Source

pub fn is_i2c2_rx_req(&self) -> bool

Checks if the value of the field is I2C2_RX_REQ

Source

pub fn is_i2c2_tx_req(&self) -> bool

Checks if the value of the field is I2C2_TX_REQ

Source

pub fn is_uart1_rx_req(&self) -> bool

Checks if the value of the field is UART1_RX_REQ

Source

pub fn is_uart1_tx_req(&self) -> bool

Checks if the value of the field is UART1_TX_REQ

Source

pub fn is_uart2_rx_req(&self) -> bool

Checks if the value of the field is UART2_RX_REQ

Source

pub fn is_uart2_tx_req(&self) -> bool

Checks if the value of the field is UART2_TX_REQ

Source

pub fn is_uart3_rx_req(&self) -> bool

Checks if the value of the field is UART3_RX_REQ

Source

pub fn is_uart3_tx_req(&self) -> bool

Checks if the value of the field is UART3_TX_REQ

Source

pub fn is_aes_req(&self) -> bool

Checks if the value of the field is AES_REQ

Source

pub fn is_sha_rx_req(&self) -> bool

Checks if the value of the field is SHA_RX_REQ

Source

pub fn is_ai_rx_req(&self) -> bool

Checks if the value of the field is AI_RX_REQ

Source

pub fn is_fft_rx_req(&self) -> bool

Checks if the value of the field is FFT_RX_REQ

Source

pub fn is_fft_tx_req(&self) -> bool

Checks if the value of the field is FFT_TX_REQ

Source

pub fn is_i2s0_tx_req(&self) -> bool

Checks if the value of the field is I2S0_TX_REQ

Source

pub fn is_i2s0_rx_req(&self) -> bool

Checks if the value of the field is I2S0_RX_REQ

Source

pub fn is_i2s1_tx_req(&self) -> bool

Checks if the value of the field is I2S1_TX_REQ

Source

pub fn is_i2s1_rx_req(&self) -> bool

Checks if the value of the field is I2S1_RX_REQ

Source

pub fn is_i2s2_tx_req(&self) -> bool

Checks if the value of the field is I2S2_TX_REQ

Source

pub fn is_i2s2_rx_req(&self) -> bool

Checks if the value of the field is I2S2_RX_REQ

Source

pub fn is_i2s0_bf_dir_req(&self) -> bool

Checks if the value of the field is I2S0_BF_DIR_REQ

Source

pub fn is_i2s0_bf_voice_req(&self) -> bool

Checks if the value of the field is I2S0_BF_VOICE_REQ

Source§

impl R<u32, Reg<u32, _DMA_SEL0>>

Source

pub fn dma_sel0(&self) -> DMA_SEL0_R

Bits 0:5

Source

pub fn dma_sel1(&self) -> DMA_SEL1_R

Bits 6:11

Source

pub fn dma_sel2(&self) -> DMA_SEL2_R

Bits 12:17

Source

pub fn dma_sel3(&self) -> DMA_SEL3_R

Bits 18:23

Source

pub fn dma_sel4(&self) -> DMA_SEL4_R

Bits 24:29

Source§

impl R<u32, Reg<u32, _DMA_SEL1>>

Source

pub fn dma_sel5(&self) -> DMA_SEL5_R

Bits 0:5

Source§

impl R<u32, Reg<u32, _POWER_SEL>>

Source§

impl R<bool, ENCRYPT_SEL_A>

Source

pub fn variant(&self) -> ENCRYPT_SEL_A

Get enumerated values variant

Source

pub fn is_encryption(&self) -> bool

Checks if the value of the field is ENCRYPTION

Source

pub fn is_decryption(&self) -> bool

Checks if the value of the field is DECRYPTION

Source§

impl R<u32, Reg<u32, _ENCRYPT_SEL>>

Source

pub fn encrypt_sel(&self) -> ENCRYPT_SEL_R

Bit 0 - Select encryption or decryption mode

Source§

impl R<u8, CIPHER_MODE_A>

Source

pub fn variant(&self) -> Variant<u8, CIPHER_MODE_A>

Get enumerated values variant

Source

pub fn is_ecb(&self) -> bool

Checks if the value of the field is ECB

Source

pub fn is_cbc(&self) -> bool

Checks if the value of the field is CBC

Source

pub fn is_gcm(&self) -> bool

Checks if the value of the field is GCM

Source§

impl R<u8, KEY_MODE_A>

Source

pub fn variant(&self) -> Variant<u8, KEY_MODE_A>

Get enumerated values variant

Source

pub fn is_aes128(&self) -> bool

Checks if the value of the field is AES128

Source

pub fn is_aes192(&self) -> bool

Checks if the value of the field is AES192

Source

pub fn is_aes256(&self) -> bool

Checks if the value of the field is AES256

Source§

impl R<bool, KEY_ORDER_A>

Source

pub fn variant(&self) -> KEY_ORDER_A

Get enumerated values variant

Source

pub fn is_be(&self) -> bool

Checks if the value of the field is BE

Source

pub fn is_le(&self) -> bool

Checks if the value of the field is LE

Source§

impl R<u32, Reg<u32, _MODE_CTL>>

Source

pub fn cipher_mode(&self) -> CIPHER_MODE_R

Bits 0:2 - Cipher mode

Source

pub fn key_mode(&self) -> KEY_MODE_R

Bits 3:4 - Key mode

Source

pub fn key_order(&self) -> KEY_ORDER_R

Bit 5 - Input key order

Source

pub fn input_order(&self) -> INPUT_ORDER_R

Bit 7 - Input data order

Source

pub fn output_order(&self) -> OUTPUT_ORDER_R

Bit 9 - Output data order

Source§

impl R<u32, Reg<u32, _ENDIAN>>

Source

pub fn endian(&self) -> ENDIAN_R

Bit 0 - Input data endian

Source§

impl R<bool, FINISH_A>

Source

pub fn variant(&self) -> FINISH_A

Get enumerated values variant

Source

pub fn is_not_finished(&self) -> bool

Checks if the value of the field is NOT_FINISHED

Source

pub fn is_finished(&self) -> bool

Checks if the value of the field is FINISHED

Source§

impl R<u32, Reg<u32, _FINISH>>

Source

pub fn finish(&self) -> FINISH_R

Bit 0 - AES operation finished status

Source§

impl R<u32, Reg<u32, _DMA_SEL>>

Source

pub fn dma_sel(&self) -> DMA_SEL_R

Bit 0 - Output to DMA if set, to CPU otherwise

Source§

impl R<u8, TAG_CHK_A>

Source

pub fn variant(&self) -> Variant<u8, TAG_CHK_A>

Get enumerated values variant

Source

pub fn is_busy(&self) -> bool

Checks if the value of the field is BUSY

Source

pub fn is_fail(&self) -> bool

Checks if the value of the field is FAIL

Source

pub fn is_success(&self) -> bool

Checks if the value of the field is SUCCESS

Source§

impl R<u32, Reg<u32, _TAG_CHK>>

Source

pub fn tag_chk(&self) -> TAG_CHK_R

Bits 0:1 - Tag check status

Source§

impl R<bool, DATA_IN_FLAG_A>

Source

pub fn variant(&self) -> DATA_IN_FLAG_A

Get enumerated values variant

Source

pub fn is_cannot_input(&self) -> bool

Checks if the value of the field is CANNOT_INPUT

Source

pub fn is_can_input(&self) -> bool

Checks if the value of the field is CAN_INPUT

Source§

impl R<u32, Reg<u32, _DATA_IN_FLAG>>

Source

pub fn data_in_flag(&self) -> DATA_IN_FLAG_R

Bit 0 - Data can be written to text_data or aad_data when this flag is set

Source§

impl R<bool, EN_A>

Source

pub fn variant(&self) -> EN_A

Get enumerated values variant

Source

pub fn is_disable(&self) -> bool

Checks if the value of the field is DISABLE

Source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE

Source§

impl R<u32, Reg<u32, _EN>>

Source

pub fn en(&self) -> EN_R

Bit 0 - AES module enable

Source§

impl R<bool, DATA_OUT_FLAG_A>

Source

pub fn variant(&self) -> DATA_OUT_FLAG_A

Get enumerated values variant

Source

pub fn is_cannot_output(&self) -> bool

Checks if the value of the field is CANNOT_OUTPUT

Source

pub fn is_can_output(&self) -> bool

Checks if the value of the field is CAN_OUTPUT

Source§

impl R<u32, Reg<u32, _DATA_OUT_FLAG>>

Source

pub fn data_out_flag(&self) -> DATA_OUT_FLAG_R

Bit 0 - Data can be read from out_data when this flag is set

Source§

impl R<u32, Reg<u32, _TAG_IN_FLAG>>

Source

pub fn tag_in_flag(&self) -> TAG_IN_FLAG_R

Bit 0 - GCM tag can be written to gcm_in_tag when this flag is set

Source§

impl R<u32, Reg<u32, _DATE>>

Source

pub fn week(&self) -> WEEK_R

Bits 0:2 - Week. Range [0,6]. 0 is Sunday.

Source

pub fn day(&self) -> DAY_R

Bits 8:12 - Day. Range [1,31] or [1,30] or [1,29] or [1,28]

Source

pub fn month(&self) -> MONTH_R

Bits 16:19 - Month. Range [1,12]

Source

pub fn year(&self) -> YEAR_R

Bits 20:31 - Year. Range [0,99]

Source§

impl R<u32, Reg<u32, _TIME>>

Source

pub fn second(&self) -> SECOND_R

Bits 10:15 - Second. Range [0,59]

Source

pub fn minute(&self) -> MINUTE_R

Bits 16:21 - Minute. Range [0,59]

Source

pub fn hour(&self) -> HOUR_R

Bits 24:28 - Hour. Range [0,23]

Source§

impl R<u32, Reg<u32, _ALARM_DATE>>

Source

pub fn week(&self) -> WEEK_R

Bits 0:2 - Week. Range [0,6]. 0 is Sunday.

Source

pub fn day(&self) -> DAY_R

Bits 8:12 - Day. Range [1,31] or [1,30] or [1,29] or [1,28]

Source

pub fn month(&self) -> MONTH_R

Bits 16:19 - Month. Range [1,12]

Source

pub fn year(&self) -> YEAR_R

Bits 20:31 - Year. Range [0,99]

Source§

impl R<u32, Reg<u32, _ALARM_TIME>>

Source

pub fn second(&self) -> SECOND_R

Bits 10:15 - Second. Range [0,59]

Source

pub fn minute(&self) -> MINUTE_R

Bits 16:21 - Minute. Range [0,59]

Source

pub fn hour(&self) -> HOUR_R

Bits 24:28 - Hour. Range [0,23]

Source§

impl R<u32, Reg<u32, _INITIAL_COUNT>>

Source

pub fn count(&self) -> COUNT_R

Bits 0:31 - RTC counter initial value

Source§

impl R<u32, Reg<u32, _CURRENT_COUNT>>

Source

pub fn count(&self) -> COUNT_R

Bits 0:31 - RTC counter current value

Source§

impl R<u32, Reg<u32, _INTERRUPT_CTRL>>

Source

pub fn tick_enable(&self) -> TICK_ENABLE_R

Bit 0 - TICK_ENABLE

Source

pub fn alarm_enable(&self) -> ALARM_ENABLE_R

Bit 1 - Alarm interrupt enable

Source

pub fn tick_int_mode(&self) -> TICK_INT_MODE_R

Bits 2:3 - Tick interrupt enable

Source

pub fn alarm_compare_mask(&self) -> ALARM_COMPARE_MASK_R

Bits 24:31 - Alarm compare mask for interrupt

Source§

impl R<u32, Reg<u32, _REGISTER_CTRL>>

Source

pub fn read_enable(&self) -> READ_ENABLE_R

Bit 0 - RTC timer read enable

Source

pub fn write_enable(&self) -> WRITE_ENABLE_R

Bit 1 - RTC timer write enable

Source

pub fn timer_mask(&self) -> TIMER_MASK_R

Bits 13:20 - RTC timer mask

Source

pub fn alarm_mask(&self) -> ALARM_MASK_R

Bits 21:28 - RTC alarm mask

Source

pub fn initial_count_mask(&self) -> INITIAL_COUNT_MASK_R

Bit 29 - RTC counter initial count value mask

Source

pub fn interrupt_register_mask(&self) -> INTERRUPT_REGISTER_MASK_R

Bit 30 - RTC interrupt register mask

Source§

impl R<bool, LEAP_YEAR_A>

Source

pub fn variant(&self) -> LEAP_YEAR_A

Get enumerated values variant

Source

pub fn is_not_leap(&self) -> bool

Checks if the value of the field is NOT_LEAP

Source

pub fn is_leap(&self) -> bool

Checks if the value of the field is LEAP

Source§

impl R<u32, Reg<u32, _EXTENDED>>

Source

pub fn century(&self) -> CENTURY_R

Bits 0:4 - Century. Range [0,31]

Source

pub fn leap_year(&self) -> LEAP_YEAR_R

Bit 5 - Is leap year. 1 is leap year, 0 is not leap year

Trait Implementations§

Source§

impl<U, T, FI> PartialEq<FI> for R<U, T>
where U: PartialEq, FI: Copy + Into<U>,

Source§

fn eq(&self, other: &FI) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

§

impl<U, T> Freeze for R<U, T>
where U: Freeze,

§

impl<U, T> RefUnwindSafe for R<U, T>

§

impl<U, T> Send for R<U, T>
where U: Send, T: Send,

§

impl<U, T> Sync for R<U, T>
where U: Sync, T: Sync,

§

impl<U, T> Unpin for R<U, T>
where U: Unpin, T: Unpin,

§

impl<U, T> UnwindSafe for R<U, T>
where U: UnwindSafe, T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.