[][src]Struct cc13x2_cc26x2_hal::aux_mac::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub op0s: OP0S, pub op0u: OP0U, pub op1smul: OP1SMUL, pub op1umul: OP1UMUL, pub op1smac: OP1SMAC, pub op1umac: OP1UMAC, pub op1sadd16: OP1SADD16, pub op1uadd16: OP1UADD16, pub op1sadd32: OP1SADD32, pub op1uadd32: OP1UADD32, pub clz: CLZ, pub cls: CLS, pub accshift: ACCSHIFT, pub accreset: ACCRESET, pub acc15_0: ACC15_0, pub acc16_1: ACC16_1, pub acc17_2: ACC17_2, pub acc18_3: ACC18_3, pub acc19_4: ACC19_4, pub acc20_5: ACC20_5, pub acc21_6: ACC21_6, pub acc22_7: ACC22_7, pub acc23_8: ACC23_8, pub acc24_9: ACC24_9, pub acc25_10: ACC25_10, pub acc26_11: ACC26_11, pub acc27_12: ACC27_12, pub acc28_13: ACC28_13, pub acc29_14: ACC29_14, pub acc30_15: ACC30_15, pub acc31_16: ACC31_16, pub acc32_17: ACC32_17, pub acc33_18: ACC33_18, pub acc34_19: ACC34_19, pub acc35_20: ACC35_20, pub acc36_21: ACC36_21, pub acc37_22: ACC37_22, pub acc38_23: ACC38_23, pub acc39_24: ACC39_24, pub acc39_32: ACC39_32, }

Register block

Fields

op0s: OP0S

0x00 - Signed Operand 0

op0u: OP0U

0x04 - Unsigned Operand 0

op1smul: OP1SMUL

0x08 - Signed Operand 1 and Multiply

op1umul: OP1UMUL

0x0c - Unsigned Operand 1 and Multiply

op1smac: OP1SMAC

0x10 - Signed Operand 1 and Multiply-Accumulate

op1umac: OP1UMAC

0x14 - Unsigned Operand 1 and Multiply-Accumulate

op1sadd16: OP1SADD16

0x18 - Signed Operand 1 and 16-bit Addition

op1uadd16: OP1UADD16

0x1c - Unsigned Operand 1 and 16-bit Addition

op1sadd32: OP1SADD32

0x20 - Signed Operand 1 and 32-bit Addition

op1uadd32: OP1UADD32

0x24 - Unsigned Operand 1 and 32-bit Addition

clz: CLZ

0x28 - Count Leading Zero

cls: CLS

0x2c - Count Leading Sign

accshift: ACCSHIFT

0x30 - Accumulator Shift Only one shift operation can be triggered per register write.

accreset: ACCRESET

0x34 - Accumulator Reset

acc15_0: ACC15_0

0x38 - Accumulator Bits 15:0

acc16_1: ACC16_1

0x3c - Accumulator Bits 16:1

acc17_2: ACC17_2

0x40 - Accumulator Bits 17:2

acc18_3: ACC18_3

0x44 - Accumulator Bits 18:3

acc19_4: ACC19_4

0x48 - Accumulator Bits 19:4

acc20_5: ACC20_5

0x4c - Accumulator Bits 20:5

acc21_6: ACC21_6

0x50 - Accumulator Bits 21:6

acc22_7: ACC22_7

0x54 - Accumulator Bits 22:7

acc23_8: ACC23_8

0x58 - Accumulator Bits 23:8

acc24_9: ACC24_9

0x5c - Accumulator Bits 24:9

acc25_10: ACC25_10

0x60 - Accumulator Bits 25:10

acc26_11: ACC26_11

0x64 - Accumulator Bits 26:11

acc27_12: ACC27_12

0x68 - Accumulator Bits 27:12

acc28_13: ACC28_13

0x6c - Accumulator Bits 28:13

acc29_14: ACC29_14

0x70 - Accumulator Bits 29:14

acc30_15: ACC30_15

0x74 - Accumulator Bits 30:15

acc31_16: ACC31_16

0x78 - Accumulator Bits 31:16

acc32_17: ACC32_17

0x7c - Accumulator Bits 32:17

acc33_18: ACC33_18

0x80 - Accumulator Bits 33:18

acc34_19: ACC34_19

0x84 - Accumulator Bits 34:19

acc35_20: ACC35_20

0x88 - Accumulator Bits 35:20

acc36_21: ACC36_21

0x8c - Accumulator Bits 36:21

acc37_22: ACC37_22

0x90 - Accumulator Bits 37:22

acc38_23: ACC38_23

0x94 - Accumulator Bits 38:23

acc39_24: ACC39_24

0x98 - Accumulator Bits 39:24

acc39_32: ACC39_32

0x9c - Accumulator Bits 39:32

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self