![GigaDevice Semiconductor GD32F20 Series User Manual Download Page 206](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f20-series/gd32f20-series_user-manual_2225801206.webp)
GD32F20x User Manual
206
prepare the key and initialization vectors. Then enable CAU by setting the CAUEN bit in
the CAU_CTL register
When data transfer is done by CPU access to CAU_DI and CAU_DO:
1. When the data transfer is done by CPU access, then wait for the fourth read of the
CAU_DO register and before the next CAU_DI write access so that the message is
suspended at the end of a block processing.
2. Disable the CAU by clearing the CAUEN bit in the CAU_CTL register.
3. Save the configuration, including the key size, data type, operation mode, direction and
the key values. When it is CBC or CTR chaining mode, the initialization vectors should
also be stored.
4. Configure and process the new data block.
5. Restore the process before. Configure the CAU with the parameters stored before, and
prepare the key and initialization vectors. Then enable CAU by setting the CAUEN bit in
the CAU_CTL register
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...