Cypress MB9BF568M Manual del usuario - Página 10

Navegue en línea o descargue pdf Manual del usuario para Microcontroladores Cypress MB9BF568M. Cypress MB9BF568M 12 páginas. Peripheral 32-bit microcontroller

en_result_t MfsCsioWrite16(uint16_t pu8TxBuf, uint8_t*
pu8RxBuf, uint16_t u16TransferSize, boolean_t
bCsHolding,uint8_t Dat)
en_result_t MfsCsioRead16(uint16_t pu8TxBuf, uint8_t*
pu8RxBuf, uint16_t u16TransferSize, boolean_t bCsHolding)
en_result_t Spi_WrOne(uint8_t WDat, boolean_t bCsHolding)
void Fram_EnLatch(void)
void Fram_ResetLatch(void)
void Fram_Write(uint16_t Addr,uint8_t Dat)
void Fram_Init(void)
uint8_t CalculatVal(uint8_t Dat, uint8_t Rang,uint8_t Stat)
void Key_Spi(void)
void Fram_Operation(void)
void TaskcreateSpi(void)
4.4

CAN

4 . 4 . 1
c a n . c
Drivers of CAN function, which detailed descripts available of CAN module.
4 . 4 . 2
M c a n . c
Use drivers in can.c to realize CAN send and CAN receive.
static void CanConfigGPIO()
static void CanConfigParameter()
boolean_t CanInitParameter()
void CanTransmitSample(void)
void CanReceiveSample(void)
void CanKeyLCDApp(void)
5

Reference Documents

1.
(SCH)SK-FM4-U120-9B560-v1.2.0.pdf
2.
(SCH)SK-FM4-U-PERIPHERAL-V2.0.0.pdf
3.
MB9B560R-DS709-00001.pdf
4.
ReadMe_SK-FM4-U120-9B560_v11.pdf
www.cypress.com
Table 5. SPI functions List
Functions
Functions
Document No. 002-04464 Rev. *B
SK_FM4_U_Peripheral 32-Bit Microcontroller FM4 Family User Manual
Description
Write 16bits data
Read 16bites data from FRAM
Write one byte to FRAM without ACK
Enable FRAM write
Reset FRAM latch
Initialize FRAM
Key value calculate and status value define
Do save and read operation
Realize SPI and display status
Description
Setting GPIO of CAN
Setting parameter of CAN
Initialize CAN parameter
Do CAN send operation
Do CAN receive operation
CAN operation and status display
Remark
Remark
9