công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN3270 bảng dữ liệu(PDF) 18 Page - STMicroelectronics

tên linh kiện AN3270
Giải thích chi tiết về linh kiện  Using the STM8L16x AES hardware accelerator
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3270 bảng dữ liệu(HTML) 18 Page - STMicroelectronics

Back Button AN3270 Datasheet HTML 14Page - STMicroelectronics AN3270 Datasheet HTML 15Page - STMicroelectronics AN3270 Datasheet HTML 16Page - STMicroelectronics AN3270 Datasheet HTML 17Page - STMicroelectronics AN3270 Datasheet HTML 18Page - STMicroelectronics AN3270 Datasheet HTML 19Page - STMicroelectronics AN3270 Datasheet HTML 20Page - STMicroelectronics AN3270 Datasheet HTML 21Page - STMicroelectronics AN3270 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 23 page
background image
AES block processing
AN3270
18/23
Doc ID 17919 Rev 2
Figure 15. is a screenshot of block chaining mode selection.
Figure 15.
Chaining mode selection
The text received through the RS232 port is saved in a static buffer. The end of transmission
occurs when the maximum buffer size has been reached or the carriage return (enter key)
has been pressed.
The maximum buffer size is defined in main.h:
#define RX_BUFFER_SIZE
(uint16_t) 128
The following code listing (available in stm8l15x_it.c) shows how the end of transmission is
detected:
if ((RxCounter == RX_BUFFER_SIZE) || (RxBuffer[RxCounter-1] == 0x0D))
{
/* Disable the Read data register not empty interrupt */
USART_ITConfig(EVAL_COM1, USART_IT_RXNE, DISABLE);
/* Max buffer size had been reached or carriage return had been pressed */
TransferComplete = 1;
........
.......
If the received buffer size is not a multiple of 128-bit, it is padded with the pre-defined pad
character. it is defined in main.h
#define PAD_CHARACTER
(uint8_t)
0x00
The BufferInit() function (in main.c) is available for padding purposes. It checks the size of
the entered text and then pads it if necessary.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com