[][src]Type Definition cc2538::aes::ctrl_options::W

type W = W<u32, CTRL_OPTIONS>;

Writer for register CTRL_OPTIONS

Methods

impl W[src]

pub fn type_(&mut self) -> TYPE_W[src]

Bits 24:31 - 31:24] This field is 0x01 for the TYPE1 device.

pub fn reserved7(&mut self) -> RESERVED7_W[src]

Bits 17:23 - 23:17] Bits should be ignored

pub fn ahbinterface(&mut self) -> AHBINTERFACE_W[src]

Bit 16 - 16:16] AHB interface is available If this bit is 0, the EIP-120t has a TCM interface.

pub fn reserved1(&mut self) -> RESERVED1_W[src]

Bits 9:15 - 15:9] Bits should be ignored

pub fn sha_256(&mut self) -> SHA_256_W[src]

Bit 8 - 8:8] The HASH core supports SHA-256.

pub fn aes_ccm(&mut self) -> AES_CCM_W[src]

Bit 7 - 7:7] AES-CCM is available as a single operation.

pub fn aes_gcm(&mut self) -> AES_GCM_W[src]

Bit 6 - 6:6] AES-GCM is available as a single operation.

pub fn aes_256(&mut self) -> AES_256_W[src]

Bit 5 - 5:5] AES core supports 256-bit keys Note: If both AES-128 and AES-256 are set to one, the AES core supports 192-bit keys as well.

pub fn aes_128(&mut self) -> AES_128_W[src]

Bit 4 - 4:4] AES core supports 128-bit keys.

pub fn reserved2(&mut self) -> RESERVED2_W[src]

Bit 3 - 3:3] Bit should be ignored

pub fn hash(&mut self) -> HASH_W[src]

Bit 2 - 2:2] HASH Core is available.

pub fn aes(&mut self) -> AES_W[src]

Bit 1 - 1:1] AES core is available.

pub fn keystore(&mut self) -> KEYSTORE_W[src]

Bit 0 - 0:0] KEY STORE is available.